Refactor signdness changing code into a single function
Refactor signdness changing code into a single function

This is the code that generated calls to signed/unsigned in
the VHDL output.

themperek/iverilog,themperek/iverilog,themperek/iverilog,CastMi/iverilog,CastMi/iverilog,CastMi/iverilog