Hardwired Control Unit
Hardwired Control Unit
Uses fixed logic circuits . Interprets instructions and generates control signals. Design methods: 1. Classical method
log 2P flip-flops used for P states. 2. One-hot method P flip-flops used for P states.
Output values depend on combination of input and the current state of the machine.
Example:GCD Processor
gcd(X,Y):It computes largest integer that divides both X and Y.
Steps: 1. Construct P-row state table 2. Select min number p of D-type flipflop and assign p-bit binary code to each state. 3. Design combinational logic circuit C that generates the primary output signal {Zi} and secondary outputs {Di} .
Drawbacks of classical method: Hard to change the behavior Random structure Application specific One hot method gives regular and predictable circuit C. State is defined by hot bit in state variable. Si = b0b1b2 bi bn; bi is to be set to 1 and all other bits are set to 0.
D1,D2, ,Di-1,Di,Di+1, Dp = 0,0,..0,1,0,..0 3. Design a combinational circuit C that generates the primary and secondary output signals {Di} and {Zk} resp.