portal directory works in bsim but not on zynq platform.  I have no idea why