mirror of
https://github.com/supleed2/ELEC50010-IAC-CW.git
synced 2024-11-10 01:35:49 +00:00
Update mips_cpu_harvard.v
Add registerv0 testbench line
This commit is contained in:
parent
786dac9bd1
commit
5a72698fec
|
@ -81,7 +81,8 @@ regfile regfile(
|
||||||
.writedata(writeback),
|
.writedata(writeback),
|
||||||
.regwrite(RegWrite),
|
.regwrite(RegWrite),
|
||||||
.readdata1(read_data1),
|
.readdata1(read_data1),
|
||||||
.readdata2(read_data2)
|
.readdata2(read_data2),
|
||||||
|
.regv0(register_v0) //debug output of $v0 or $2 (first register for returning function results
|
||||||
);
|
);
|
||||||
|
|
||||||
alucontrol alucontrol(
|
alucontrol alucontrol(
|
||||||
|
|
Loading…
Reference in a new issue