

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Februar 25, 2009 page 1 S. Derenzo
1.1 Edge-triggered D-type flip-flop: one digital data input one digital clock input one digital data output the output is set equal to the input on every rising edge of the clock 1.2 Transparent latch: one digital data input one digital gate input one digital data output the output is equal to the input when the gate signal is high the output does not change when the gate signal is low 1.3 Sample and hold amplifier one analog data input one digital control input one analog data output the output is equal to the input when the control is set to sample mode the output does not change when the control is set to hold mode 1.4 Tri-state buffer one digital data input one digital āoutput enableā input one digital data output the output is equal to the input when the āoutput enableā signal is low the output is high impedance when the āoutput enableā signal is high 1.5 A/D converter (12 bit) one digital āstart conversionā input one analog input one digital ādata availableā output one 12-bit digital output Note: Vref+^ and Vrefā^ are also needed, but no points were deducted if these were omitted 2 Error 1: clock input is pulsed in step 2 before input is asserted. Fix by asserting the input before providing the clock edge (reverse second part of step 2 and first part of step 3) Error 2: the external circuit never resets āinput data availableā to FALSE so that step 4 is executed and the program reads the flip-flops over and over again, without regard for when the external circuit asserts and clocks new data. Fix by adding a step 6 so that the external circuit sets āinput data availableā FALSE when it detects āready for input dataā FALSE [3 points off for only reversing steps 2 and 3- this sets āinput data availableā before the flip- flops are clocked and could cause the program to read data too soon] [10 points off for missing either error]
Februar 25, 2009 page 2 S. Derenzo
Micro- computer Display screen Digital input Digital output Crash alarm speaker Ultrasonic ranging system Obstacle Trigger Output
ti i = 1 100
Ļ (^) t^2 =
i = 1 100