Put a list of builtin functions in VHDL.Constants
[matthijs/master-project/cλash.git] / cλash / CLasH / VHDL / Generate.hs
index a9947a2ddacc58508262976a4dfa723893c5e93f..61e95b450d10313901b973f402717f7ba9656c69 100644 (file)
@@ -1554,7 +1554,8 @@ type BuiltinBuilder =
 type NameTable = Map.Map String (Int, BuiltinBuilder )
 
 -- | The builtin functions we support. Maps a name to an argument count and a
--- builder function.
+-- builder function. If you add a name to this map, don't forget to add
+-- it to VHDL.Constants/builtinIds as well.
 globalNameTable :: NameTable
 globalNameTable = Map.fromList
   [ (exId             , (2, genFCall True          ) )