fhdl: support nested statement lists
corelogic: complex arithmetic support