genlib/fifo: add test bench
lasmibus: fix master locking