mirror of
https://github.com/YosysHQ/nextpnr.git
synced 2026-04-28 12:57:13 +00:00
ecp5: Helper functions for distributed RAM support
Signed-off-by: David Shah <davey1576@gmail.com>
This commit is contained in:
@@ -76,6 +76,8 @@ void print_utilisation(const Context *ctx)
|
||||
// Connect a net to a port
|
||||
void connect_port(const Context *ctx, NetInfo *net, CellInfo *cell, IdString port_name)
|
||||
{
|
||||
if (net == nullptr)
|
||||
return;
|
||||
PortInfo &port = cell->ports.at(port_name);
|
||||
NPNR_ASSERT(port.net == nullptr);
|
||||
port.net = net;
|
||||
|
||||
Reference in New Issue
Block a user