Add sources

This commit is contained in:
Nikolay Puzanov
2023-06-11 16:15:40 +03:00
parent 82f90610fb
commit 686d12bf81
48 changed files with 23261 additions and 0 deletions

View File

@@ -0,0 +1 @@
((verilog-mode . ((flycheck-verilator-include-path . ("../source")))))

1
test-iverilog/.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
top

3
test-iverilog/__build.sh Executable file
View File

@@ -0,0 +1,3 @@
#!/usr/bin/env bash
iverilog -g2012 -o top -f ../source/sources.f top.sv

3
test-iverilog/__run.sh Executable file
View File

@@ -0,0 +1,3 @@
#!/usr/bin/env bash
vvp -n ./top

7
test-iverilog/top.sv Normal file
View File

@@ -0,0 +1,7 @@
`timescale 1ps/1ps
module top;
logic clock = 1'b0;
initial forever #(10ns/2) clock = ~clock;
testbench testbench (clock);
endmodule