| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| I remember seeing that the directive `default net_type none was defined for Verilog2001 to allow undeclared variables to not revert to single wires but instead to flag an error such as a non- declared variable, a misspelling, or capitalization problems. I'm not finding this information in any of my conveniently accessible tool help or Verilog2001 references. Is this supported in most (or any) tools? My specific desires are mostly FPGA synthesis but the broader question still applies. Thanks, - John_H |
|
#2
| |||
| |||
| On Sep 4, 5:05*pm, John_H <newsgr...@johnhandwork.com> wrote: > I remember seeing that the directive > > * * `default net_type none > > was defined for Verilog2001 to allow undeclared variables to not > revert to single wires but instead to flag an error such as a non- > declared variable, a misspelling, or capitalization problems. > > I'm not finding this information in any of my conveniently accessible > tool help or Verilog2001 references. > > Is this supported in most (or any) tools? *My specific desires are > mostly FPGA synthesis but the broader question still applies. > > Thanks, > - John_H Try: `default_nettype none Regards, Gabor |
|
#3
| |||
| |||
| gabor wrote: > On Sep 4, 5:05 pm, John_H <newsgr...@johnhandwork.com> wrote: >> I remember seeing that the directive >> >> `default net_type none >> >> was defined for Verilog2001 to allow undeclared variables to not >> revert to single wires but instead to flag an error such as a non- >> declared variable, a misspelling, or capitalization problems. >> >> I'm not finding this information in any of my conveniently accessible >> tool help or Verilog2001 references. >> >> Is this supported in most (or any) tools? My specific desires are >> mostly FPGA synthesis but the broader question still applies. >> >> Thanks, >> - John_H > > > Try: > > `default_nettype none > > Regards, > Gabor Thanks, Gabor. Suddenly there's 1130 Google hits. I feel much better now. - John_H |
|
#4
| |||
| |||
| On Sep 4, 9:56*pm, John_H <newsgr...@johnhandwork.com> wrote: > gabor wrote: > > On Sep 4, 5:05 pm, John_H <newsgr...@johnhandwork.com> wrote: > >> I remember seeing that the directive > > >> * * `default net_type none > > >> was defined for Verilog2001 to allow undeclared variables to not > >> revert to single wires but instead to flag an error such as a non- > >> declared variable, a misspelling, or capitalization problems. > > >> I'm not finding this information in any of my conveniently accessible > >> tool help or Verilog2001 references. > > >> Is this supported in most (or any) tools? *My specific desires are > >> mostly FPGA synthesis but the broader question still applies. > > >> Thanks, > >> - John_H > > > Try: > > > `default_nettype none > > > Regards, > > Gabor > > Thanks, Gabor. *Suddenly there's 1130 Google hits. *I feel much better now. > > - John_H No problem. I had to look it up myself, but it's much easier in the index of the Doulos Verilog Golden Reference Guide than on the web when you're not sure of the exact syntax. Regards, Gabor |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.