aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/regressions/issue0237/top.v
diff options
context:
space:
mode:
authorDavid Shah <davey1576@gmail.com>2019-02-20 20:37:22 +0000
committerDavid Shah <davey1576@gmail.com>2019-02-20 20:37:22 +0000
commitbaf928b5c688d1d8409da28f76c36f74e79a93a8 (patch)
treec77a7182d4895b0b0c59018a8078f95e57ceb649 /ice40/regressions/issue0237/top.v
parent691dfb8204131bec7f1c5e139764bf418640f941 (diff)
downloadnextpnr-tests-baf928b5c688d1d8409da28f76c36f74e79a93a8.tar.gz
nextpnr-tests-baf928b5c688d1d8409da28f76c36f74e79a93a8.tar.bz2
nextpnr-tests-baf928b5c688d1d8409da28f76c36f74e79a93a8.zip
tests: Add issue0237 regression
Signed-off-by: David Shah <davey1576@gmail.com>
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