mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-27 21:48:58 +00:00
use the new isPublic() in a few places
This commit is contained in:
parent
4af04be0b7
commit
3238190797
13 changed files with 25 additions and 25 deletions
|
@ -35,7 +35,7 @@ struct EquivPurgeWorker
|
|||
{
|
||||
if (sig.is_wire()) {
|
||||
Wire *wire = sig.as_wire();
|
||||
if (wire->name[0] == '\\') {
|
||||
if (wire->name.isPublic()) {
|
||||
if (!wire->port_output) {
|
||||
log(" Module output: %s (%s)\n", log_signal(wire), log_id(cellname));
|
||||
wire->port_output = true;
|
||||
|
@ -62,7 +62,7 @@ struct EquivPurgeWorker
|
|||
{
|
||||
if (sig.is_wire()) {
|
||||
Wire *wire = sig.as_wire();
|
||||
if (wire->name[0] == '\\') {
|
||||
if (wire->name.isPublic()) {
|
||||
if (!wire->port_output) {
|
||||
log(" Module input: %s\n", log_signal(wire));
|
||||
wire->port_input = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue