Add instruction memory
This commit is contained in:
parent
b3412a9706
commit
d5bb6da13c
|
@ -49,6 +49,8 @@
|
||||||
$next_pc[31:0] = $reset ? 0 : ($pc + 4);
|
$next_pc[31:0] = $reset ? 0 : ($pc + 4);
|
||||||
|
|
||||||
$pc[31:0] = >>1$next_pc;
|
$pc[31:0] = >>1$next_pc;
|
||||||
|
|
||||||
|
`READONLY_MEM($pc, $$instr[31:0]);
|
||||||
|
|
||||||
|
|
||||||
// Assert these to end simulation (before Makerchip cycle limit).
|
// Assert these to end simulation (before Makerchip cycle limit).
|
||||||
|
|
Loading…
Reference in New Issue