diff options
| author | ruki <[email protected]> | 2023-01-11 22:36:06 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-01-13 20:50:56 +0800 |
| commit | 628e035d9bf70fee96226606585ab658283cb859 (patch) | |
| tree | 3b657f8e2f595d5653c3db023d5370e400f450e0 /tests/projects/embed | |
| parent | 51c2cda23592b381a39df2545639faadb077c12f (diff) | |
add iverilog example
Diffstat (limited to 'tests/projects/embed')
| -rw-r--r-- | tests/projects/embed/iverilog/hello/src/main.v | 7 | ||||
| -rw-r--r-- | tests/projects/embed/iverilog/hello/xmake.lua | 5 |
2 files changed, 12 insertions, 0 deletions
diff --git a/tests/projects/embed/iverilog/hello/src/main.v b/tests/projects/embed/iverilog/hello/src/main.v new file mode 100644 index 000000000..be0b56105 --- /dev/null +++ b/tests/projects/embed/iverilog/hello/src/main.v @@ -0,0 +1,7 @@ +module main(); + initial + begin + $display("hello world!"); + $finish ; + end +endmodule diff --git a/tests/projects/embed/iverilog/hello/xmake.lua b/tests/projects/embed/iverilog/hello/xmake.lua new file mode 100644 index 000000000..a59478b51 --- /dev/null +++ b/tests/projects/embed/iverilog/hello/xmake.lua @@ -0,0 +1,5 @@ +add_requires("iverilog") +target("hello") + add_rules("iverilog.binary") + set_toolchains("@iverilog") + add_files("src/*.v") |
