diff options
author | David Shah <dave@ds0.me> | 2019-05-15 08:20:50 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-15 08:20:50 +0100 |
commit | 3ef88ffbb2409450d5921938b2b938c4c007e091 (patch) | |
tree | 878f10bd174a87ad497974b4afd751952b7774f8 /techlibs/ice40 | |
parent | c8c1df23a0ddf85b6d5a822299634b42b82a6e15 (diff) | |
parent | 4f9183d10747c6889ea7d1468dbb6f69844714e6 (diff) | |
download | yosys-3ef88ffbb2409450d5921938b2b938c4c007e091.tar.gz yosys-3ef88ffbb2409450d5921938b2b938c4c007e091.tar.bz2 yosys-3ef88ffbb2409450d5921938b2b938c4c007e091.zip |
Merge pull request #1005 from smunaut/ice40_hfosc_trim
ice40/cells_sim.v: Add support for TRIM input to SB_HFOSC
Diffstat (limited to 'techlibs/ice40')
-rw-r--r-- | techlibs/ice40/cells_sim.v | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/techlibs/ice40/cells_sim.v b/techlibs/ice40/cells_sim.v index 00843b97c..e89405b22 100644 --- a/techlibs/ice40/cells_sim.v +++ b/techlibs/ice40/cells_sim.v @@ -930,10 +930,21 @@ endmodule (* blackbox *) module SB_HFOSC( + input TRIM0, + input TRIM1, + input TRIM2, + input TRIM3, + input TRIM4, + input TRIM5, + input TRIM6, + input TRIM7, + input TRIM8, + input TRIM9, input CLKHFPU, input CLKHFEN, output CLKHF ); +parameter TRIM_EN = "0b0"; parameter CLKHF_DIV = "0b00"; endmodule |