Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Verilog - netlist Error

Status
Not open for further replies.

ee1

Full Member level 2
Joined
May 31, 2011
Messages
120
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,298
Activity points
2,036
Hi,
while reading the verilog I am getting this Error:
"Error: Expected '(' but found '['"
for this line:
inv_lib_cell U1[2:0] ( .A(n2[2:0]), .Y(n1[2:0]));

can someone pls tell me whats wrong?..

Thanks!
 

have you checked whether A and Y is 1 bit width or 3 bit width?
 

How can i check this?
 

Post full program . If would be easier to sort out error.
 

What tool is giving you this error? It possible it doesn't support arrays of instances, something that was added to Verilog in 1995! You can try removing each set of []'s and see if you get a different error
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top