Assignment 5, due Feb 21
Part of
the homework for 22C:122/55:132, Spring 2003
|
Always, on every assignment, please write your name legibly as it appears on your University ID and on the class list!
______________________________ | | | | ______________ | _|_ /|__ 0 | | microprogram | | / \___| |__ conditions tested in | | ROM | _|_ /_0_1_\ | |__ data part of system |____|addr | |+1 | | | \| | | |___| | | | |______________| | | | | ______|_______ ___|___ | | | clock ---|>_____________|__µpc__| | | | | | | |_____| | | | | |______________| | | |_______________________| control signals to |__________________________________ data part of systemThis leads to the following microcode format, if we assume minimal changes from the material presented in the Minimal CISC paper:
uaddr || clocks |bus | function | test | branch addr ------++--------+----+-------------+------+------------- || IAPTSM | AM | I A P S M | | || RCCCPW | CR | R C C P A | | || CCC CR | WE | F F F F D | | ------++--------+----+-------------+------+-------------Assume the test field is encoded as:
000 no branch 001 TLZ 1 if t<0 010 INZ 1 if tr!=0 011 IR0 test bit 0 of ir (least significant bit) 100 IR1 test bit 1 of ir 101 IR2 test bit 2 of ir 110 unused 111 always branchFinish the microcode for the machine, in the style of the last table in the Minimal CISC paper.
____ ___ ____ ___ _ _ ____ ___ ____ ____________ ____________ state: |____|___|____|___|_ _|____|___|____|____________|____________| Xmux Xck Ymux Yck ... Wmux Wck test A B next statesThe words were "essentially a Moore machine". What would a pure Moore-machine-based microcode based on this idea look like? Give the micro-instruction word format that results.
Under what systems of microprogram execution (given in lecture 13) would you expect this approach to eliminating the stack-state register to lead to performance improvements?