USTC-RVSoC/hardware/RTL/soc_top_tb.sv

24 lines
513 B
Systemverilog
Raw Normal View History

2019-03-03 02:42:38 +08:00
module soc_top_tb();
logic clk;
initial clk = 1'b1;
always #1 clk = ~clk;
2019-03-03 15:58:27 +08:00
wire isp_uart_tx, vga_hsync, vga_vsync;
wire [ 2:0] vga_pixel;
2019-03-03 02:42:38 +08:00
soc_top soc_inst(
2019-03-03 15:58:27 +08:00
.clk ( clk ),
.isp_uart_rx ( 1'b1 ),
.isp_uart_tx ( isp_uart_tx ),
.vga_hsync ( vga_hsync ),
.vga_vsync ( vga_vsync ),
.vga_red ( vga_pixel[2] ),
.vga_green ( vga_pixel[1] ),
.vga_blue ( vga_pixel[0] )
2019-03-03 02:42:38 +08:00
);
2019-03-06 18:39:59 +08:00
initial #1000 $stop;
2019-03-03 15:58:27 +08:00
2019-03-03 02:42:38 +08:00
endmodule