mirror of
https://github.com/YosysHQ/nextpnr.git
synced 2026-02-12 11:07:22 +00:00
Improve log messages, move many messages to verbose mode
Signed-off-by: Clifford Wolf <clifford@clifford.at>
This commit is contained in:
@@ -659,7 +659,8 @@ static void insert_iobuf(Context *ctx, NetInfo *net, PortType type,
|
||||
std::copy(net->attrs.begin(), net->attrs.end(),
|
||||
std::inserter(iobuf->attrs, iobuf->attrs.begin()));
|
||||
if (type == PORT_IN) {
|
||||
log_info("processing input port %s\n", name.c_str());
|
||||
if (ctx->verbose)
|
||||
log_info("processing input port %s\n", name.c_str());
|
||||
iobuf->type = ctx->id("$nextpnr_ibuf");
|
||||
iobuf->ports[ctx->id("O")] = PortInfo{ctx->id("O"), net, PORT_OUT};
|
||||
// Special case: input, etc, directly drives inout
|
||||
@@ -671,7 +672,8 @@ static void insert_iobuf(Context *ctx, NetInfo *net, PortType type,
|
||||
net->driver.port = ctx->id("O");
|
||||
net->driver.cell = iobuf;
|
||||
} else if (type == PORT_OUT) {
|
||||
log_info("processing output port %s\n", name.c_str());
|
||||
if (ctx->verbose)
|
||||
log_info("processing output port %s\n", name.c_str());
|
||||
iobuf->type = ctx->id("$nextpnr_obuf");
|
||||
iobuf->ports[ctx->id("I")] = PortInfo{ctx->id("I"), net, PORT_IN};
|
||||
PortRef ref;
|
||||
@@ -679,7 +681,8 @@ static void insert_iobuf(Context *ctx, NetInfo *net, PortType type,
|
||||
ref.port = ctx->id("I");
|
||||
net->users.push_back(ref);
|
||||
} else if (type == PORT_INOUT) {
|
||||
log_info("processing inout port %s\n", name.c_str());
|
||||
if (ctx->verbose)
|
||||
log_info("processing inout port %s\n", name.c_str());
|
||||
iobuf->type = ctx->id("$nextpnr_iobuf");
|
||||
iobuf->ports[ctx->id("I")] = PortInfo{ctx->id("I"), nullptr, PORT_IN};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user