Question

In: Electrical Engineering

We want to design a simple "four clock pulse" timer circuit. In addition to the clock...

We want to design a simple "four clock pulse" timer circuit. In addition to the clock input, the timer has a "Restart" input (R), three "data" outputs (ABC) which indicate the count, and one "beeper" output (D). The behavior of the circuit is as follows:

Idle Mode The timer output is ABC=100 and the beeper is off (D=0) as long as R=0. If R=1 on any clock edge in this mode, the timer goes into the...


Restart/Hold Mode The timer output is ABC=000 and the beeper is off (D=0) as long as R=1. If R=0 on any clock edge in this mode, the timer goes into the...


Counting Mode Provided that the counter is not restarted (i.e. provided that R=0), the timer goes through the sequence of data and beeper outputs shown below (one full clock pulse each) and then returns to the Idle mode. If R=1 on any clock edge in this mode, the timer goes into the Restart/Hold mode.

A B C D
0 0 0 0
0 0 1 0
0 1 0 0
0 1 1 0
1 0 0

1

Use D-flops, AND gates, OR gates, and inverters to design a Moore machine that performs this function. No more than 3 D-type flip-flops should be used. Carry out your solution as follows:

(a) How many states does this timer have? Make a list of these states, giving each a label and a verbal description. How many bits are required to specify all states? Name the state bits and assign values to each for every state.

(b) Construct a complete state table for this machine, including all inputs, outputs, and states. Include any don't-care conditions.

(c) Construct a state diagram for this machine.

(d) How many signals must be generated by combinational logic for this machine? What are they? Use Karnaugh maps to obtain minimized Boolean expressions for these signals.

(e) Draw a complete circuit diagram for your state machine, showing all inputs and outputs, flip-flops, combinational circuits, and interconnects.

Solutions

Expert Solution


Related Solutions

This is a atmega128 source to make a clock using the timer interrupt. I want to...
This is a atmega128 source to make a clock using the timer interrupt. I want to add source if i press switch (PIND==0x0FE&&PIND==0x0FD) then below program would be running . #include<io.h> int position=0,BJT[4]={0xFE,0xFD,0xFB,0xF7}; int number=0,segment[10]={0xC0,0xF9,0xA4,0xB0,0x99,0x92,0x82,0xF8,0x80,0x90}; int msec=0, sec=0, min=0; void main() { DDRA=0xFF; PORTA=0XFF; DDRB=0xFF; PORTB=0xFF; TCCR0=0x04; TIMSK=0x01; SREG=0x80; while(1){} } interrupt[TIM0_OVF]void timer0_ovf_isr() { TCNT0=0x06; PORTA=BJT[position]; if(position==0)number=sec%10; if(position==1)number=sec/10; if(position==2)number=min%10; if(postion==3)number=min/10; PORTB=segment[number]; position++; if(position>3)position=0; msec++; if(msec==1000) { msec=0; sec++; } if(sec==60) { sec=0; min++; } if(min==60)min=0; }
1. Design a clock generator using a 555 timer with a frequency of 1 Hz (any...
1. Design a clock generator using a 555 timer with a frequency of 1 Hz (any duty cycle is OK). Use resistor values between 1k and 1M and use capacitor values available in lab (see table in “Pinouts.doc available on course Canvas site). Show your calculations for RA, RB, and C. Clearly show all formulas and calculations and state when you are arbitrarily picking a value. (DONE) 2. Select the nearest standard 5% resistor values to the values for RA...
Design and simulate and fabrication a monostable multivibrators using 555 timer to produce a pulse width...
Design and simulate and fabrication a monostable multivibrators using 555 timer to produce a pulse width of 1 sec Calculate the freqency
1. You want to design a pendulum for a grandfather clock so that it has a...
1. You want to design a pendulum for a grandfather clock so that it has a period of 2.00 seconds (so that one “tick” plus one “tock” occur during one complete period). The pendulum has a heavy 8.00-kg bob. (Throughout this problem, assume an ideal simple pendulum: the pendulum’s arm has negligible mass, the bob can be approximated as a point-mass, the initial angle of displacement is small, and there is negligible friction.) a.) If you want the clock to...
Design a synchronous sequential logic circuit with input X (that has been synchronized to the clock)...
Design a synchronous sequential logic circuit with input X (that has been synchronized to the clock) and output Y. Every second high-to-low transition of X results in a one clock period long pulse on Y immediately after the transition. Otherwise, Y is 0. Draw a timing diagram (showing input, output and state variables) for an appropriate sequence on input X
We want to improve program performance by %5, we can increase clock rate but doing so...
We want to improve program performance by %5, we can increase clock rate but doing so will require 1.25 times as many clock cycles. Calculate the new clock rate? Calculate what the new clock rate needs to be to accomplish this performance improvement. Current CPU Time is 18.8 and clock rate is 3.5 GHz. CPI = 1.4 and Instruction count = 47 My answer is: New Clock Cycles = 0.357 New Clock Rate = 17.86/47*1.4 = 0.2712 Is my answer...
In a circuit we have a source with 75 W impedance that we want to connect...
In a circuit we have a source with 75 W impedance that we want to connect to a 300 W load with a transmission line with characteristic impedance of 75 W. To achieve maximum power transfer an inductor will be connected in series to the source. a. Use the Smith Chart on the next page to get the minimum length of the line in wavelengths and the inductor reactance value. Write down the values here. b. Use the input impedance...
Design a circuit using Op amp that will combine four voltages according to the following ratio....
Design a circuit using Op amp that will combine four voltages according to the following ratio. You can only use invertor amplifier . All input voltages are positive and you cannot tamper with the sources Vo = 4V1 - V2 - 8V3 - 2V4
Design the format of the packet with which we want to transmit the current time with...
Design the format of the packet with which we want to transmit the current time with an accuracy of milliseconds. Are there more ways to design such a format?
Design a combinational circuit that implements a Binary-to-Grey Code converter. Your input should be a four-bit...
Design a combinational circuit that implements a Binary-to-Grey Code converter. Your input should be a four-bit binary number, and your output should be the equivalent four-bit Grey Code value. First, design the circuit using NAND gates only. Next, design the circuit using a minimal number of 2-input XOR gates.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT