The $queue routines can use two-state variables.
The $queue routines can use two-state variables.

Update the various $queue routines to use the appropriate two-state
variables depending on the context.

themperek/iverilog,CastMi/iverilog,themperek/iverilog,CastMi/iverilog,CastMi/iverilog,themperek/iverilog