mirror of
https://github.com/YosysHQ/nextpnr.git
synced 2026-04-30 05:34:53 +00:00
Preserve ArchArgs and reinit Context when applicable in GUI
This commit is contained in:
@@ -475,15 +475,6 @@ int CommandHandler::exec()
|
||||
|
||||
void CommandHandler::load_json(Context *ctx, std::string filename)
|
||||
{
|
||||
ctx->cells.clear();
|
||||
ctx->nets.clear();
|
||||
ctx->net_aliases.clear();
|
||||
ctx->ports.clear();
|
||||
ctx->hierarchy.clear();
|
||||
ctx->settings.erase(ctx->id("pack"));
|
||||
ctx->settings.erase(ctx->id("place"));
|
||||
ctx->settings.erase(ctx->id("route"));
|
||||
|
||||
setupContext(ctx);
|
||||
setupArchContext(ctx);
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user