// Module provides at the output the absolute value of the input voltage module V_absolute(in,out); input in; output out; voltage in,out; analog V(out) <+ abs(V(in)); endmodule