compile pass for sw/hw config