If your variable is always going to be 4 bits, the complement would be got by variable(comp) = 15-variable.

Regards,

Anand