-
Notifications
You must be signed in to change notification settings - Fork 97
Closed
Labels
Description
Hi,
I'm doing a third-party IP integration and using EMACS-verilog-mode.
This third-party IP using this bad coding-style in its top file, like this:
`ifdef A_EN
input[31:0] a_addr;
input a_valid;
output a_ready;
`elsif
...
`endif
But in any one of my macro-definition header files, I have not defined this macro "A_EN" at all.
Via EMACS-verilog-mode, if I create a wrapper file to include this third-party IP's RTL-top,and other my own RTL modules.
I still see that these ports on the port list in my wrapper. However these ports are not expected to present (if specifying correct macro):
Is there a way to fix this, let EMACS to correctly present the right port pins according to my macro-definitions.
Thanks,
Alex