aboutsummaryrefslogtreecommitdiffstats
path: root/icefuzz/tests/intosc.v
diff options
context:
space:
mode:
authorDavid Shah <davey1576@gmail.com>2017-10-23 17:48:22 +0100
committerDavid Shah <davey1576@gmail.com>2017-10-23 17:48:22 +0100
commit81e0d3c361e1b639064e07ff7efd1b8232090e0c (patch)
tree6041ea53d896750a68bbbb3747e00c61919fde4e /icefuzz/tests/intosc.v
parentbf21b644984656fdea6ec2609b22a74f3296115b (diff)
downloadicestorm-81e0d3c361e1b639064e07ff7efd1b8232090e0c.tar.gz
icestorm-81e0d3c361e1b639064e07ff7efd1b8232090e0c.tar.bz2
icestorm-81e0d3c361e1b639064e07ff7efd1b8232090e0c.zip
Add some verilog tests for analysing up5k features
Diffstat (limited to 'icefuzz/tests/intosc.v')
-rw-r--r--icefuzz/tests/intosc.v14
1 files changed, 14 insertions, 0 deletions
diff --git a/icefuzz/tests/intosc.v b/icefuzz/tests/intosc.v
new file mode 100644
index 0000000..227cb55
--- /dev/null
+++ b/icefuzz/tests/intosc.v
@@ -0,0 +1,14 @@
+module top (
+ input clkhfpu,
+ input clkhfen,
+ output clkhf
+);
+SB_HFOSC #(
+
+ .CLKHF_DIV("0b10")
+) hfosc (
+ .CLKHFPU(clkhfpu),
+ .CLKHFEN(clkhfen),
+ .CLKHF(clkhf)
+);
+endmodule