Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Computer Aided Design - CAD > Cadence > Re: Behavioral ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 5 Topic 4000 of 4373
Post > Topic >>

Re: Behavioral voltage source

by oliver <screwi@[EMAIL PROTECTED] > May 13, 2008 at 06:20 AM

On May 13, 3:23=A0am, ambi <radicalmah...@[EMAIL PROTECTED]
> wrote:
> Hi,
> =A0 =A0 =A0 I am a bit new to cadence and I am trying to create a
behavior=
al
> voltage source like those available in some of the Spice tools.
> I basically want to have a voltage source with output Vout=3D(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=3D(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
 




 5 Posts in Topic:
Behavioral voltage source
ambi <radicalmahesh@[E  2008-05-13 01:23:36 
Re: Behavioral voltage source
ambi <radicalmahesh@[E  2008-05-13 03:09:07 
Re: Behavioral voltage source
oliver <screwi@[EMAIL   2008-05-13 06:20:35 
Re: Behavioral voltage source
ambi <radicalmahesh@[E  2008-05-13 14:56:22 
Re: Behavioral voltage source
Andrew Beckett <andrew  2008-05-14 06:14:07 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Dec 1 20:24:38 CST 2008.