1
0
mirror of https://github.com/YosysHQ/nextpnr.git synced 2026-05-05 07:33:27 +00:00

Add support for CellInfo->pins in router

Signed-off-by: Clifford Wolf <clifford@clifford.at>
This commit is contained in:
Clifford Wolf
2018-06-13 17:52:18 +02:00
parent 1a3d0f2f5d
commit 794fc6df60
2 changed files with 17 additions and 5 deletions

View File

@@ -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;