X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=c%CE%BBash%2FCLasH%2FVHDL%2FConstants.hs;h=6051d9b3168e8cb132b3b66ed04fa33bc8676b78;hb=07a6394442d0d83a754af8f0d90f3702bb1821c6;hp=b9cbb0b1853b0949ebac5be513f1418151f5ddcb;hpb=0dcd1ce078cbae64bc2b968b4c8233c9b94727dc;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 b9cbb0b..6051d9b 100644 --- "a/c\316\273ash/CLasH/VHDL/Constants.hs" +++ "b/c\316\273ash/CLasH/VHDL/Constants.hs" @@ -15,7 +15,7 @@ builtinIds = [ exId, replaceId, headId, lastId, tailId, initId, takeId, dropId , lteqId, gtId, gteqId, boolOrId, boolAndId, plusId, timesId , negateId, minusId, fromSizedWordId, fromIntegerId, resizeWordId , resizeIntId, sizedIntId, smallIntegerId, fstId, sndId, blockRAMId - , splitId, minimumId + , splitId, minimumId, fromRangedWordId ] -------------- -- Identifiers @@ -278,6 +278,9 @@ boolOrId = "||" boolAndId :: String boolAndId = "&&" +boolNot :: String +boolNot = "not" + -- Numeric Operations -- | plus operation identifier @@ -300,6 +303,9 @@ minusId = "-" fromSizedWordId :: String fromSizedWordId = "fromSizedWord" +fromRangedWordId :: String +fromRangedWordId = "fromRangedWord" + toIntegerId :: String toIntegerId = "to_integer"