Professional Documents
Culture Documents
Hardwired Controler Brief
Hardwired Controler Brief
Hardwired Controler Brief
Hardware components-
Memory (4096*16bit)
MDR,AC -16bit
MAR, PC -12bit
(PC with (E,L,I,C), MAR with (E,L,I,C), and MDR with(E,L,I) signals)
Input output registers- INP, OUP - 8bit
ALU works with AC(E,L) only and carry is stored in flag E
Interrupt flag R (R sets When IE is set and any or both of FGI/FGO set)(when processor s interrupted , interrupt cycle reset R)
Interrupt Enable Flip flop is IE (set / reset by instruction ION / IOF)
Input and Output operation also set/reset flags FGI and FGO
(FGI set when external device write data in INP register. When INP is read by processor FGI resets )
(FGO is reset by processor when new data is written in OUP. Set by external device when it reads OUP)
A sequence Counter(SC) generates 8 clocks (SC is reset by instruction after its completion. Disable signal to Clock is controlled by instruction HLT.
Clock is enabled from external switch)
3-bits of opcode selects one of the 7 mri instruction(opcode bits- 000 to 110) or non mri instructions(111)
I in case of mri , identifies direct(I=0) or indirect (I=1) instructions
in case of non-mri instructions register ref. (I=0) or I/O ref.(I=1) instructions
12-bit , in mri refers address, in case of non-mri it identifies one of register or I/O instruction
Logical circuit for Control signals using logic gates (OR gate , AND gate) with decoded bits of MDR and output of sequence counter as input
example for PC- has four control signals – enable(read), load(write),increment and clear with sequence counter and decoded bits of the MDR
PC(E) – T0+D5T5
PC(L) - D4T5+D5T7
PC(I)- RT1+RT3+D6T7(MDR)+D7IT3b4(A15)+D7IT3b3(A15)+D7IT3b2(AC)+D7IT3b1(E)+D7IT3b9(FGI)+D7IT3b8(FGO)
PC(C) - RT2
MAR- has four control signals – enable(read), load(write),increment, clear and sequence counter
MDR- has three control signals – enable(read), load(write),increment, and sequence counter
AC -
Complete schematic diagram showing all hardware components ,and logic circuit to generate control signals -