cancel
Showing results for 
Search instead for 
Did you mean: 
Explorer
Explorer
5,173 Views
Registered: ‎04-22-2015

Verilog implicit nets

Jump to solution

Is there a way to tell Vivado synthesis (2016.2) to refuse to accept an implicitly declared wire or reg?  I keep getting bit by a typo in a name happily synthesizing into a ground rather than getting flagged as an error.

 

Thanks

0 Kudos
1 Solution

Accepted Solutions
Highlighted
Adventurer
Adventurer
9,320 Views
Registered: ‎02-24-2012

Re: Verilog implicit nets

Jump to solution

Hi @kenryan2,

 

`default_nettype directive is what you are looking for. Simply write

 

`default_nettype none

 

at the beginning of your Verilog file, but don't forget to reset it at the end:

 

`default_nettype wire

 

Best Regards,

 

Stephan

View solution in original post

2 Replies
Highlighted
Adventurer
Adventurer
9,321 Views
Registered: ‎02-24-2012

Re: Verilog implicit nets

Jump to solution

Hi @kenryan2,

 

`default_nettype directive is what you are looking for. Simply write

 

`default_nettype none

 

at the beginning of your Verilog file, but don't forget to reset it at the end:

 

`default_nettype wire

 

Best Regards,

 

Stephan

View solution in original post

Highlighted
Explorer
Explorer
5,117 Views
Registered: ‎04-22-2015

Re: Verilog implicit nets

Jump to solution

Ah, thank you!

0 Kudos