aboutsummaryrefslogtreecommitdiffstats
path: root/frontend
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2021-02-12 09:54:15 +0000
committerGitHub <noreply@github.com>2021-02-12 09:54:15 +0000
commitad7bb510303e2a3b03bb4a043e62f10a4a0498b2 (patch)
tree22567456921e3cba04ddea328979ab52b3b4fab1 /frontend
parent5dfbe703ae26e6af2a1a687c06f001b6788d6fc8 (diff)
parent96293ab25ea1adda3e0ead128312f3afd3ac4764 (diff)
downloadnextpnr-ad7bb510303e2a3b03bb4a043e62f10a4a0498b2.tar.gz
nextpnr-ad7bb510303e2a3b03bb4a043e62f10a4a0498b2.tar.bz2
nextpnr-ad7bb510303e2a3b03bb4a043e62f10a4a0498b2.zip
Merge pull request #580 from litghost/add_design_loaded_state_variable
Add design_loaded state variable.
Diffstat (limited to 'frontend')
-rw-r--r--frontend/frontend_base.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/frontend/frontend_base.h b/frontend/frontend_base.h
index e262c943..4f7d22ec 100644
--- a/frontend/frontend_base.h
+++ b/frontend/frontend_base.h
@@ -135,6 +135,8 @@ template <typename FrontendType> struct GenericFrontend
ctx->top_module = top;
// Do the actual import, starting from the top level module
import_module(m, top.str(ctx), top.str(ctx), mod_refs.at(top));
+
+ ctx->design_loaded = true;
}
Context *ctx;