By default most digital blocks in CppSim have an output between -1 and 1. I want it to be between an user-defined fixed set of values, for eg. 0 and 1.8. Till now I have been using a multiplier followed by an adder for primitive blocks(eg. xorpfd), or changing it in the code itself for non-primitive blocks (eg. vco).

Is there any other way to do it?