Docsity

Making Reset Circuitry, Clock - Computer Architecture - Lab Manual, Lecture notes of Advanced Computer Architecture

Toggle sidebar
bg1
Lab-1
1-MAKING RESET CIRCUITRY & CLOCK
The purpose of this lab is to build a circuit that is part of the Control Unit of SAP-1 computer and which
generates the Clear (CLR) and Clock (CLK) signals.
Components Required
• Quad Two-Input NAND Gate, 74LS00---------(3)
• Quad Three-Input NAND Gate, 74LS10-------(1)
• Hex Inverter, 74LS04--------------------------(1)
• 555 Timer---------------------------------------(1)
• Dual J-K Flip Flop-------------------------------(1)
• Push-button Switches--------------------------(2)
• Connecting Wires
Clock Circuit
The clock circuit shown in the circuit diagram consists of mainly a 555 Timer and a J-K flip flop. 555
Timer produces a 2-kHz clock signal with a 75 % duty cycle at its output, and a J-K flip-flop that
divides the signal down to 1-kHz also produces a 50% duty cycle.
Inverters are used as Clock Buffers and they produce two clock signals, one clock (CLK ) and other
inverted clock (
CLK
) signal. These are used here so that the clock signal being generated will able to
drive low-power Schottky TTL loads. Clear-Start Debouncer produces two outputs, clear ( ) for the
Instruction Register and the inverted clear (
CLR
CLR
) for the Program Counter and Ring Counter. S5 is a
push button switch. When pressed, it goes to the CLEAR position, and produces a high (CLR ) and low
(
CLR
) at its outputs. When S5 is released, it returns to the START position and produces a low ( CLR )
and high (
CLR
).
SAP-1 runs in either of two modes, MANUAL or AUTOMATIC. In MANUAL you press and release S6 to
generate one clock pulse. When S6 is pressed, clock (CLK ) is high; when released (CLK ) is low. In
other words, the single-step Debouncer generates T states one at a time as you press and release the
button. This allows you to step through the different T states while troubleshooting or debugging.
Switch S7 is a single-pole, double-throw (SPDT) switch that can remain either on the MANUAL or the
AUTO position. When on MANUAL, the single-step Button is active. When it is on AUTO position, the
computer runs automatically. Two NAND gates are used to debounce the MANUAL-AUTO switch.
Docsity.com
pf2

Partial preview of the text

Download Making Reset Circuitry, Clock - Computer Architecture - Lab Manual and more Lecture notes Advanced Computer Architecture in PDF only on Docsity!

Lab-

1-MAKING RESET CIRCUITRY & CLOCK

The purpose of this lab is to build a circuit that is part of the Control Unit of SAP-1 computer and which generates the Clear (CLR) and Clock (CLK) signals.

Components Required

  • Quad Two-Input NAND Gate, 74LS00---------(3)
  • Quad Three-Input NAND Gate, 74LS10-------(1)
  • Hex Inverter, 74LS04--------------------------(1)
  • 555 Timer---------------------------------------(1)
  • Dual J-K Flip Flop-------------------------------(1)
  • Push-button Switches--------------------------(2)
  • Connecting Wires

Clock Circuit The clock circuit shown in the circuit diagram consists of mainly a 555 Timer and a J-K flip flop. 555 Timer produces a 2-kHz clock signal with a 75 % duty cycle at its output, and a J-K flip-flop that divides the signal down to 1-kHz also produces a 50% duty cycle.

Inverters are used as Clock Buffers and they produce two clock signals, one clock ( CLK ) and other

inverted clock ( CLK ) signal. These are used here so that the clock signal being generated will able to

drive low-power Schottky TTL loads. Clear-Start Debouncer produces two outputs, clear ( ) for the

Instruction Register and the inverted clear (

CLR

CLR ) for the Program Counter and Ring Counter. S5 is a

push button switch. When pressed, it goes to the CLEAR position, and produces a high ( CLR ) and low

( CLR ) at its outputs. When S5 is released, it returns to the START position and produces a low ( CLR )

and high ( (^) CLR ). SAP-1 runs in either of two modes, MANUAL or AUTOMATIC. In MANUAL you press and release S6 to

generate one clock pulse. When S6 is pressed, clock ( CLK ) is high; when released ( CLK ) is low. In

other words, the single-step Debouncer generates T states one at a time as you press and release the button. This allows you to step through the different T states while troubleshooting or debugging. Switch S7 is a single-pole, double-throw (SPDT) switch that can remain either on the MANUAL or the AUTO position. When on MANUAL, the single-step Button is active. When it is on AUTO position, the computer runs automatically. Two NAND gates are used to debounce the MANUAL-AUTO switch.

Docsity.com

Lab-

Procedure Connect the circuit as shown in the circuit diagram. Check the signals with the oscilloscope and get your work verified by your lab instructor. You will be graded for this lab on the output and functionality of your circuit. For connections, refer to the pin configurations of the ICs.

Fig-1 Clock Circuit

Docsity.com