ice40-prim 0.3.0.0 → 0.3.0.1
raw patch · 6 files changed
+19/−24 lines, 6 filesdep ~basedep ~interpolatePVP ok
version bump matches the API change (PVP)
Dependency ranges changed: base, interpolate
API changes (from Hackage documentation)
Files
- CHANGELOG.md +5/−0
- ice40-prim.cabal +5/−15
- src/Ice40/Led.hs +2/−2
- src/Ice40/Mac.hs +5/−5
- src/Ice40/Mac/Prim.hs +1/−1
- src/Ice40/Rgb.hs +1/−1
CHANGELOG.md view
@@ -1,5 +1,10 @@ # Revision history for ice40-prim +## 0.3.0.1 -- 2021-03-28++* Minor documentation updates+* Update dependency bounds+ ## 0.3.0.0 -- 2021-03-12 * Add PLL IP, pad and core
ice40-prim.cabal view
@@ -1,6 +1,6 @@ cabal-version: >=1.10 name: ice40-prim-version: 0.3.0.0+version: 0.3.0.1 synopsis: Lattice iCE40 Primitive IP description: Clash primitives to instantiate Lattice Semiconductor's iCE40 FPGA hard IP bug-reports: https://github.com/standardsemiconductor/ice40-prim/issues@@ -15,7 +15,7 @@ source-repository head type: git- location: git://github.com/standardsemiconductor/ice40-prim.git+ location: https://github.com/standardsemiconductor/ice40-prim library exposed-modules: Ice40.Clock,@@ -31,10 +31,10 @@ Ice40.Spi, Ice40.Spram hs-source-dirs: src- build-depends: base >=4.12 && <4.15,+ build-depends: base >= 4.12 && < 4.16, Cabal,- interpolate,- clash-prelude >=1.2.5 && <1.5,+ interpolate >= 0.2 && < 0.3,+ clash-prelude >= 1.2.5 && < 1.5, ghc-typelits-natnormalise, ghc-typelits-extra, ghc-typelits-knownnat@@ -42,15 +42,10 @@ -Wall -Wcompat -haddock - -- Plugins to support type-level constraint solving on naturals -fplugin GHC.TypeLits.Extra.Solver -fplugin GHC.TypeLits.Normalise -fplugin GHC.TypeLits.KnownNat.Solver - -- Worker wrappers introduce unstable names for functions that might- -- have blackboxes attached for them. You can disable this,- -- but be sure to add a no-specialize pragma to every function- -- with a blackbox. -fno-worker-wrapper default-language: Haskell2010 default-extensions:@@ -82,11 +77,6 @@ TypeFamilies TypeOperators ViewPatterns- - -- TemplateHaskell is used to support convenience functions such as- -- 'listToVecTH' and 'bLit'. TemplateHaskell QuasiQuotes-- -- Prelude isn't imported by default as Clash offers Clash.Prelude NoImplicitPrelude
src/Ice40/Led.hs view
@@ -5,7 +5,7 @@ License : BSD 3-Clause Maintainer : standardsemiconductor@gmail.com -LED hard IP primitive from [Lattice Ice Technology Library](https://github.com/standardsemiconductor/VELDT-info/blob/master/SBTICETechnologyLibrary201708.pdf)+LED hard IP primitive from [Lattice Ice Technology Library](https://github.com/standardsemiconductor/VELDT-info/blob/master/SBTICETechnologyLibrary201708.pdf). See [iCE40 LED Driver Usage Guide](https://github.com/standardsemiconductor/VELDT-info/blob/master/ICE40LEDDriverUsageGuide.pdf) for more information. -} module Ice40.Led ( led ) where @@ -104,7 +104,7 @@ ) ledPrim !_ !_ !_ !_ !_ !_ !_ !_ !_ !_ !_ !_ !_ !_ !_ !_ = (pure 0, pure 0, pure 0, pure False) --- | 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.+-- | SB_LEDDA_IP primitive generates the RGB PWM outputs for the RGB LED drivers. -- -- LED Control Bus Addressable Registers --
src/Ice40/Mac.hs view
@@ -1,11 +1,11 @@ {-|-Module : Ice40.Mac+Module : Ice40.Mac Description : Ice40 Multiply-Accumulate primitive wrapper-Copyright : (c) David Cox, 2021-License : BSD-3-Clause-Maintainer : standardsemiconductor@gmail.com+Copyright : (c) David Cox, 2021+License : BSD-3-Clause+Maintainer : standardsemiconductor@gmail.com -MAC primitive wrapper. See "Ice40.Mac.Prim" for the original primitive.+MAC primitive wrapper. See "Ice40.Mac.Prim" for the original primitive. For more information see [LATTICE ICE Technology Library](https://github.com/standardsemiconductor/VELDT-info/blob/master/SBTICETechnologyLibrary201708.pdf) and [DSP Function Usage Guide](https://github.com/standardsemiconductor/VELDT-info/blob/master/DSPFunctionUsageGuideforICE40Devices.pdf). -} module Ice40.Mac ( mac
src/Ice40/Mac/Prim.hs view
@@ -5,7 +5,7 @@ License : BSD 3-Clause Maintainer : standardsemiconductor@gmail.com -MAC hard IP primitive from [Lattice Ice Technology Library](https://github.com/standardsemiconductor/VELDT-info/blob/master/SBTICETechnologyLibrary201708.pdf)+MAC hard IP primitive from [Lattice Ice Technology Library](https://github.com/standardsemiconductor/VELDT-info/blob/master/SBTICETechnologyLibrary201708.pdf). See [DSP Function Usage Guide](https://github.com/standardsemiconductor/VELDT-info/blob/master/DSPFunctionUsageGuideforICE40Devices.pdf) for more information. -} module Ice40.Mac.Prim ( macPrim ) where
src/Ice40/Rgb.hs view
@@ -5,7 +5,7 @@ License : BSD 3-Clause Maintainer : standardsemiconductor@gmail.com -RGB hard IP primitive from [Lattice Ice Technology Library](https://github.com/standardsemiconductor/VELDT-info/blob/master/SBTICETechnologyLibrary201708.pdf)+RGB hard IP primitive from [Lattice Ice Technology Library](https://github.com/standardsemiconductor/VELDT-info/blob/master/SBTICETechnologyLibrary201708.pdf). See [iCE40 LED Driver Usage Guide](https://github.com/standardsemiconductor/VELDT-info/blob/master/ICE40LEDDriverUsageGuide.pdf) for more information. -} module Ice40.Rgb where