aboutsummaryrefslogtreecommitdiffstats
path: root/techlibs
diff options
context:
space:
mode:
authoruis <uis9936@gmail.com>2023-02-06 21:34:32 +0000
committeruis <uis9936@gmail.com>2023-02-06 21:34:32 +0000
commitea6f562d49caf109a7da2f50d21d3e3dd5c149bc (patch)
treed6bdedb321ef66ac240d5bedb33aadd538d0bcb6 /techlibs
parentd11cb6901fc84bf036a99c01818f58a2299f8380 (diff)
downloadyosys-ea6f562d49caf109a7da2f50d21d3e3dd5c149bc.tar.gz
yosys-ea6f562d49caf109a7da2f50d21d3e3dd5c149bc.tar.bz2
yosys-ea6f562d49caf109a7da2f50d21d3e3dd5c149bc.zip
gowin: Add new types of oscillator
Diffstat (limited to 'techlibs')
-rw-r--r--techlibs/gowin/cells_sim.v17
1 files changed, 17 insertions, 0 deletions
diff --git a/techlibs/gowin/cells_sim.v b/techlibs/gowin/cells_sim.v
index ab8207ef1..73bf400c0 100644
--- a/techlibs/gowin/cells_sim.v
+++ b/techlibs/gowin/cells_sim.v
@@ -1632,3 +1632,20 @@ output OSCOUT;
parameter FREQ_DIV = 96;
endmodule
+
+(* blackbox *)
+module OSCW(OSCOUT);
+output OSCOUT;
+
+parameter FREQ_DIV = 80;
+endmodule
+
+(* blackbox *)
+module OSCO(OSCOUT, OSCEN);
+input OSCEN;
+
+output OSCOUT;
+
+parameter FREQ_DIV = 100;
+parameter REGULATOR_EN = 1'b0;
+endmodule