diff options
author | Eddie Hung <eddie@fpgeh.com> | 2019-06-10 11:02:54 -0700 |
---|---|---|
committer | Eddie Hung <eddie@fpgeh.com> | 2019-06-10 11:02:54 -0700 |
commit | 352c532bb2baa0ef78206e1824c4b1eea99dca6d (patch) | |
tree | a02f2801c5f7f91d4fafba4a5bf92cec8701e0a6 /techlibs | |
parent | d5f0b73fd9ff3a5d015faf566adcebdc29bab2b2 (diff) | |
parent | a91ea6612a73568782c80bd12ce2875353e2b5c5 (diff) | |
download | yosys-352c532bb2baa0ef78206e1824c4b1eea99dca6d.tar.gz yosys-352c532bb2baa0ef78206e1824c4b1eea99dca6d.tar.bz2 yosys-352c532bb2baa0ef78206e1824c4b1eea99dca6d.zip |
Merge remote-tracking branch 'origin/master' into xc7mux
Diffstat (limited to 'techlibs')
-rw-r--r-- | techlibs/ice40/cells_sim.v | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/techlibs/ice40/cells_sim.v b/techlibs/ice40/cells_sim.v index b9f381266..523dd8cbe 100644 --- a/techlibs/ice40/cells_sim.v +++ b/techlibs/ice40/cells_sim.v @@ -1001,6 +1001,30 @@ parameter RGB2_CURRENT = "0b000000"; endmodule (* blackbox *) +module SB_LED_DRV_CUR( + input EN, + output LEDPU +); +endmodule + +(* blackbox *) +module SB_RGB_DRV( + input RGBLEDEN, + input RGB0PWM, + input RGB1PWM, + input RGB2PWM, + input RGBPU, + output RGB0, + output RGB1, + output RGB2 +); +parameter CURRENT_MODE = "0b0"; +parameter RGB0_CURRENT = "0b000000"; +parameter RGB1_CURRENT = "0b000000"; +parameter RGB2_CURRENT = "0b000000"; +endmodule + +(* blackbox *) module SB_I2C( input SBCLKI, input SBRWI, |