Download Microprogramming Computer Organisation and more Summaries Computer Science in PDF only on Docsity!
» Characteristics: Unencoded Many bits Hardware view: Detail Difficult to program Concurrency: Fully exploit @ what is it? production of signals done by control unit Each control signal (control line) is on or off (binary) How it works @ a control word for each micro-operation have ‘Simplifies design of control unit Cheaper Less error-prone ‘Slower (than hardwired) Benefit (3) Hardwired control unit must contain complex logic whereas decoders and sequencing logic unit are simple pieces of logic Highly encoded Few bits Aggregated Easy to program Not fully exploit Little or no control logic Complex control logic Fast execution Optimise performance » Terminology: Unpacked Horizontal Hard Slow execution Optimise programming Packed Vertical Soft Degree of packing ==> more packed, bits contain more information, more encoding Horizontal vs Vertical relate to relative width of microinstructions vertical = 16 to 40 bits horizontal = 40 to 100 bits Hard vs Soft degree of closeness to control signals and hardware hard = fixed and committed to ROM soft = more changeable and user microprogrammable @ Structure roProgramming Microinstruction Taxonomy @ @ Design Consideration Use sequences of instructions to control complex operations a form of stored-program logic that substitutes for hardwired control circuitry micro-operations = microinstruction ‘Sequence of microinstruction = microprogram 1. CW = 1 Micro-op CW can be added Control word (CW) has an address field to specify the next micro-instruction, depending on conditions. width of word is determine by i) Maximum number of simultaneous micro-operations supported; i) The way control information is represented or encoded; il) The way in which the next micro-instruction address is specified Contains a large number of CONTROL WORD co-responding to the number of instructions to be executed ‘A memory is part of a control unit Control memory Control Memory : for storing microprogram (Microinstruction) Width can be much narrower Control signals encoded into function codes - need to be decoded Vertical J’ More complex, more complicated to program, less flexibility More difficult to modi Wide control memory word High degree of paralle! operations possible Little encoding of control information Types of microprogramming -—— Microinstruction address Jump condition NUnconditional NZero NOverflow Nindirect bit System bus control signals (a) Horizontal microinstruction Internal CPU control signals (b) Vertical microinstruction Microinstruction address Jump condition Function codes Control buffer register contents generates control signals (to the control lines) and next address information ‘Sequencing logic module -> generates address of next microinstruction (for the sequencing logic unit) using inputs from IR, ALU flags, Control Address Register and Control Buffer Register Control logic module generates control signals as function of some bits in microinstruction Instruction Register ALU Flags Sequencing Clock Logic Control Address Register Control Memory Control Buffer Register Control Logic vy Internal External Control Control Signals Signals Necessity of speed Size of mioroinstructions Two address fields Address generation ( Read this) Single address field Variable format Control Address Register » Specify the address of the microinstruction