Skip to content

Commit 52332a9

Browse files
committed
Add header include for assert macros in SV files generated from RDL
1 parent 3f29df8 commit 52332a9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/scripts/rdl_post_process.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ def scrub_line_by_line(fname):
7272
mod_cnt+=1
7373
elif (is_endmodule is not None):
7474
mod_lines+="\n"
75+
mod_lines+='`include "abr_prim_assert.sv"\n'
7576
mod_lines+="`ABR_ASSERT_KNOWN(ERR_HWIF_IN, hwif_in, clk, !" + reset_name + ")\n"
7677
mod_lines+="\n"
7778
mod_lines+=line

0 commit comments

Comments
 (0)