`default net_type none

This is a discussion on `default net_type none within the verilog forums in Programming Languages category; 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...

Go Back   Application Development Forum > Programming Languages > verilog

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 09-04-2008, 05:05 PM
John_H
Guest
 
Default `default net_type none

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
Reply With Quote
  #2  
Old 09-04-2008, 05:17 PM
gabor
Guest
 
Default Re: `default net_type none

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
Reply With Quote
  #3  
Old 09-04-2008, 09:56 PM
John_H
Guest
 
Default Re: `default net_type none

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
Reply With Quote
  #4  
Old 09-05-2008, 08:22 AM
gabor
Guest
 
Default Re: `default net_type none

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
Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 03:14 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.