From ca39e493ba78e7a4eaf3f0876321f892cce20f65 Mon Sep 17 00:00:00 2001 From: Tim 'mithro' Ansell Date: Sun, 15 Apr 2018 16:05:52 -0700 Subject: [PATCH] synth_ice40: Rework the vpr blif output slightly. --- techlibs/ice40/synth_ice40.cc | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/techlibs/ice40/synth_ice40.cc b/techlibs/ice40/synth_ice40.cc index 42873305e..10a1d600b 100644 --- a/techlibs/ice40/synth_ice40.cc +++ b/techlibs/ice40/synth_ice40.cc @@ -260,13 +260,17 @@ struct SynthIce40Pass : public ScriptPass if (!blif_file.empty() || help_mode) { if (vpr || help_mode) { run(stringf("opt_clean -purge"), - " (vpr mode)"); - run(stringf("write_blif %s", help_mode ? "" : blif_file.c_str()), - " (vpr mode)"); + " " + " (vpr mode)"); + run(stringf("write_blif -attr -cname -conn -param %s", + help_mode ? "" : blif_file.c_str()), + " (vpr mode)"); } if (!vpr) run(stringf("write_blif -gates -attr -param %s", - help_mode ? "" : blif_file.c_str()), "(non-vpr mode)"); + help_mode ? "" : blif_file.c_str()), + " " + " (non-vpr mode)"); } } -- 2.30.2