You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AUTOINOUTMODULE and AUTOINST seem to have a tough time working together. Here's a MWA:
module mod_stub
(/*AUTOINOUTMODULE("mod")*/
);
endmodule // mod_stub
module mod
(input i,
output o);
mod_stub i_stub
(/*AUTOINST*/);
endmodule // mod
When I do C-c C-a, it brings up this:
module mod_stub
(/*AUTOINOUTMODULE("mod")*/
// Beginning of automatic in/out/inouts (from specific module)
output o,
input i
// End of automatics
);
endmodule // mod_stub
module mod
(input i,
output o);
mod_stub i_stub
(/*AUTOINST*/);
endmodule // mod
Notice that it failed to populate the AUTOINST.
Basically, i am trying to create the stub of a module and instantiating it inside the module. If there is a better way to do this, please let me know.
The text was updated successfully, but these errors were encountered:
Original Redmine Comment
Author Name: Wilson Snyder (@wsnyder)
Original Date: 2017-09-15T22:36:10Z
Verilog-mode expects there to be generally one module per file, which is also a standard best practice. Then you verilog-mode from bottom up and it will work.
Author Name: Dushyant Juneja
Original Redmine Message: 2338 from https://www.veripool.org
Hi,
AUTOINOUTMODULE and AUTOINST seem to have a tough time working together. Here's a MWA:
When I do C-c C-a, it brings up this:
Notice that it failed to populate the AUTOINST.
Basically, i am trying to create the stub of a module and instantiating it inside the module. If there is a better way to do this, please let me know.
The text was updated successfully, but these errors were encountered: