Sampling clocking block output

In reply to mseyunni:

Unlike what you are used to when writing an always block, a clocking block won’t distinguish between a clock edge and a reset event. what you might want to write instead is

clocking cb_in @ (posedge clk iff (reset_n));

That way the clocking block inputs and outputs are always kept synchronous.