diff options
author | uis <uis9936@gmail.com> | 2023-02-06 21:34:32 +0000 |
---|---|---|
committer | uis <uis9936@gmail.com> | 2023-02-06 21:34:32 +0000 |
commit | ea6f562d49caf109a7da2f50d21d3e3dd5c149bc (patch) | |
tree | d6bdedb321ef66ac240d5bedb33aadd538d0bcb6 /techlibs/gowin/cells_sim.v | |
parent | d11cb6901fc84bf036a99c01818f58a2299f8380 (diff) | |
download | yosys-ea6f562d49caf109a7da2f50d21d3e3dd5c149bc.tar.gz yosys-ea6f562d49caf109a7da2f50d21d3e3dd5c149bc.tar.bz2 yosys-ea6f562d49caf109a7da2f50d21d3e3dd5c149bc.zip |
gowin: Add new types of oscillator
Diffstat (limited to 'techlibs/gowin/cells_sim.v')
-rw-r--r-- | techlibs/gowin/cells_sim.v | 17 |
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 |