1. Period = 1/4 MHz =1/(4 x 106) = 250ns
2. Decade Counter have 10 states (i.e. 0 - 9). Hence 10 clock ticks count through the pattern once. Total time taken will be 10 times of clock period. 10 x 250ns = 2.5 microseconds
3. Total number of clock periods in 1 s = 1s/1 clock period
= 1s / 250ns = 4000000 = 4x106 clock periods
4. As shown in above solution, 4000000 ticks of clock needed to have 1 second delay. (4000000)10 = (1111010000100100000000)2. Hence for 22 bit number , 22 flip flops will be required
Name: Section Number: Lab by jeg/modified by jec 4450:220 DIGITAL LOGIC DESIGN, Spring 2018 Pre-Lab 7:...
Digital Logic Design Design a 0-9 counter using four D flip flops. The counter should run on the SCLK output of the clock divider. It should have a four-bit binary output that increments from 0 to 9 one step on each clock cycle. When it reaches the value of 9, it should restart a 0 on the next clock cycle. Hint: consider using D flip flops with a reset input and using logic to reset the flip flops when the...
logic circuit
1. (10) Which of the following describes the operation of a positive edge-triggered D flip-lop? A. If both inputs are HIGH, the output will toggle. B. The output will follow the input on the leading edge of the clock. C. when both inputs are LOW, an invalid state exists. D. The input is toggled into the flip-flop on the leading edge of the clock and is passed to the output on the trailing edge of the clock. Answer...
solve 1 2 and 3
Problems 1 and 2 require a 7-segment display. You may want to re-use the display driver you developed in Lab 3. Use a push-button as the clock - the pushbuttons are debounced, whereas the slide switches are not. Remember to provide columnsfor lest data in your state lables (use the observed next state as the test data in problems I and 2, and the observed next state and preseni output as the lest data in...
7. JK flip-flops are often used to build counters. The JK flip-flop will toggle the original output value when triggered by the clock signal if both the J.K inputs are connected with a constant "high"(logic 1). Suppose all the JK flip-flops in following Figure are positive edge triggered. The edges of the CLOCK are marked out in the figure. All the Qs have initial value 0. HIGH IFE CLOCK-HCL LK 000 0 0 0 Figure. Counter (a) Sketch the output...
A. Design a circuit using D flip-flops that will generate the
sequence 0, 0, 1, 0, 1, 1 and repeat. Do this by designing a
counter for any sequence of states such that the first flip-flop
takes on this sequence. There are many correct answers, but do not
duplicate states, because each state can have only one next
state.
B. A pulse-generating circuit generates eight repetitive pulses
as shown in the figure. Implement the pulse-generating circuit
using a binary counter...
(a) Design an asynchronous Binary Coded Decimal (BCD) count-up counter using JK flip-flops. Draw the counter circuit clearly showing the configuration of the JK flip-flops and the necessary logic gate(s). Sketch the input and output waveforms of this counter (7 Marks) (b) The binary up/down counter for a cargo lift controller in a 7-storey building has an up-down (UID) control input and a buzzer output (B). The buzzer will sound B 1) when the lift is at level 1 or...
Q1. Sequence Generator with flip-flop, counters 1. Use the minimum number of D flip-flops and logic gates to design a counter that produces the following repeated sequence: “0,1,3,5,6,7,0...” and gives an output of 1 when it reaches 7. (a) Show the state-table of the counter. (b) Show and simplify the K-Map for each flip-flop. (c) Implement the circuit derived in (b).
a) (5 marks) Explain the difference between a latch, a gated latch and a flip flop. b) (5 marks) A gated SR latch has the following schematic diagram CLK a) Draw a timing diagram showing the Q and Q outputs for the following sequence of inputs: CLK R Assume that the initial state of the outputs is Q 0 and Q 1 c) (5 marks) Draw a schematic diagram for a rising edge-triggered master-slave D flip- flop built using two...
Design a data processor, which keeps counting under given conditions. You will use an Algorithmic State Machine (ASM) chart, which will define its digital hardware algorithm. Design a digital system with two flip-flops, E and F, and one 4-bit binary counter, A. The individual flip-flops in A are denoted by A4, A3, A2, and A1, with A4 holding the MSB of the count. A start signal S initiates the system operation by clearing the counter A and flip-flop F. The...
Pre-Laboratorv Exercise: You are to design a state machine capable of controlling a 4-phase unipolar stepper motor. This motor operates by energizing one (or more) of four coils of wire at a time to rotate a magnetized shaft to predetermined positions. Let us call the four coils A, B, C, and D. To make the motor rotate properly, the coils need to be turned on (driven at logic "1") and off (driven at logic "O") in the following sequence: ABCD-...