Skip to content

Commit

Permalink
[regtool] Add inline veriblelint waivers for line-length rule in ral_pkg
Browse files Browse the repository at this point in the history
The ral_pkg files are all auto-generated and depending on the name and
exact instantiation of shadow registers (potentially `hwext`), may
contain pretty long path names. To avoid veriblelint flagging warnings
about this (it feels silly as the files are auto-generated anyway), this
commit adds a suitable inline waiver specifically for shadow registers
paths.

Signed-off-by: Pirmin Vogel <[email protected]>
  • Loading branch information
vogelpi committed Nov 26, 2024
1 parent 8568aec commit 73806af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions util/reggen/uvm_reg_base.sv.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -601,10 +601,10 @@ reg_field_name, field)">\
assert 0
%>\
${reg_inst}.add_hdl_path_slice(
"${shadowed_reg_path}.committed_reg.q",
"${shadowed_reg_path}.committed_reg.q", // verilog_lint: waive line-length
${field.bits.lsb}, ${field.bits.width()}, 0, "BkdrRegPathRtl");
${reg_inst}.add_hdl_path_slice(
"${shadowed_reg_path}.shadow_reg.q",
"${shadowed_reg_path}.shadow_reg.q", // verilog_lint: waive line-length
${field.bits.lsb}, ${field.bits.width()}, 0, "BkdrRegPathRtlShadow");
% endfor
% endif
Expand Down

0 comments on commit 73806af

Please sign in to comment.