Download B441 Laboratory Experiments - Computer Science

Transcript
Lab 9
B441 LABORATORY MANUAL page 58
D
D
D
D
D
MEM (SW 0)
SWR (SW 2)
IN (SW 4)
IR
MB
MA
AC
PC
Q
IR (LED 64)
Q
MB (LED 32)
Q
MA (LED 16)
Q
AC (LED 80)
Q
PC (LED 48)
DATA PATH LOGIC
CTL0 (SW12)
CTL1 (SW13)
CTL2 (SW14)
CTL3 (SW15)
Figure 1. PDP-8 data path architecture
In this design, you must manually arrange that CTL0 and CTL1 never become true at the same
time, as this would cause conflicting data to be loaded into AC, MA and IR.
Implement your bit slice in the lower XC3020A and test it to verify that it will perform the
required operations.
Experiment 2: Encoded control.
To make sure we never have both CTL0 and CTL1 true at the same time we could use encoded
control. For example, redefine the control signals in Experiment 1 so that the two-bit code
Copyright ©2000 Indiana University Computer Science Department