aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/driver.cc
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2019-08-06 19:21:37 +0200
committerClifford Wolf <clifford@clifford.at>2019-08-06 19:21:37 +0200
commit95a6582f342537d387063be10cba55c001ed19f5 (patch)
tree386a3b4a7136864e00bc5986755a157407a6b7e3 /kernel/driver.cc
parenta4b59de5d48a89ba5e1b46eb44877a91ceb6fa44 (diff)
downloadyosys-95a6582f342537d387063be10cba55c001ed19f5.tar.gz
yosys-95a6582f342537d387063be10cba55c001ed19f5.tar.bz2
yosys-95a6582f342537d387063be10cba55c001ed19f5.zip
Be less aggressive with running design->check()
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Diffstat (limited to 'kernel/driver.cc')
-rw-r--r--kernel/driver.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/kernel/driver.cc b/kernel/driver.cc
index f273057dd..70a97c4b9 100644
--- a/kernel/driver.cc
+++ b/kernel/driver.cc
@@ -522,6 +522,12 @@ int main(int argc, char **argv)
if (!backend_command.empty())
run_backend(output_filename, backend_command);
+ yosys_design->check();
+ for (auto it : saved_designs)
+ it.second->check();
+ for (auto it : pushed_designs)
+ it->check();
+
if (!depsfile.empty())
{
FILE *f = fopen(depsfile.c_str(), "wt");