Wait statement is one of the useful statements in VHDL. we can use it for either synthesizable or non-synthesizable code. Below are 3 main syntax for wait statement:
+ wait until condition
For example: wait until i_clk_sl'event and i_clk_sl = '1';
+ wait until condition
For example: wait until i_clk_sl'event and i_clk_sl = '1';