RVSCC/test/Test_CPU.sv

13 lines
218 B
Systemverilog
Raw Normal View History

2022-12-03 00:22:28 +00:00
`timescale 1ns / 1ps
module Test_CPU();
logic clk, reset;
2023-01-01 22:28:56 +00:00
CPU cpu(clk, reset);
2022-12-20 05:19:32 +00:00
always #10 clk = ~clk;
2022-12-03 00:22:28 +00:00
initial begin
2022-12-20 05:19:32 +00:00
clk = 0;
2022-12-03 00:22:28 +00:00
reset = 1;
2022-12-24 01:14:04 +00:00
#100
2022-12-03 00:22:28 +00:00
reset = 0;
end
endmodule