On May 13, 7:20 am, oliver <scr...@[EMAIL PROTECTED]
> wrote:
> On May 13, 3:23 am, ambi <radicalmah...@[EMAIL PROTECTED]
> wrote:
>
> > Hi,
> > I am a bit new to cadence and I am trying to create a behavioral
> > voltage source like those available in some of the Spice tools.
> > I basically want to have a voltage source with output Vout=(V(VREFP)-
> > V(VREFM))/2 . where VREFP and VREFM are 2 distinct voltages.
> > In LTSpice which I am using currently, I can place a component called
> > behavioral voltage source on the schematic and mention its value as
> > V=(V(VREFP)-V(VREFM))/2.
> > Can anyone suggest how to get this in cadence ?
> > Thanks
>
> > Ambi
>
> You can create the behavioral voltage source with the veriloga
> behavioral language
> (veriloga cell). Something like:
>
> module myvsource(vrefp, vrefm, vout) ;
> electrical vrefp,vrefm,vout ;
> input vrefp, vrefm ;
> output vout ;
>
> analog begin
> V(vout) <+ (V(vrefp)-V(vrefm))/2 ;
> end
> endmodule
>
> Oliver
Thanks Oliver. But I am trying not to use verilog A. The design
constraint wants me to avoid using verologA. I need it as a component
to use it in my schematic.
Regards,
Ambi


|