cpu_tb.v 273 Bytes
Newer Older
YouGuoliang's avatar
YouGuoliang committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
`timescale 1ns / 1ps

module cpu_tb();
    reg clk = 1'b1;
    reg rst = 1'b1;
    
    always  #2 clk = ~clk;
    initial #8 rst = 1'b0;
    
    RV32ICore RV32ICore_tb_inst(
        .CPU_CLK    ( clk          ),
        .CPU_RST    ( rst          )
    );
    
endmodule