diff options
Diffstat (limited to 'src/VeriFuzz/XST.hs')
-rw-r--r-- | src/VeriFuzz/XST.hs | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/src/VeriFuzz/XST.hs b/src/VeriFuzz/XST.hs index 22720cd..e8e3a72 100644 --- a/src/VeriFuzz/XST.hs +++ b/src/VeriFuzz/XST.hs @@ -47,9 +47,19 @@ runSynthXst sim m outf = do echoP "XST: netgen" _ <- logger dir "netgen" $ run (netgenPath sim) - ["-w", "-ofmt", "verilog", toTextIgnore $ modFile <.> "ngc", toTextIgnore outf] + [ "-w" + , "-ofmt" + , "verilog" + , toTextIgnore $ modFile <.> "ngc" + , toTextIgnore outf + ] echoP "XST: clean" - noPrint $ run_ "sed" ["-i", "/^`ifndef/,/^`endif/ d; s/ *Timestamp: .*//;", toTextIgnore outf] + noPrint $ run_ + "sed" + [ "-i" + , "/^`ifndef/,/^`endif/ d; s/ *Timestamp: .*//;" + , toTextIgnore outf + ] echoP "XST: done" where modFile = fromText $ modName m |