Question: For each question below, notate the block diagram with hexadecimal input values (or clock edge direction) required to execute the instruction (all values are in

For each question below, notate the block diagram with hexadecimal input values (or clock edge direction) required to execute the instruction (all values are in hex). Use Dont Cares (b) when appropriate. The ALU has the following functions: For example: to execute the instruction ADD R03, R6A, RAD we first describe the operation in RTL as R03R6A+RAD. We see the operation is ADD. From the table above we learn the ALU function code for ADD is 0 hex. The ALU function code must drive the ALUs function input bus (Func) with the hex value 0. The destination is R03, so the destination selection bus (In_sel) must be driven with the hex value 03. Similarly, the two sources of data are R6A and RAD, so the two source select buses (A_sel and B_sel) must be driven with the hex values 6A and AD. Since ADD is commutative we dont have to worry about which source value drives which ALU input. Let us therefore drive the A_sel bus with the hex value 6A and the B_sel bus with AD. We can tell from the diagram the register file is rising edge triggered, so the clock signal (C) must be driven by a rising edge (). Lastly, the ALU is performing the ADD function, which does not involve the shifting of data, so the ALUs shift input bus (Shift) will not be used. If its not used, we dont care what values are on it:

For each question below, notate the block diagram with hexadecimal input values

(or clock edge direction) required to execute the instruction (all values are

a) AND R1C, R1C, R1C Shift 6A7A_sel ADHB_sel 03A In_sel Func ALUR 128 x 32 Register File 32 In b) NOT RO7, RO7 A 11 A _sel Shift B_sel In_sel 128 x 32 Register File M B c) SRL R22, R22, 11 A_sel Shift A B _sel Func In sel > ALUR 128 x 32 Register File Ain d) SUB RFF, R12, RO5 E A _sel A B sel Shift Func ALUR In sel 128 x 32 Register File In a) AND R1C, R1C, R1C Shift 6A7A_sel ADHB_sel 03A In_sel Func ALUR 128 x 32 Register File 32 In b) NOT RO7, RO7 A 11 A _sel Shift B_sel In_sel 128 x 32 Register File M B c) SRL R22, R22, 11 A_sel Shift A B _sel Func In sel > ALUR 128 x 32 Register File Ain d) SUB RFF, R12, RO5 E A _sel A B sel Shift Func ALUR In sel 128 x 32 Register File In

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!