GithubHelp home page GithubHelp logo

cs303-term-project-egg-timer-verilog-in-xilinx's Introduction

CS303-Term-Project-Egg-Timer-Verilog-in-XILINX-

In this project, the aim is to design an egg timer with a down counter and controller. The down counter has the inputs clock, reset, load and count. The user will give the input to the down counter to enable the counter to count down from the given input. When the reset button is pressed, it is expected to see the preset value on display, which is the value given to the counter initially by the user. The down counter might go up to 99:59.

In downcounter.v, we have designed a counter counting down like a clock, for instance when the value is 90.00 it downs to 89.59 just as a clock. It first decrements the ones digit of the seconds until it reaches 0, and then it loads the ones digit of the seconds with 9, after it decreases the tens digit of the seconds until it reaches 0. When the tens digits of the seconds reaches 0, the down counter starts to decrement the ones digit of minutes while loading tens digit of seconds with 5 and ones digit of seconds with 9. Finally when the ones digit of the minutes reaches 0, the down counter starts to decrement the tens digit of the minutes while loading tens digit of seconds with 5 and ones digit of seconds with 9, again.

In controller.v file, we have created a register called counterdown and assigned the start output to counterdown. When we start the circuit and press the preset button, the number we set in the simple DIP switch allows us to see the seven segment on the display. Also, we have made it stop when the counter is 00.00.

cs303-term-project-egg-timer-verilog-in-xilinx's People

Contributors

senihberkay avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.