Hi,
please consider the next case:
bit[44:0] address;
rand bit signed [43:0] add_or_sub_from_adress;
bit [63:0] result;
I’m trying to perform result = address + add_or_sub_from_adress;
but since the bits length of address and add_or_sub_from_adress are different I get wrong result when add_or_sub_from_adress is negative.
Any idea how should I do it correctly?
Thanks,
Moshiko