X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=c%CE%BBash%2FCLasH%2FVHDL%2FConstants.hs;h=03688eb01a132eed54233a00088719dff82f2d13;hb=4f5949f4e4451111010d1a4f67206f07b41f77a5;hp=04e727410b0e8ed63061fa6c12078ad3823f9038;hpb=68452976b782fcf291a678330ca3a9703e8c7c35;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 04e7274..03688eb 100644 --- "a/c\316\273ash/CLasH/VHDL/Constants.hs" +++ "b/c\316\273ash/CLasH/VHDL/Constants.hs" @@ -229,6 +229,37 @@ hwandId = "hwand" lengthTId :: String lengthTId = "lengthT" +fstId :: String +fstId = "fst" + +sndId :: String +sndId = "snd" + +-- Equality Operations +equalityId :: String +equalityId = "==" + +inEqualityId :: String +inEqualityId = "/=" + +gtId :: String +gtId = ">" + +ltId :: String +ltId = "<" + +gteqId :: String +gteqId = ">=" + +lteqId :: String +lteqId = "<=" + +boolOrId :: String +boolOrId = "||" + +boolAndId :: String +boolAndId = "&&" + -- Numeric Operations -- | plus operation identifier @@ -266,12 +297,18 @@ toUnsignedId = "to_unsigned" resizeId :: String resizeId = "resize" +smallIntegerId :: String +smallIntegerId = "smallInteger" + sizedIntId :: String sizedIntId = "SizedInt" tfvecId :: String tfvecId = "TFVec" +blockRAMId :: String +blockRAMId = "blockRAM" + -- | output file identifier (from std.textio) showIdString :: String showIdString = "show"