Add printsize for HS toolchain

Signed-off-by: Yunlu Zhang <Yunlu.Zhang@synopsys.com>
Fix problem of internal errors when click Apply

Signed-off-by: Yunlu Zhang <Yunlu.Zhang@synopsys.com>