Skip to content

Support primitive gates with names in Verilog netlist#412

Merged
alanminko merged 1 commit intoberkeley-abc:masterfrom
tklam:feature/support_verilog_gate_name
Jun 7, 2025
Merged

Support primitive gates with names in Verilog netlist#412
alanminko merged 1 commit intoberkeley-abc:masterfrom
tklam:feature/support_verilog_gate_name

Conversation

@tklam
Copy link
Copy Markdown
Contributor

@tklam tklam commented May 12, 2025

Hi, I have modified the Verilog parser to allow reading primitive gates with names. The following Verilog code could not be parsed because the gates have names:

module top (a, b, c);
input a;
input b;
output c;

wire n1;

xor t1(n1, a, b);
or t2 (c, a, b, n1);
endmodule

This pull request allows it to be parsed successfully.

@alanminko alanminko merged commit 5cf5a8d into berkeley-abc:master Jun 7, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants