Skip to content

Commit

Permalink
Expose hLit and oLit from the Prelude
Browse files Browse the repository at this point in the history
Responds to:
#2505 (comment)
  • Loading branch information
NadiaYvette committed Jul 30, 2023
1 parent 35da69b commit 0b2660f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions clash-prelude/src/Clash/Sized/BitVector.hs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ module Clash.Sized.BitVector
, maxIndex#
-- ** Construction
, bLit
, hLit
, oLit
-- ** Concatenation
, (++#)
-- * Modification
Expand Down
4 changes: 2 additions & 2 deletions clash-prelude/tests/Clash/Tests/BitVector.hs
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ import qualified Test.Tasty.QuickCheck as Q
import Control.Applicative (liftA2)
#endif
import Clash.Prelude
(Bit, high, low, bitPattern, type (<=), type (-), natToInteger, msb)
import Clash.Sized.Internal.BitVector (BitVector (..), bLit, hLit, oLit)
(Bit, high, low, bitPattern, type (<=), type (-), natToInteger, msb, bLit, hLit, oLit)
import Clash.Sized.Internal.BitVector (BitVector (..))

import Clash.Tests.SizedNum

Expand Down

0 comments on commit 0b2660f

Please sign in to comment.