Closed engrvns closed 1 year ago
Perhaps /*AUTOOUTPUTEVERY*/
? See https://veripool.org/verilog-mode/help/#verilog-auto-output-every
I tried the simple example on the link and it works. /AUTOOUTPUTEVERY/
But in the real design it does not work. Are there any conditions for this... How do I debug this. I have documented the experiments I have done below
Here are the checks I did -
module test (/AUTOARG/) /AUTOINPUT/ /AUTOOUTPUT/ /AUTOOUTPUTEVERY/
/AUTOWIRE/
endmodule
If you can make a little test case showing what you get I can help debug.
A deeper debug showed that the issue was else where. On fixing an unrelated issue AUTOOUTPUTEVERY works
Refer to code below
module top (...)
wire A;
modA instA ( .out(A) ...);
modB instB ( in(A) ...);
endmodule
In the example above, I would like internal wire A to be promoted as output of module top as well. I have thousands of such wires which needs to ports..
Is there a simple way that I can force a wire matching a regex also as a port.
Thanks