aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/regressions/issue0065/ice40_pll_12_216.v
diff options
context:
space:
mode:
authorEddie Hung <eddieh@ece.ubc.ca>2019-02-09 11:16:28 -0800
committerEddie Hung <eddieh@ece.ubc.ca>2019-02-09 11:16:28 -0800
commited2a2fbb4acc886bffb366775564a7f91444777f (patch)
treee5495536994c2d549ec665721977d58938c38ce6 /ice40/regressions/issue0065/ice40_pll_12_216.v
parent6efea35c14e87269a9b4731c64f77c7a474f5106 (diff)
downloadnextpnr-tests-ed2a2fbb4acc886bffb366775564a7f91444777f.tar.gz
nextpnr-tests-ed2a2fbb4acc886bffb366775564a7f91444777f.tar.bz2
nextpnr-tests-ed2a2fbb4acc886bffb366775564a7f91444777f.zip
YosysHQ/nextpnr#65
Diffstat (limited to 'ice40/regressions/issue0065/ice40_pll_12_216.v')
-rw-r--r--ice40/regressions/issue0065/ice40_pll_12_216.v33
1 files changed, 33 insertions, 0 deletions
diff --git a/ice40/regressions/issue0065/ice40_pll_12_216.v b/ice40/regressions/issue0065/ice40_pll_12_216.v
new file mode 100644
index 0000000..c778e5c
--- /dev/null
+++ b/ice40/regressions/issue0065/ice40_pll_12_216.v
@@ -0,0 +1,33 @@
+/**
+ * PLL configuration
+ *
+ * This Verilog module was generated automatically
+ * using the icepll tool from the IceStorm project.
+ * Use at your own risk.
+ *
+ * Given input frequency: 12.000 MHz
+ * Requested output frequency: 216.000 MHz
+ * Achieved output frequency: 216.000 MHz
+ */
+
+module ice40_pll_12_216(
+ input clock_in,
+ output clock_out,
+ output locked
+ );
+
+SB_PLL40_CORE #(
+ .FEEDBACK_PATH("SIMPLE"),
+ .DIVR(4'b0000), // DIVR = 0
+ .DIVF(7'b1000111), // DIVF = 71
+ .DIVQ(3'b010), // DIVQ = 2
+ .FILTER_RANGE(3'b001) // FILTER_RANGE = 1
+ ) uut (
+ .LOCK(locked),
+ .RESETB(1'b1),
+ .BYPASS(1'b0),
+ .REFERENCECLK(clock_in),
+ .PLLOUTCORE(clock_out)
+ );
+
+endmodule