Add a simple four-bit shift register model.
[matthijs/master-project/cλash.git] / Translator.hs
index c16406be3aef2781484251c56a21d3e5fb394f54..cf2fb966876c5ffd612d00360dfe772a4adf2110 100644 (file)
@@ -45,7 +45,7 @@ main = do
   -- Load the module
   core <- loadModule "Adders.hs"
   -- Translate to VHDL
-  vhdl <- moduleToVHDL core ["dff"]
+  vhdl <- moduleToVHDL core ["shifter"]
   -- Write VHDL to file
   writeVHDL vhdl "../vhdl/vhdl/output.vhdl"