aboutsummaryrefslogtreecommitdiffstats
path: root/src/VeriFuzz/Sim/Quartus.hs
diff options
context:
space:
mode:
authorYann Herklotz <git@yannherklotz.com>2019-06-05 13:52:20 +0100
committerYann Herklotz <git@yannherklotz.com>2019-06-05 13:52:27 +0100
commit720fa7a822a077458cf0b29e9dcdc754a881e8bd (patch)
treefa00db795c17bba78b02de2823c1092fae1d81ec /src/VeriFuzz/Sim/Quartus.hs
parentf3268d934a9a2b01633b5f7a3353d1a97c40a9df (diff)
downloadverismith-720fa7a822a077458cf0b29e9dcdc754a881e8bd.tar.gz
verismith-720fa7a822a077458cf0b29e9dcdc754a881e8bd.zip
Format all files
Diffstat (limited to 'src/VeriFuzz/Sim/Quartus.hs')
-rw-r--r--src/VeriFuzz/Sim/Quartus.hs7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/VeriFuzz/Sim/Quartus.hs b/src/VeriFuzz/Sim/Quartus.hs
index a099495..4217abb 100644
--- a/src/VeriFuzz/Sim/Quartus.hs
+++ b/src/VeriFuzz/Sim/Quartus.hs
@@ -53,7 +53,12 @@ runSynthQuartus sim (SourceInfo top src) = do
dir <- liftSh pwd
let ex = execute_ SynthFail dir "quartus"
liftSh . writefile inpf $ genSource src
- liftSh . noPrint $ run_ "sed" ["-i", "s/^module/(* multstyle = \"logic\" *) module/;", toTextIgnore inpf]
+ liftSh . noPrint $ run_
+ "sed"
+ [ "-i"
+ , "s/^module/(* multstyle = \"logic\" *) module/;"
+ , toTextIgnore inpf
+ ]
ex (exec "quartus_map")
[top, "--source=" <> toTextIgnore inpf, "--family=Cyclone V"]
ex (exec "quartus_fit") [top, "--part=5CGXFC7D6F31C6"]