Copyright | (c) David Cox 2021 |
---|---|
License | BSD 3-Clause |
Maintainer | standardsemiconductor@gmail.com |
Safe Haskell | None |
Language | Haskell2010 |
LED hard IP primitive from Lattice Ice Technology Library https://github.com/standardsemiconductor/VELDT-info/blob/master/SBTICETechnologyLibrary201708.pdf
Documentation
:: HiddenClock dom | |
=> Signal dom Bit | cs - CS to write LEDD IP registers |
-> Signal dom (BitVector 8) | dat - data to write into the LEDD IP registers |
-> Signal dom (BitVector 4) | addr - LEDD IP register address |
-> Signal dom Bool | en - data enable input to indicate data and address are stable |
-> Signal dom Bool | exe - enable to IP to run the blinking sequence. When it is LOW, the sequence stops at the nearest OFF state |
-> Unbundled dom (Bit, Bit, Bit, Bool) | (pwmOut0, pwmOut1, pwmOut2, LED on indicator) |
SB_LEDDA_IP primitive generates the RGB PWM outputs for the RGB LED drivers. The IP contains registers that are programmed in byte the SCI bus interface signals.