From: Sylvain Munaut Date: Mon, 13 May 2019 10:51:06 +0000 (+0200) Subject: ice40/cells_sim.v: Add support for TRIM input to SB_HFOSC X-Git-Tag: yosys-0.9~125^2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4f9183d10747c6889ea7d1468dbb6f69844714e6;p=yosys.git ice40/cells_sim.v: Add support for TRIM input to SB_HFOSC Signed-off-by: Sylvain Munaut --- 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