|
发表于 2022-11-1 16:51:22
|
显示全部楼层
- `include “disciplines.vams”
- `include “constants.vams”
- module port (p, n);
- parameter real r=0 from (0:inf);
- parameter real dc=0;
- parameter real mag=0;
- inout p, n;
- electrical p, n;
- analog begin
- V(p,n) <+ r*l(p,n) + 2*dc;
- V(p,n) <+ 2*ac_stim(, mag);
- V(p,n) <+ white_noise(4*`P_K*$temperature*r, “thermal”);
- end
- endmodule
复制代码 |
|