Question: 1. (12 marks) In this assignment you will design the top level instruction classifier, which is central to the instruction decoder in a MIPS proc
1. (12 marks) In this assignment you will design the top level instruction classifier, which is central to the instruction decoder in a MIPS proc A MIPS instruction has 6 bit "Opcode field which determines what it is supposed to do. Table 1, which is an extract from the MIPS instruction set gives a suyo MIPS opcodes OpcodeType/Function R BJ B IFM type instruction 1 0 00 0 0 0 000001 Branch less than zcro 0 1 0 0 0 0 0 00001xJump instructions00 1 00 00 0001xxBrah instructions0 0000 0 001xxx Immediate operands 0 0 0 0 10 01xxxxF-type instructions 0 0 0 0 01 0 xxxxxMemry access 0 0 0 0 00 1 Table 1: MIPS instruction classification based on opcodes The instruction classifier takes the opcode as input and asserts only one of the 5 output lines R, B, J, Ba, I, F and M as shown in Table 1 Design the instruction classifier as per Table 1 .Design an appropriate main module to test the circuit on DE2 board. 01 11 | A Sh (right shift A by Sh | ASh (right arithmetic shift A by Sh) Table 2: Truth table for MIPS shift hardware. Note that the instruction classifier cireuit can be used to simplify the instruction decoder where the outputs of the instruction classifier are used to activate various submodules in the procossor as necessary Marking Criteria: The mark is calculated according to the forinula f *e81 + 8. The value of f depends on the extent to which your circuit is able to meet the specifications. If it satisfiesl the requirements, then f-1. If it meets a subeet of the specifications then f
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
