aboutsummaryrefslogtreecommitdiffstats
path: root/src/VeriFuzz/XST.hs
diff options
context:
space:
mode:
authorYann Herklotz Grave <git@yannherklotzgrave.com>2019-02-17 11:41:38 +0000
committerYann Herklotz Grave <git@yannherklotzgrave.com>2019-02-17 11:41:38 +0000
commit0ea6e208f2c3c41922f8334174fc8e81a21d67f4 (patch)
tree3c4889aff5a85f58f7d4db296d7f2f26b8ad031f /src/VeriFuzz/XST.hs
parent08b2b306ae1accfa0b84dc3d327ba54add10a284 (diff)
downloadverismith-0ea6e208f2c3c41922f8334174fc8e81a21d67f4.tar.gz
verismith-0ea6e208f2c3c41922f8334174fc8e81a21d67f4.zip
Brittany formatting
Diffstat (limited to 'src/VeriFuzz/XST.hs')
-rw-r--r--src/VeriFuzz/XST.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/VeriFuzz/XST.hs b/src/VeriFuzz/XST.hs
index 7e27120..337294a 100644
--- a/src/VeriFuzz/XST.hs
+++ b/src/VeriFuzz/XST.hs
@@ -34,8 +34,7 @@ instance Synthesize Xst where
runSynth = runSynthXst
defaultXst :: Xst
-defaultXst =
- Xst "xst" "netgen"
+defaultXst = Xst "xst" "netgen"
runSynthXst :: Xst -> ModDecl -> FilePath -> Sh ()
runSynthXst sim m outf = do
@@ -46,7 +45,8 @@ runSynthXst sim m outf = do
echoP "XST: run"
_ <- logger dir "xst" $ timeout (xstPath sim) ["-ifn", toTextIgnore xstFile]
echoP "XST: netgen"
- _ <- logger dir "netgen" $ run (netgenPath sim)
+ _ <- logger dir "netgen" $ run
+ (netgenPath sim)
["-w", "-ofmt", "verilog", toTextIgnore $ modFile <.> "ngc", toTextIgnore outf]
echoP "XST: clean"
noPrint $ run_ "sed" ["-i", "/^`ifndef/,/^`endif/ d; s/ *Timestamp: .*//;", toTextIgnore outf]