Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

`default net_type none

0 views
Skip to first unread message

John_H

unread,
Sep 4, 2008, 5:05:15 PM9/4/08
to
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

gabor

unread,
Sep 4, 2008, 5:17:52 PM9/4/08
to


Try:

`default_nettype none

Regards,
Gabor

John_H

unread,
Sep 4, 2008, 9:56:45 PM9/4/08
to

Thanks, Gabor. Suddenly there's 1130 Google hits. I feel much better now.

- John_H

gabor

unread,
Sep 5, 2008, 8:22:03 AM9/5/08
to

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

0 new messages