Ee 205 preliminary 6

Page 1

YILDIRIM BEYAZIT UNIVERSITY EE 205 – DIGITAL DESIGN PRELIMINARY EXERCISE FOR LAB 6 FLIP-FLOP & COUNTER & CLOCK DIVIDER Background Knowledge: Introduction: A flip-flop is an edge-triggered memory circuit. We can implement a flip-flop behaviorally using Verilog, and use a bunch of flip-flops to implement a clock divider that blinks a number of LEDs. Also a clock divider’s frequency can be more precisely calculated by using different designs. A lot of interesting things can be built by combining arithmetic circuits and sequential elements. We can provide arithmetic circuits with timing references by integrating arithmetic circuits with flip-flops. An adder with a register file (an array of flip-flops) can be used to implement a counter that increases the number by 1 when the rising edge of the clock arrives.

D Flip-Flop (D-FF): A D flip-flop (D-FF) is one of the most fundamental memory devices. A D-FF typically has three inputs: a data input that defines the next state, a timing control input that tells the flip-flop exactly when to “memorize” the data input, and a reset input that can cause the memory to be reset to '0' regardless of the other two inputs (usually referred as asynchronous reset). Figure 1 below displays the block diagram for a D-FF.

Figure 1. D-FF block diagram

1


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.
Ee 205 preliminary 6 by Yvan Ngassa - Issuu