aboutsummaryrefslogtreecommitdiffstats
path: root/src/VeriFuzz/Simulator/Xst.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/VeriFuzz/Simulator/Xst.hs')
-rw-r--r--src/VeriFuzz/Simulator/Xst.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/VeriFuzz/Simulator/Xst.hs b/src/VeriFuzz/Simulator/Xst.hs
index 29d1e4a..7b6608b 100644
--- a/src/VeriFuzz/Simulator/Xst.hs
+++ b/src/VeriFuzz/Simulator/Xst.hs
@@ -51,7 +51,7 @@ runSynthXst sim m outf = do
run_ (netgenPath sim) ["-w", "-ofmt", "verilog", toTextIgnore $ modFile <.> "ngc", toTextIgnore outf]
run_ "sed" ["-i", "/^`ifndef/,/^`endif/ d; s/ *Timestamp: .*//;", toTextIgnore outf]
where
- modName = m ^. moduleId . getIdentifier
+ modName = m ^. modId . getIdentifier
modFile = fromText modName
xstFile = modFile <.> "xst"
prjFile = modFile <.> "prj"