Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
Re: how to write a behaviour level voltage source in spectr
Thank you!
I want to express my more clrealy. Does pvcvs represent polynomial VCVS ?
If i want a time related sinusoidal wave which can be writtn as
EXXX nodea nodeb volt="sin(2*3.14159*Fosc*TIME+ sin(2*3.14159*Fjitter*TIME))" in HSPICE
Can i get the similar source in spectre?
zhonghan,
I do not know if there is a voltage source that can do that. I would use a verilog-A module in your spectre netlist (verilog-A is native in spectre).
module vsin_jitter(p,n);
output p,n;
electrical p,n;
parameter real fosc = 1.0, fjitter = 0.0, ampl = 1.0 ;
analog
begin
V(p,n) <+ ampl * sin(2.0 * ‘M_PI * fosc * $abstime + sin(2.0 * ‘M_PI * fjitter * $abstime)) ;
$bound_step(0.02/fosc) ; // Max time step = 1/50 period
end
endmodule
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.