Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

The current processor has only one 8-bit external output interface which can be

ID: 2072817 • Letter: T

Question

The current processor has only one 8-bit external output interface which can be written to with the 'out' instruction. Microcontrollers tend to have much more bits on their output interfaces. Provide a detailed explanation and justification of how the UoS educational processor could be modified to have four 8-bit output ports instead of one.

In particular:

i) explain what should be changed in the encoding of the 'out' instruction to enable four output ports; provide the new instruction encoding and give examples of this encoding;

ii) explain what should be changed in the part dealing with the external interface in cpu.vhd to have 4 output ports which can be written to with the newly defined encoding of the 'out' instruction;

iii) explain what should be changed in the port declaration of the cpu entity in cpu.vhd.

Explanation / Answer

i) Declare port has four variables as pin numbers.

eg. Port A (a,b,c,d )

Out Port A

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote