diff options
author | Miodrag Milanović <mmicko@gmail.com> | 2023-02-28 06:56:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-28 06:56:01 +0100 |
commit | bb28e48136fcd881090dca9b0c31429a91e6c1d4 (patch) | |
tree | 076b353680521a279c6f809adb8b0d47e9bcd514 /techlibs/gowin | |
parent | 4ff906314541a91c2538e6c704ddc6346f9ce732 (diff) | |
parent | ea6f562d49caf109a7da2f50d21d3e3dd5c149bc (diff) | |
download | yosys-bb28e48136fcd881090dca9b0c31429a91e6c1d4.tar.gz yosys-bb28e48136fcd881090dca9b0c31429a91e6c1d4.tar.bz2 yosys-bb28e48136fcd881090dca9b0c31429a91e6c1d4.zip |
Merge pull request #3663 from uis246/master
gowin: Add new types of oscillator
Diffstat (limited to 'techlibs/gowin')
-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 51f781b1d..535fd05ed 100644 --- a/techlibs/gowin/cells_sim.v +++ b/techlibs/gowin/cells_sim.v @@ -1640,3 +1640,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 |