New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SV Interface indentation issue in module ports #636
Comments
Original Redmine Comment SV Interfaces with modports are badly indented. You can reproduce the issue using the folloing code.
The same issue is also observed in the signal declaration within the module |
Original Redmine Comment Still a problem, maybe someone would like to contribute a patch? |
* verilog-mode.el (verilog-declaration-or-iface-mp-re) (verilog-declaration-or-iface-mp-re-1-no-macro) (verilog-declaration-or-iface-mp-re-2-no-macro) (verilog-get-lineup-indent, verilog-interface-modport-re) (verilog-pretty-declarations): Fix alignment of declaration of interfaces with modports (#636) (#1770).
Thanks for another great fix! |
Author Name: Christophe Clienti
Original Redmine Issue: 636 from https://www.veripool.org
SV Interfaces with modports are badly indented. You can reproduce the issue using the folloing code.
//-----------------------------------------------------------
module mymodule (input logic reset_n,
input logic clock,
streambus.sink sink,
streambus.source source,
output logic interrupt_pulse);
//-----------------------------------------------------------
The same issue is also observed in the signal declaration within the module
The text was updated successfully, but these errors were encountered: