diff options
author | Clifford Wolf <clifford@clifford.at> | 2018-06-13 17:52:18 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2018-06-13 17:52:18 +0200 |
commit | 794fc6df607d76cd3763dea75f7c93ad48aa306f (patch) | |
tree | 7dc9abb8dce28d18b3f6a5c439b2136cca9bdbfa /frontend | |
parent | 1a3d0f2f5dd763e08a237d53e92d775704f46f01 (diff) | |
download | nextpnr-794fc6df607d76cd3763dea75f7c93ad48aa306f.tar.gz nextpnr-794fc6df607d76cd3763dea75f7c93ad48aa306f.tar.bz2 nextpnr-794fc6df607d76cd3763dea75f7c93ad48aa306f.zip |
Add support for CellInfo->pins in router
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Diffstat (limited to 'frontend')
-rw-r--r-- | frontend/json/jsonparse.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/frontend/json/jsonparse.cc b/frontend/json/jsonparse.cc index 92590902..82874703 100644 --- a/frontend/json/jsonparse.cc +++ b/frontend/json/jsonparse.cc @@ -421,8 +421,8 @@ void json_import_ports(Design *design, const string &modname, // // Pick a name for this port if (is_bus) - this_port.name = - port_info.name.str() + "[" + std::to_string(index) + "]"; + this_port.name = port_info.name.str() + "[" + + std::to_string(index) + "]"; else this_port.name = port_info.name; this_port.type = port_info.type; |