G
gabor
Guest
I'm trying to debug a project I inherited that is littered with port
size
mismatches and other issues, many created by implicit wire
declarations.
So I added a line
`default_nettype none
to help find the issues. Of course this breaks my Verilog 2001 style
port declarations. So I thought, great I'll move the line with
`default_nettype none down below the port declarations so it
just checks in the body of the code. Unfortunately, unlike `define,
the scope of `default_nettype seems to cover the entire file
regardless
of its placement within the file.
Furthermore when compiling the entire project, the `default_nettype
scope covers other modules as well. Is there any way to selectively
turn this on and off? Or should I give up and comment it out after
I finish debugging one module?
Frustrated,
Gabor
size
mismatches and other issues, many created by implicit wire
declarations.
So I added a line
`default_nettype none
to help find the issues. Of course this breaks my Verilog 2001 style
port declarations. So I thought, great I'll move the line with
`default_nettype none down below the port declarations so it
just checks in the body of the code. Unfortunately, unlike `define,
the scope of `default_nettype seems to cover the entire file
regardless
of its placement within the file.
Furthermore when compiling the entire project, the `default_nettype
scope covers other modules as well. Is there any way to selectively
turn this on and off? Or should I give up and comment it out after
I finish debugging one module?
Frustrated,
Gabor