Difference between revisions of "CSC270 Lab 5"

From dftwiki3
Jump to: navigation, search
(New page: Back to the weekly schedule <br />--~~~~ ---- __TOC__ <br /> <br /> =LAB #5: More Sequential Circuits= © D. Thiebaut, 2009 ==Part 1: Starting states, and Hard R...)
 
(Experiment)
Line 24: Line 24:
  
 
===Experiment===
 
===Experiment===
* Disconnect the clock inputs from the CLOCK signal, and connect them to GND.  This way your sequencer is frozen.
+
* Disconnect the clock inputs from the CLOCK signal, and connect them to GND.  This way your sequencer is frozen and will not change state.
 
* Cycle the power OFF/ON a few times and record what state the sequence starts in.  Compare with the sequencer of other people in the class.  Do the sequencer always start in the same state?  Why?
 
* Cycle the power OFF/ON a few times and record what state the sequence starts in.  Compare with the sequencer of other people in the class.  Do the sequencer always start in the same state?  Why?
  

Revision as of 08:45, 4 March 2009

Back to the weekly schedule
--D. Thiebaut 13:39, 4 March 2009 (UTC)




LAB #5: More Sequential Circuits

© D. Thiebaut, 2009

Part 1: Starting states, and Hard Reset

Setup

  • Implement the 2-bit/4-state sequencer with the following equations:
D1 = Q1 xor Q0
D0 = not Q1
  • Connect the CLR and PR to Vcc.
  • Connect Q0 and Q1 to LEDs
  • Verify that your circuit works when the 1Hz signal is connected to the CLOCK inputs.

Experiment

  • Disconnect the clock inputs from the CLOCK signal, and connect them to GND. This way your sequencer is frozen and will not change state.
  • Cycle the power OFF/ON a few times and record what state the sequence starts in. Compare with the sequencer of other people in the class. Do the sequencer always start in the same state? Why?

Hard Reset

  • You are going to connect some of the CLR and/or PR inputs of the flip-flop so that you can always force (reset) the sequencer to be in State 10 (Q1=1, Q0=0).
  • A single momentary switch should activate the CLR/PR inputs you selected.
  • Reconnect the clock inputs to the CLOCK signal.
  • Turn your sequencer ON and verify that you can always reset it by activating the momentary switch

Part 2: Controllable Sequencer