Add: archi and comment in top level | Fix: missing var declaration in reg test bench
This commit is contained in:
parent
3007868c1a
commit
cd6972af6d
|
@ -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
|
||||
|
|
@ -2,6 +2,7 @@
|
|||
`include "tb_tools.vh"
|
||||
|
||||
module tb_registers_bank ();
|
||||
integer i;
|
||||
reg clk;
|
||||
reg reset;
|
||||
reg we;
|
||||
|
|
|
@ -42,4 +42,4 @@
|
|||
|
||||
`define next_cycle \
|
||||
#1 clk = ~clk; \
|
||||
#1 clk = ~clk;
|
||||
#1 clk = ~clk;
|
||||
|
|
Loading…
Reference in New Issue