debug IO replication
fsm testbench working again