chalmers-lava2000-1.0.2: Hardware description library

Lava2000.Signal

Documentation

newtype Symbol Source

Constructors

Symbol (Ref (S Symbol)) 

data S s Source

Constructors

Bool Bool 
Inv s 
And [s] 
Or [s] 
Xor [s] 
VarBool String 
DelayBool s s 
Int Int 
Neg s 
Div s s 
Mod s s 
Plus [s] 
Times [s] 
Gte s s 
Equal [s] 
If s s s 
VarInt String 
DelayInt s s 

Instances

Functor S 
Sequent S 
Show a => Show (S a) 

lift2 :: (Symbol -> Symbol -> S Symbol) -> Signal a -> Signal b -> Signal cSource

lift3 :: (Symbol -> Symbol -> Symbol -> S Symbol) -> Signal a -> Signal b -> Signal c -> Signal dSource

liftl :: ([Symbol] -> S Symbol) -> [Signal a] -> Signal cSource

eval :: S (S a) -> S aSource

evalLazy :: S (Maybe (S a)) -> Maybe (S a)Source

arguments :: S a -> [a]Source

zips :: S [a] -> [S a]Source