This shows you the differences between two versions of the page.
gnucap:manual:tech:spice2verilog [2025/05/03 16:30] felixs add sckt example |
gnucap:manual:tech:spice2verilog [2025/07/07 08:56] (current) felixs fix example model code |
||
---|---|---|---|
Line 40: | Line 40: | ||
V(a,b) <+ p; | V(a,b) <+ p; | ||
end else if($analysis("tran")) begin | end else if($analysis("tran")) begin | ||
- | V(a,b) <+ p*V(c,d); | + | V(a,b) <+ p*tanh(V(c,d)); |
end | end | ||
end | end |