aboutsummaryrefslogtreecommitdiffstats
path: root/src/VeriFuzz/Simulator/Xst.hs
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2019-01-20 15:33:13 +0000
committerYann Herklotz <ymherklotz@gmail.com>2019-01-20 15:33:17 +0000
commit99fe59abc997ba6f65896a2377881409e257faf9 (patch)
treeb83a36efac0fd0fcdd3838f3321428d6bd2de6e3 /src/VeriFuzz/Simulator/Xst.hs
parent64a0ae3600073f486462b1d056409954634b0084 (diff)
downloadverismith-99fe59abc997ba6f65896a2377881409e257faf9.tar.gz
verismith-99fe59abc997ba6f65896a2377881409e257faf9.zip
Rename moduleId to modId
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"