Increment credits on replenish, decrement on consume when nonzero, and hold
when both are asserted. Reset the count to zero. async_reset_n is deliberately
asynchronous at assertion; design a synchronous release path before ordinary
state exits reset. The implementation will be checked for reset-domain safety.
Return plain SystemVerilog only.
Write the complete module to /app/design.sv. Do not create or modify other files.