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
Author Name: David Rogoff
Original Redmine Issue: 390 from https://www.veripool.org
Original Date: 2011-09-15
Original Assignee: Michael McNamara
Hi again.
I've got a ton of signals and ports that are various typedefs/structs. When verilog-mode indents these, it doesn't recognize the types and doesn't indent them properly.
For example:
typedef logic [7:0] mytype1_s; // cell pointer
typedef struct packed {
mytype1_s aa;
celloffset_s bb;
logic cc;
logic dd;
logic ee;
} mystruct1_s;
module test_indent
(
input logic clock,
output logic [31:0] data_out,
input mystruct1_s p1, // NOT INDENTED CORRECTLY
output to_qram_rdarb_s [3:0] out_arry1, // NOT INDENTED CORRECTLY
output logic done
);
endmodule // test_indent
// Local Variables:
// verilog-typedef-regexp: "_s$"
// End:
Is there some way to let verilog-mode know about my data types? Something like what verilog-typedef-regexp does for AUTOs?
Thanks!
David
The text was updated successfully, but these errors were encountered:
Author Name: David Rogoff
Original Redmine Issue: 390 from https://www.veripool.org
Original Date: 2011-09-15
Original Assignee: Michael McNamara
Hi again.
I've got a ton of signals and ports that are various typedefs/structs. When verilog-mode indents these, it doesn't recognize the types and doesn't indent them properly.
For example:
Thanks!
David
The text was updated successfully, but these errors were encountered: