X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=Adders.hs;fp=Adders.hs;h=a281ea63467780d4f7e6b7b9a32cfae58061ff22;hb=7762251a1355fbcbb08317926ca232951c146744;hp=f0987fdad484611e70e3f7495b44efaf5a0e668d;hpb=758998d6ef18ab5124c65518781c358d76d229ab;p=matthijs%2Fmaster-project%2Fc%CE%BBash.git diff --git a/Adders.hs b/Adders.hs index f0987fd..a281ea6 100644 --- a/Adders.hs +++ b/Adders.hs @@ -181,6 +181,9 @@ xand a b = hwand a b functiontest :: TFVec D3 (TFVec D4 Bit) -> TFVec D12 Bit functiontest = \v -> let r = concat v in r +functiontest2 :: SizedInt D8 -> SizedInt D8 +functiontest2 = \a -> let r = a + 1 in r + xhwnot x = hwnot x maptest :: TFVec D4 Bit -> TFVec D4 Bit