Update risc-v_shell.tlv

This commit is contained in:
Shivam Potdar 2021-02-09 19:26:03 +05:30 committed by GitHub
parent cd42316a04
commit dfa3bfe8be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 16 deletions

View File

@ -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