a more elegant solution to the sgl configuration problem in algo1_nandsim

Change-Id: Icc444eaaafdffc635cce685d438b3104cca8a497