DG pass test control and separate mem and reg