aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/regressions/issue0237/top.v
diff options
context:
space:
mode:
Diffstat (limited to 'ice40/regressions/issue0237/top.v')
-rw-r--r--ice40/regressions/issue0237/top.v13
1 files changed, 13 insertions, 0 deletions
diff --git a/ice40/regressions/issue0237/top.v b/ice40/regressions/issue0237/top.v
new file mode 100644
index 0000000..6527ce6
--- /dev/null
+++ b/ice40/regressions/issue0237/top.v
@@ -0,0 +1,13 @@
+module top(
+ output P1A1
+);
+ wire clk;
+ SB_HFOSC osc(
+ .CLKHFPU(1'b1),
+ .CLKHFEN(1'b1),
+ .CLKHF(clk)
+ );
+
+ assign P1A1 = !clk;
+
+endmodule