1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
module mergeSerialVeriRes(
    inout pos,
    inout neg
);
    (* res = 1 *) parasiticR R1 (.pos(pos), .neg(n1));
    (* res = 2 *) parasiticR R2 (.pos(n1),  .neg(n2));
    (* val = 3 *) parasiticR R3 (.pos(n2),  .neg(neg));
endmodule

module parasiticR(
    inout pos,
    inout neg
);
endmodule