Add: archi and comment in top level | Fix: missing var declaration in reg test bench

This commit is contained in:
brice.boisson
2023-11-29 11:30:58 +09:00
parent 3007868c1a
commit cd6972af6d
4 changed files with 15 additions and 1 deletions
View File
+13
View File
@@ -0,0 +1,13 @@
module risc_v_cpu_top (input clock, reset,
output [31:0] out);
/* You can use the following file as your top layer for your FPGA synthesis */
risc_v_cpu risc_v_cpu (
.clock(clock),
.reset(reset),
.out(out)
);
endmodule
+1
View File
@@ -2,6 +2,7 @@
`include "tb_tools.vh"
module tb_registers_bank ();
integer i;
reg clk;
reg reset;
reg we;
+1 -1
View File
@@ -42,4 +42,4 @@
`define next_cycle \
#1 clk = ~clk; \
#1 clk = ~clk;
#1 clk = ~clk;