1
0
mirror of https://github.com/YosysHQ/nextpnr.git synced 2026-04-27 12:38:40 +00:00

generic: New Property interface

Signed-off-by: David Shah <dave@ds0.me>
This commit is contained in:
David Shah
2019-08-05 17:28:54 +01:00
parent ec48f8f464
commit ebcdfc1ae8
6 changed files with 21 additions and 22 deletions

View File

@@ -497,7 +497,7 @@ bool Arch::place()
// FIXME: No HeAP because it needs a list of IO buffers
if (placer == "sa") {
bool retVal = placer1(getCtx(), Placer1Cfg(getCtx()));
getCtx()->settings[getCtx()->id("place")] = "1";
getCtx()->settings[getCtx()->id("place")] = 1;
archInfoToAttributes();
return retVal;
} else {
@@ -508,7 +508,7 @@ bool Arch::place()
bool Arch::route()
{
bool retVal = router1(getCtx(), Router1Cfg(getCtx()));
getCtx()->settings[getCtx()->id("route")] = "1";
getCtx()->settings[getCtx()->id("route")] = 1;
archInfoToAttributes();
return retVal;
}