`default net_type none

J

John_H

Guest
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
 
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
 
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
 
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
 

Welcome to EDABoard.com

Sponsor

Back
Top