From 9693a1688064578d9f9254657c0ec5bce9f85ad2 Mon Sep 17 00:00:00 2001 From: Pirmin Vogel Date: Tue, 26 Nov 2024 13:01:11 +0100 Subject: [PATCH] [regtool] Add inline veriblelint waivers for line-length rule in ral_pkg 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 --- util/reggen/uvm_reg_base.sv.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/util/reggen/uvm_reg_base.sv.tpl b/util/reggen/uvm_reg_base.sv.tpl index c9bb777ad9dc2..04912cc5df3fa 100644 --- a/util/reggen/uvm_reg_base.sv.tpl +++ b/util/reggen/uvm_reg_base.sv.tpl @@ -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