Copyright | (c) David Cox 2021 |
---|---|
License | BSD 3-Clause |
Maintainer | standardsemiconductor@gmail.com |
Safe Haskell | None |
Language | Haskell2010 |
MAC hard IP primitive from Lattice Ice Technology Library. See DSP Function Usage Guide for more information.
Synopsis
- macPrim :: Bit -> Bit -> Bit -> Bit -> Bit -> Bit -> Bit -> Bit -> Bit -> BitVector 2 -> BitVector 2 -> Bit -> BitVector 2 -> BitVector 2 -> BitVector 2 -> Bit -> BitVector 2 -> Bit -> Bit -> Bit -> Clock dom -> Signal dom Bit -> Signal dom (BitVector 16) -> Signal dom (BitVector 16) -> Signal dom (BitVector 16) -> Signal dom (BitVector 16) -> Signal dom Bit -> Signal dom Bit -> Signal dom Bit -> Signal dom Bit -> Signal dom Bit -> Signal dom Bit -> Signal dom Bit -> Signal dom Bit -> Signal dom Bit -> Signal dom Bit -> Signal dom Bit -> Signal dom Bit -> Signal dom Bit -> Signal dom Bit -> Signal dom Bit -> Signal dom Bit -> Signal dom Bit -> (Signal dom (BitVector 32), Signal dom Bit, Signal dom Bit, Signal dom Bit)
Documentation
:: Bit | negTrigger |
-> Bit | aReg |
-> Bit | bReg |
-> Bit | cReg |
-> Bit | dReg |
-> Bit | top8x8MultReg |
-> Bit | bot8x8MultReg |
-> Bit | pipeline16x16MultReg1 |
-> Bit | pipeline16x16MultReg2 |
-> BitVector 2 | topOutputSelect |
-> BitVector 2 | topAddSubLowerInput |
-> Bit | topAddSubUpperInput |
-> BitVector 2 | topAddSubCarrySelect |
-> BitVector 2 | botOutputSelect |
-> BitVector 2 | botAddSubLowerInput |
-> Bit | botAddSubUpperInput |
-> BitVector 2 | botAddSubCarrySelect |
-> Bit | mode8x8 |
-> Bit | aSigned |
-> Bit | bSigned |
-> Clock dom | clk |
-> Signal dom Bit | ce |
-> Signal dom (BitVector 16) | c |
-> Signal dom (BitVector 16) | a |
-> Signal dom (BitVector 16) | b |
-> Signal dom (BitVector 16) | d |
-> Signal dom Bit | irsttop |
-> Signal dom Bit | irstbot |
-> Signal dom Bit | orsttop |
-> Signal dom Bit | orstbot |
-> Signal dom Bit | ahold |
-> Signal dom Bit | bhold |
-> Signal dom Bit | chold |
-> Signal dom Bit | dhold |
-> Signal dom Bit | oholdtop |
-> Signal dom Bit | oholdbot |
-> Signal dom Bit | addsubtop |
-> Signal dom Bit | addsubbot |
-> Signal dom Bit | oloadtop |
-> Signal dom Bit | oloadbot |
-> Signal dom Bit | accumci |
-> Signal dom Bit | signextin |
-> Signal dom Bit | ci |
-> (Signal dom (BitVector 32), Signal dom Bit, Signal dom Bit, Signal dom Bit) | (o[31:0], co, accumco, signextout) |
Multiply-Accumulate primitive