gmii2fifo18.v: support global_counter