Initial work on reading instructions from bootROM

This commit is contained in:
2021-02-15 22:55:09 +00:00
parent e56afb8c9e
commit 3191a19f7e
9 changed files with 166 additions and 11 deletions

View File

@@ -3,19 +3,15 @@ module tb_top ();
logic clk;
logic nreset;
clkgen clkgen_inst (
.clk_o (clk),
.nreset_o(nreset)
);
gb gb_inst (
.clk_i (clk),
.nreset_i(nreset)
);
initial begin
clk = 1'b0;
nreset = 1'b1;
#1 nreset = 1'b0;
#24 nreset = 1'b1;
end // initial
always #5 clk = ~clk;
endmodule : tb_top