Computer Architecture: Intro Lecture 8- The Control Path J. Schmalzel S. Mandayam
Control Path §Hard-wired control §Sequencer §Microprogramming (also may see “Microsequencer”)
Microprogrammed Control §A control unit w/ binary control values stored in microprogram memory §This memory is local to the CPU and is not main memory—where program instructions are stored
ROM (RAM) Table Lookup §Expensive—but highly reconfigurable— method to perform combinatorial decoding/encoding functions §Table lookup technique §FPGA CLB
Return to the FA §Full Adder FA A B Ci S Co
Full Adder Truth Table Ci A BS Co Sum-of-Product Boolean expressions for S and Co: S = Ci*A*B + Ci*AB* + CiA*B* + CiAB Co = Ci*AB + CiA*B + CiAB* + CiAB
FA Implementation using ROM Inputs are ROM ADDRESSES Outputs are ROM CONTENTS (DATA).... A m-1 A2 A1 A0 D n-1 D2 D1 D0
Example 16 x 4 ROM Add A2:Ci, A1:A, A0: B D3 (S)D2 (Co)D1D A B C D E F
Example 16 x 4 ROM Add A2:Ci, A1:A, A0: B D3 (S)D2 (Co)D1D0 000XX 110XX 210XX 301XX 410XX 501XX 601XX 711XX 800XX 910XX A10XX B01XX C10XX D01XX E01XX F11XX
Things to Watch for… §Unused bits §Don’t cares
Structure for P Control: NAGCARROMCDR
Questions, Comments, Discussion