open-vaf 0.4.2

A compiler frontend for VerilogA aimed predominently at compact modelling
Documentation
1
2
3
4
5
6
7
8
9
10
11
module test begin
    analog begin
        if (V(x) > 32)
            I(x)<+(V(x)-V0)^2/(R1R2);
        else if (V(x) > 10 begin
            z = y==0?40:32*y)
            I(x)<+(V(x)-V0)^2/(z);
        end else
            I(x) <+ V(x)*z;
    end
endmodule