From ea6f562d49caf109a7da2f50d21d3e3dd5c149bc Mon Sep 17 00:00:00 2001
From: uis <uis9936@gmail.com>
Date: Mon, 6 Feb 2023 21:34:32 +0000
Subject: [PATCH] gowin: Add new types of oscillator

---
 techlibs/gowin/cells_sim.v | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

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