Sign up to request clarification or add additional context in comments.
Comments
0
in the above case if both A/B are declared as 'signed', then the simple logic of
B = -A should work and i tried in a simple case and it works. Verilog already does everything in 2's complement.