Update risc-v_shell.tlv
This commit is contained in:
parent
cd42316a04
commit
dfa3bfe8be
|
@ -42,12 +42,7 @@
|
||||||
m4_define_hier(['M4_IMEM'], M4_NUM_INSTRS)
|
m4_define_hier(['M4_IMEM'], M4_NUM_INSTRS)
|
||||||
m4+fill_imem()
|
m4+fill_imem()
|
||||||
|
|
||||||
|cpu
|
|
||||||
@0
|
|
||||||
$reset = *reset;
|
$reset = *reset;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// YOUR CODE HERE
|
// YOUR CODE HERE
|
||||||
// ...
|
// ...
|
||||||
|
|
||||||
|
@ -65,11 +60,10 @@
|
||||||
// o register file
|
// o register file
|
||||||
// o data memory
|
// o data memory
|
||||||
// o CPU visualization
|
// o CPU visualization
|
||||||
|cpu
|
|
||||||
m4+rf(entries, width, $reset, $port1_en, $port1_index, $port1_data, $port2_en, $port2_index, $$port2_data, $port3_en, $port3_index, $$port3_data)
|
|
||||||
m4+dmem(entries, width, $reset, $port1_en, $port1_index, $port1_data, $port2_en, $port2_index, $$port2_data)
|
|
||||||
|
|
||||||
//m4+cpu_viz(@4) // For visualisation, argument should be at least equal to the last stage of CPU logic
|
//m4+rf(entries, width, $reset, $port1_en, $port1_index, $port1_data, $port2_en, $port2_index, $$port2_data, $port3_en, $port3_index, $$port3_data)
|
||||||
// @4 would work for all labs
|
//m4+dmem(entries, width, $reset, $port1_en, $port1_index, $port1_data, $port2_en, $port2_index, $$port2_data)
|
||||||
|
|
||||||
|
//m4+cpu_viz() // For visualisation, argument should be at least equal to the last stage of CPU logic
|
||||||
\SV
|
\SV
|
||||||
endmodule
|
endmodule
|
||||||
|
|
Loading…
Reference in New Issue