X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=Bits.hs;h=b50430af9644553c657e6d6bb5ff5f95e1d69ad8;hb=e230d86ae7135a268a72cdffba947a9011001ec2;hp=99131d063ceffb834d2eec05451fac449feaf38b;hpb=2ee391fd9b32f39872abfcf339e949f5139c6cbd;p=matthijs%2Fmaster-project%2Fc%CE%BBash.git diff --git a/Bits.hs b/Bits.hs index 99131d0..b50430a 100644 --- a/Bits.hs +++ b/Bits.hs @@ -1,5 +1,10 @@ +{-# LANGUAGE FlexibleContexts,GADTs,ExistentialQuantification,LiberalTypeSynonyms #-} + module Bits where +import qualified Data.Param.TFVec as TFVec +import qualified Types + --class Signal a where -- hwand :: a -> a -> a -- hwor :: a -> a -> a @@ -53,4 +58,6 @@ type Stream a = [a] lows = Low : lows highs = High : highs +type BitVec len = TFVec.TFVec len Bit + -- vim: set ts=8 sw=2 sts=2 expandtab: