diff --git a/src/doe/rtl/doe_reg.sv b/src/doe/rtl/doe_reg.sv index 2d8863604..aefc74748 100644 --- a/src/doe/rtl/doe_reg.sv +++ b/src/doe/rtl/doe_reg.sv @@ -1409,6 +1409,6 @@ module doe_reg ( assign cpuif_rd_data = readback_data; assign cpuif_rd_err = readback_err; -`CALIPTRA_ASSERT_KNOWN(ERR_HWIF_IN, hwif_in, clk, hwif_in.reset_b) +`CALIPTRA_ASSERT_KNOWN(ERR_HWIF_IN, hwif_in, clk, hwif_in.cptra_pwrgood) endmodule \ No newline at end of file diff --git a/src/soc_ifc/rtl/sha512_acc_csr.sv b/src/soc_ifc/rtl/sha512_acc_csr.sv index 8bed2ecd7..621d38d37 100644 --- a/src/soc_ifc/rtl/sha512_acc_csr.sv +++ b/src/soc_ifc/rtl/sha512_acc_csr.sv @@ -1616,6 +1616,6 @@ module sha512_acc_csr ( assign cpuif_rd_data = readback_data; assign cpuif_rd_err = readback_err; -`CALIPTRA_ASSERT_KNOWN(ERR_HWIF_IN, hwif_in, clk, hwif_in.cptra_rst_b) +`CALIPTRA_ASSERT_KNOWN(ERR_HWIF_IN, hwif_in, clk, hwif_in.cptra_pwrgood) endmodule \ No newline at end of file diff --git a/src/soc_ifc/rtl/soc_ifc_reg.sv b/src/soc_ifc/rtl/soc_ifc_reg.sv index d0ba5245e..a79a8b00c 100644 --- a/src/soc_ifc/rtl/soc_ifc_reg.sv +++ b/src/soc_ifc/rtl/soc_ifc_reg.sv @@ -5684,6 +5684,6 @@ module soc_ifc_reg ( assign cpuif_rd_data = readback_data; assign cpuif_rd_err = readback_err; -`CALIPTRA_ASSERT_KNOWN(ERR_HWIF_IN, hwif_in, clk, hwif_in.cptra_rst_b) +`CALIPTRA_ASSERT_KNOWN(ERR_HWIF_IN, hwif_in, clk, hwif_in.cptra_pwrgood) endmodule \ No newline at end of file diff --git a/tools/scripts/rdl_post_process.py b/tools/scripts/rdl_post_process.py index f7291e57d..337db32ca 100644 --- a/tools/scripts/rdl_post_process.py +++ b/tools/scripts/rdl_post_process.py @@ -38,11 +38,11 @@ def scrub_line_by_line(fname): has_unpacked = re.search(r'\[\d+\]', line) has_struct = re.search(r'\bstruct\b\s*(?:unpacked)?', line) is_endmodule = re.search(r'\bendmodule\b', line) - has_reset = re.search(r'\bnegedge.+\_b\b', line) + has_reset = re.search(r'\bnegedge\b', line) if (has_reset is not None and found_hard_reset is None): substring = re.search(r"negedge (\w+.\w+)", line) reset_name = substring.group(1) - found_hard_reset = re.search(r'hard|power',reset_name) + found_hard_reset = re.search(r'hard|pwrgood',reset_name) # Skip lines with logic assignments or references to signals; we # only want to scrub signal definitions for unpacked arrays if (has_assign is not None or has_reg_strb is not None):