Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1 ) ( 2 0 points ) Design a minimized state diagram for a sequential circuit of a vending machine controller. One product, a $
points Design a minimized state diagram for a sequential circuit of a vending machine controller. One product, a $ bottle of water output W The vending machine takes only quarters input Q and dimes input D but refunds nickels output C No other IO signals, and it uses only a single register R for memory Show the complete state diagram and state transition table. pointsInstruction Mix and CPI Assume that for a given program, of the executed instructions are ALU, are loadstore and are branch. a Given this instruction mix and the assumption that an ALU instruction requires cycles, a loadstore instruction takes cycles, and a branch instruction takes cycles, find the effective CPI. b For a improvement in performance, how many cycles, on average, may an ALU instruction take if loadstore and branch instructions are not improved at all? pointsISA Design Assume that we would like to expand the MIPS register file to registers and expand the instruction set to contain four times as many instructions. a How would this affect the size of each bit field in the ALU Rtype instructions? b How would this affect the size of each bit field in the Memory Itype instructions? pointsControl Range Suppose the program counter PC is set to x a What range of addresses can be reached using the MIPS jumpandlink jal instruction? b How does that change if you increase the number of registers to c What range of addresses can be reached using the MIPS branch if equal beq instruction? d How does that change if you decrease the number of registers to
points Design a minimized state diagram for a sequential circuit of a vending machine
controller. One product, a $ bottle of water output W The vending machine takes only
quarters input Q and dimes input D but refunds nickels output C No other IO signals,
and it uses only a single register R for memory Show the complete state diagram and
state transition table.
pointsInstruction Mix and CPI Assume that for a given program, of the executed
instructions are ALU, are loadstore and are branch.
a Given this instruction mix and the assumption that an ALU instruction requires cycles,
a loadstore instruction takes cycles, and a branch instruction takes cycles, find the
effective CPI.
b For a improvement in performance, how many cycles, on average, may an ALU
instruction take if loadstore and branch instructions are not improved at all?
pointsISA Design Assume that we would like to expand the MIPS register file to
registers and expand the instruction set to contain four times as many instructions.
a How would this affect the size of each bit field in the ALU Rtype instructions?
b How would this affect the size of each bit field in the Memory Itype instructions?
pointsControl Range Suppose the program counter PC is set to x
a What range of addresses can be reached using the MIPS jumpandlink jal instruction?
b How does that change if you increase the number of registers to
c What range of addresses can be reached using the MIPS branch if equal beq
instruction?
d How does that change if you decrease the number of registers to
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started