From ea5c8903b101708b49c2789ebc7d6e5f9453f119 Mon Sep 17 00:00:00 2001 From: Jon Nordby Date: Sat, 26 Apr 2025 18:02:35 +0200 Subject: cocotb: Try to run quickstart Passes both using SIM=verilator and SIM=icarus --- cocotb_try/my_design.sv | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 cocotb_try/my_design.sv (limited to 'cocotb_try/my_design.sv') diff --git a/cocotb_try/my_design.sv b/cocotb_try/my_design.sv new file mode 100644 index 0000000..458ac8e --- /dev/null +++ b/cocotb_try/my_design.sv @@ -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 -- cgit v1.2.3