USTC-RVSoC/hardware/RTL/soc_top_tb.sv

20 lines
406 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;
wire vga_vsync, vga_hsync, isp_uart_tx;
wire [15:0] vga_pixel;
soc_top soc_inst(
.clk ( clk ),
.isp_uart_rx ( 1'b1 ),
.isp_uart_tx ( isp_uart_tx ),
.vga_hsync ( vga_hsync ),
.vga_vsync ( vga_vsync ),
.vga_pixel ( vga_pixel )
);
endmodule