This is an old revision of the document!
In order to implement the exercises, use the lab archive below, considering the simulator you have on your workstation. The files already have a Xilinx ISE / Vivado project that you are able to run; the checking will be performed visually during the lab practice. Follow the instructions and hints below and the zones marked with TODO in the corresponding files.
write
signal is high, write each register (A and B) with the proper inputs;execute
signal is high, the values from the input registers are extracted (read), execute the operation and save (write) the result in the corresponding registerdisplay
signal high, put the values at the output of the module (read the result)write-execute-display
i.e. if write
and execute
are 1 in the same time, the execute
signal is ignored and the module enters WRITE stagewe
and oe
; go again through lab2 exercises.op
and modify the scenario in order to exercise this new feature