X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=c%CE%BBash%2FCLasH%2FVHDL%2FConstants.hs;h=9c372ecd711519d91ec05feafedd61133e798448;hb=4e12174b5b6515c056d4f83edcc18b991c71465d;hp=d9ed855bf2f63b65ed8c8684147841c3df453ee1;hpb=4b87be0b9d499155084a6240b016afd57b4b30cd;p=matthijs%2Fmaster-project%2Fc%CE%BBash.git diff --git "a/c\316\273ash/CLasH/VHDL/Constants.hs" "b/c\316\273ash/CLasH/VHDL/Constants.hs" index d9ed855..9c372ec 100644 --- "a/c\316\273ash/CLasH/VHDL/Constants.hs" +++ "b/c\316\273ash/CLasH/VHDL/Constants.hs" @@ -125,6 +125,9 @@ initId = "init" tailId :: String tailId = "tail" +-- | minimum ftp function identifier +minimumId :: String +minimumId = "minimum" -- | take function identifier takeId :: String @@ -226,6 +229,25 @@ hwandId = "hwand" lengthTId :: String lengthTId = "lengthT" +fstId :: String +fstId = "fst" + +sndId :: String +sndId = "snd" + +-- Equality Operations +equalityId :: String +equalityId = "==" + +inEqualityId :: String +inEqualityId = "/=" + +boolOrId :: String +boolOrId = "||" + +boolAndId :: String +boolAndId = "&&" + -- Numeric Operations -- | plus operation identifier @@ -263,6 +285,9 @@ toUnsignedId = "to_unsigned" resizeId :: String resizeId = "resize" +smallIntegerId :: String +smallIntegerId = "smallInteger" + sizedIntId :: String sizedIntId = "SizedInt"