// FIXME: REPEAT with a count of zero will not work properly
always @(posedge clk) begin
- if (!rst) begin
+ if (rst) begin
`reset
full <= 0;
out_draining <= 0;
end else begin
- `flush
`cleanup
if (`inOp_empty) full <= 0;
if (out_draining && `out_empty) begin