diff options
author | Jon Nordby <jononor@gmail.com> | 2025-04-26 18:09:02 +0200 |
---|---|---|
committer | Jon Nordby <jononor@gmail.com> | 2025-04-26 21:33:29 +0200 |
commit | b2b664b2596b48048ba97c5b43f3f29345c6bdb3 (patch) | |
tree | 55c85518cc8d920546e081fa9e4a6f6c3ada6909 /cocotb_try/my_design.v | |
parent | ea5c8903b101708b49c2789ebc7d6e5f9453f119 (diff) |
cocotb: Switch to plain Verilog, from SystemVerilog
Diffstat (limited to 'cocotb_try/my_design.v')
-rw-r--r-- | cocotb_try/my_design.v | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/cocotb_try/my_design.v b/cocotb_try/my_design.v new file mode 100644 index 0000000..458ac8e --- /dev/null +++ b/cocotb_try/my_design.v @@ -0,0 +1,15 @@ +// This file is public domain, it can be freely copied without restrictions. +// SPDX-License-Identifier: CC0-1.0 + +module my_design(input logic clk); + + timeunit 1ns; + timeprecision 1ns; + + logic my_signal_1; + logic my_signal_2; + + assign my_signal_1 = 1'bx; + assign my_signal_2 = 0; + +endmodule |