Initial work on build system

Simple makefile to build testbench in vivado.
Testbench currently just has a clock and a reset.
Empty gb top module.
This commit is contained in:
fumyuun committed 2021-02-15 21:40:12 +00:00
1 parent 1a6259caa1
commit e56afb8c9e
6 files changed
+40

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
module tb_top ();
logic clk;
logic 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