X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fmaster-project%2Fc%CE%BBash.git;a=blobdiff_plain;f=clash%2FCLasH%2FVHDL%2FConstants.hs;h=4267e2eef46d92edb45e3638735d0514af798101;hp=23ac95d5e12c725e65e4502ac50763479489a5cf;hb=30969fa41ee30295f00cf089f4ee4385bb709871;hpb=a37aac300ad93f0fd5edbed645655c2af2915002 diff --git a/clash/CLasH/VHDL/Constants.hs b/clash/CLasH/VHDL/Constants.hs index 23ac95d..4267e2e 100644 --- a/clash/CLasH/VHDL/Constants.hs +++ b/clash/CLasH/VHDL/Constants.hs @@ -8,14 +8,14 @@ import qualified Language.VHDL.AST as AST -- circular dependencie. builtinIds = [ exId, replaceId, headId, lastId, tailId, initId, takeId, dropId , selId, plusgtId, ltplusId, plusplusId, mapId, zipWithId, foldlId - , foldrId, zipId, unzipId, shiftlId, shiftrId, rotlId, rotrId + , foldrId, zipId, unzipId, shiftIntoLId, shiftIntoRId, rotlId, rotrId , concatId, reverseId, iteratenId, iterateId, generatenId, generateId , emptyId, singletonId, copynId, copyId, lengthTId, nullId , hwxorId, hwandId, hworId, hwnotId, equalityId, inEqualityId, ltId , lteqId, gtId, gteqId, boolOrId, boolAndId, plusId, timesId , negateId, minusId, fromSizedWordId, fromIntegerId, resizeWordId , resizeIntId, sizedIntId, smallIntegerId, fstId, sndId, blockRAMId - , splitId, minimumId, fromRangedWordId + , splitId, minimumId, fromRangedWordId, xorId, shiftLId , shiftRId ] -------------- -- Identifiers @@ -154,12 +154,12 @@ dropId :: String dropId = "drop" -- | shiftl function identifier -shiftlId :: String -shiftlId = "shiftIntoL" +shiftIntoLId :: String +shiftIntoLId = "shiftIntoL" -- | shiftr function identifier -shiftrId :: String -shiftrId = "shiftIntoR" +shiftIntoRId :: String +shiftIntoRId = "shiftIntoR" -- | rotl function identifier rotlId :: String @@ -241,6 +241,15 @@ hwnotId = "hwnot" hwandId :: String hwandId = "hwand" +xorId :: String +xorId = "xor" + +shiftLId :: String +shiftLId = "shiftL" + +shiftRId :: String +shiftRId = "shiftR" + lengthTId :: String lengthTId = "lengthT"