fixed compile on PCM_MM_reg
moved testbench