| Author |
Message |
danda821
Joined: 18 Jun 2002 Posts: 143 Helped: 2
|
06 Aug 2004 19:35 voltage controlled capacitor verilog a |
|
|
|
|
| Does anyone know how to add a voltage-controlled cap in Cadence IC? I found a vccap model in analogLIb, but it can be only used in HspiceS. I want to use spectre simulator. Do I need to use Verilog-A or spectreHDL to model the device? Thank you.
|
|
| Back to top |
|
 |
Hughes
Joined: 10 Jun 2003 Posts: 718 Helped: 87
|
09 Aug 2004 5:23 vccap cadence |
|
|
|
|
| With veriloga we can write more flexible models than hspice's vccap. I suggest you use veriloga.
|
|
| Back to top |
|
 |
hanjiemy
Joined: 11 Jun 2004 Posts: 54
|
09 Aug 2004 7:03 spice vccap |
|
|
|
|
u can use Behavioral Cap in Hspice:
Cxxx net1 net2 "C=f(Vctrl)" TYPE=0,1,2
hope it can help u!
|
|
| Back to top |
|
 |
DoctorX
Joined: 02 Sep 2004 Posts: 73 Location: USA
|
15 Sep 2004 1:25 voltage controlled capacitor |
|
|
|
|
| danda821 wrote: |
| Does anyone know how to add a voltage-controlled cap in Cadence IC? I found a vccap model in analogLIb, but it can be only used in HspiceS. I want to use spectre simulator. Do I need to use Verilog-A or spectreHDL to model the device? Thank you. |
You can just use a PMOS FET, hook the S and D to GND, and gate to the node desired. The substrate is your control handle. Apply a voltage to it. I know it works that way through two chips fabricated via MOSIS.
|
|
| Back to top |
|
 |
nus_lin
Joined: 17 Feb 2005 Posts: 27 Helped: 1
|
17 Feb 2005 8:09 voltage controlled capacitor in veriloga |
|
|
|
|
| danda821 wrote: |
| Does anyone know how to add a voltage-controlled cap in Cadence IC? I found a vccap model in analogLIb, but it can be only used in HspiceS. I want to use spectre simulator. Do I need to use Verilog-A or spectreHDL to model the device? Thank you. |
did you solved this problem? if you have the modified model, can you share it with me?
|
|
| Back to top |
|
 |
Vamsi Mocherla
Joined: 06 Sep 2004 Posts: 482 Helped: 62
|
17 Feb 2005 8:52 cadence voltage controlled capacitor |
|
|
|
|
| In the CDF model parameter form, you can enter a form for your cap with all the voltage coefficients. You refer to CDF parameter manual in Cadence
|
|
| Back to top |
|
 |
nus_lin
Joined: 17 Feb 2005 Posts: 27 Helped: 1
|
18 Feb 2005 4:34 cadence vccap |
|
|
|
|
| Vamsi Mocherla wrote: |
| In the CDF model parameter form, you can enter a form for your cap with all the voltage coefficients. You refer to CDF parameter manual in Cadence |
actually the voltage controlled capacitor we are looking for is not a simple varactor.
the control voltage should be independant on the voltage applied to the capacitor. so it is a four terminal device.
|
|
| Back to top |
|
 |
Vamsi Mocherla
Joined: 06 Sep 2004 Posts: 482 Helped: 62
|
21 Feb 2005 8:22 cadence voltage controlled capacitance |
|
|
|
|
| Then you can model a behavioural model using Verilog A with the cap value controlled by some other voltage
|
|
| Back to top |
|
 |
ahmad_abdulghany
Joined: 12 Apr 2005 Posts: 1369 Helped: 212 Location: Cairo, Egypt
|
02 Dec 2006 6:54 spectre model voltage controlled capacitor |
|
|
|
|
try this:
| Code: |
`include(disciplines)
module vari_cap( c_p, c_n, Vctrl_p, Vctrl_n);
electrical c_p, c_n, Vctrl_p, Vctrl_n;
parameter C, Co=1.0;
analog begin
C<+ Co*V(Vctrl_p,Vctrl_n);
I(c_p,c_n)<+ C*ddt(V(c_p,c_n));
end
endmodule
|
And kindly tell me if it worked or even if it has some bugs (I just wrote it, but didn't run!!!)
Regards,
Ahmad,
|
|
| Back to top |
|
 |
Google AdSense

|
02 Dec 2006 6:54 Ads |
|
|
|
|
|
|
| Back to top |
|
 |
timmy38
Joined: 11 Jul 2008 Posts: 1
|
11 Jul 2008 16:26 voltage controlled cap model |
|
|
|
|
Hi,
I tried to simulate it but there were some errors in the code, I tried to correct it but it didn't work.
I'm a beginner in Verilog A, could you please tell me how it works?
Thanks
[/quote]
|
|
| Back to top |
|
 |