Skip to content

Commit

Permalink
Adjust BiSignalDefault doc to clarify affects simulation only (#2720)…
Browse files Browse the repository at this point in the history
… (#2799)

(cherry picked from commit 280905d)

Co-authored-by: Lucas Bollen <lucas@qbaylogic.com>
  • Loading branch information
mergify[bot] and lmbollen authored Aug 26, 2024
1 parent 1dcede3 commit a1c2f9c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clash-prelude/src/Clash/Signal/BiSignal.hs
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,8 @@ import GHC.TypeLits (KnownNat, Nat)
import GHC.Stack (HasCallStack)
import Data.Reflection (Given (..))

-- | Used to specify the /default/ behavior of a \"BiSignal\", i.e. what value is
-- read when no value is being written to it.
-- | Used to specify the /default/ behavior of a \"BiSignal\" in Haskell simulation, i.e.
-- what value is read when no value is being written to it.
data BiSignalDefault
= PullUp
-- ^ __inout__ port behaves as if connected to a pull-up resistor
Expand Down

0 comments on commit a1c2f9c

Please sign in to comment.