Asyncronous rst coding in SV

In reply to cuonghl:

Hey @cuonghle !
Thanx for your reply!

i_rst is the main reset signal (that is correct), but what I mean with c_act_rst is the polarity of the active reset, meaning:


c_act_rst <= 1'b0; // means reset is active LOW
c_act_rst <= 1'b1; // means reset is active HIGH

c_act_rst is a static parameter defined at compile time, i.e. is a constant.