Quantcast
Channel: Cadence Custom IC Design Forum
Viewing all 4928 articles
Browse latest View live

Home-BML


Cadence virtuoso CDB to OA conversion ( ERROR*loadcontext )

$
0
0

hi

I transfer new pdk from CDB to OA format using the conversion toolbox. The conversion is completed without problem but
when i create a library > attach it to new pdk this error appear in icw:
*ERROR*loadcontext:
"/root/desktop/TSMC130_pdk/tsmc13rf/../skill/64bit/pdkutil.cxt"
in skill folder from newpdk there isn't any 64bit folder but there is pdkutil.cxt in skill folder
my cadance is 617-64bit and my GNU/Linux x86_64

after that when i insert object for example transistor in schematic this error is appear in icw

*Error* arrayref: can't handle nil["tsmc13rf"]
*WARNING* (SCH-1156): CDF parameter function has problem.
how can i solve it?
thanks

Stability analysis with hbstb

$
0
0

Hi,

I am trying to run stability analysis on an amplifier by putting a "diffstbprobe" instance and running hb+hbstb analysis.

However I get the following error while running the simulation after selecting the diffstbprobe in hbstb analysis:

"Name conflict: value 'I102' of type 'scalar subcircuit instance' encountered. Expected value is of type 'scalar instance'."

I don't have this issue if I do the exact same procedure with pss+pstb instead of hb+hbstb.

Creating and editing models

$
0
0

Hi Friends

I needed an LM565 to simulate, but unfortunately, the software did not have that LM565, and I accidentally saw this code on the Internet!
But I do not know how to give this code to the software!

The code is available in the following file

community.cadence.com/.../SUBCIRCUIT.pdf

I have another problem and that I do not know what the format code is ?! And that when I copied this code from this PDF I had to change it. Can you help me and tell me if the code in the file above is the same as the code I wrote below or not ?!

Thank You

code:

.SUBCKT LM565 1 2 3 4 5 6 7 8 9 10
C_C1 0 init 1u
R_R3 $N_0001 6 1.75k
R_R4 0 init 1g
R_R6 8 9 10g
R_R2 3 0 10g
R_R1 $N_0002 7 3.6k
E_E15 $N_0002 0 VALUE { V($N_0003, 0)+V(6,0) }
E_E1 $N_0003 0 TABLE { 0.68*V(2, 0)*V(5,0) } + ( (-0.68,-0.68) (0.68,0.68) )
G_G1 init 0 VALUE { (V(7,0)-V(6,0))*0.00001458/(R0*C0*(V(10,0)-V(1,0))) }
E_E13 4 0 VALUE {sin(6.28*(0.27/(R0*C0))*(time+(R0*C0/(6.28*0.27))*V(0,init))) }
E_E3 $N_0001 0 VALUE {0.126354*(0.7+V(1,0))+0.873646*V(10,0) }
.ENDS

csh C script for automating the ocean simulation

$
0
0

Dear all,

I am trying to build a C script that sets the environment, invokes the ocean software and completes the simulation without any interventions required. (basically automating the whole simulation).

In the bigger picture, I want simulations to be invoked by MATLAB and I want the simulations to be performed in inputs varying iteratively (given by a Matlab algorithm).

The C script looks something like this:

csh

source /home/install/cshrc

ocean

load("test.ocn")

The problem is that the commands up to the line "ocean" work beautifully.

But I am not able to run the "load" command and is the reason I am not able to complete the simulation.


After some searching, I found that the "load" command can be placed in a .oceanrc file. But I am not sure it will work and also I am not able to find its directory nor have any idea where to place it. 

Can anyone suggest a method so that I can complete this script?

Any leads are highly appreciated.

Thank You

Aksh Chordia

CALCULATOR DNL/ INL DAC

$
0
0

Hi

I'm designing a 4 bit DAC.I have completed the schematic and The output waveform of the block is as follows

I want measure INL error and I use INL function in calculator I try this expression

dnl(v("/net055" ?result "tran") 6.251e-5  ?mode "auto"  ?crossType "rising" ?delay 0.0 ?method "end" ?units "abs" ?nbsamples 16)

and it could't It does not work properly  the output waveform is as follows

Where is the problem? 

 is my method to use this function currect ?

THANKS

harmonic balance for down-converting mixers

$
0
0

greetings folks.

i have the following problem:

i am running a pss simulation at 5.5G for a down-converting mixer. i have f_lo=5.500G. f_rf=5.502G, so pss computes beat frequency as 2MHz.

i can nominally run this simulation using the shooting method. however, i know want to include s-parameter models for components in the matching network, etc so i can't use shooting method anymore, and need to switch to harmonic balance.

this is where i run into a problem. to run harmonic balance at beat frequency of 2M and capture circuit behavior ar RF frequency of 5.5G requires enormous number of harmonics.

is there an obvious way to do this that i'm not aware of?

ams XCELIUM simulation pauses

$
0
0

Hello,

we encounter the following issue in a mixed signal simulation using the following tools:

IC6.1.8-64b.500.15

XCELIUM 19.09-s010

SPECTRE 18.1.0.556.isr13 64bit not sure if the spectre version is bound to the XCELIUM release anyway

The simulation "pauses" after a few hours runtime. The xmsim process is not consuming any cpu power anymore and is in "S" state. The simulation log does not show anything unnormal - it's just not updating anymore. Now the strange thing: it is possible to get the process back to live by sending a kill signale - SIGUSR1 - to the process. The simulation just proceeds and eventually stops after a few hours again.

It does not matter if the simulation is running as a local simulation or via SGE on a cluster configuration.

Regards,

Michael


Probing All Currents in ADE Explorer / XL Without Inserting Components or Manual Selection

$
0
0

Hi,

 Is there a way to save every single pin current so that I don't have to manually Save each one of them? I see a common issue where regardless of the Save Options settings, current will not probe unless you manually select the nets you want probed. Or unless you insert an analog component from analogLib, such as iProbe or Resistor. However, both these methods are unpractical and can become quite tedious for large circuits... 

I've gone to

Outputs --> Save All, and
select "All" for "Select device currents",
Select AC Terminal Currents "yes" 
Subcircuit Probe Level "4" 

but still no luck.

Is there something I am missing or is this a known bug? 

sampling a digital bus

$
0
0

Hi,

I've created a digital bus from an analog bus b<4:0> from VIVA Measurements -> Anaog to Digital menu. I would like to sample this bus at regular intervals, I've tried the sample and the value functions from calculator but none of them work

how to define actime_pair = yes

$
0
0

Hi,

I can't find the transient option of actime_pair. How can i set such option?

BR

Import Netlist to Schematic with existing Cells in other Libraries

$
0
0

Hello,

I have a netlist, which I want to import into an schematic view. The netlist contains several instances from a PDK library and my own libraries. The netlist format does not matter, since it will be created by a script later. However, I tried working with SPICE and CDL by exporting a simple schematic and reimport it into another library. With this I get the following error: ('TEST' is another cell in one of my libraries not existing in the destination library)

 ERROR (AVLVSNN-10091) : 'TEST' cell requested to blackbox could not be netlisted as no pin information is available.
Check blackBoxPinInfo settings for the cell.
*ERROR* cell 'TEST' is not defined.

I could not find any information about the 'blackBoxPinInfo'. I also tried adding my libraries to the 'reference library list' and to write a device map, but it seems this is only possible for a few default SPICE components to be mapped. However, if I copy the cell 'TEST' into the destination library before, the import works. 

My question is, is it possible to import a netlist, which has instances of arbitrary cells from arbitrary libraries, into a new cell of another library?

Best regards
Paul

PVS DRC Results Viewer - save preferences?

$
0
0

In the PVS 16.11 DRC Results Viewer, is there a way to save preferences, e.g. to hide the Navigator section and to turn off the Color column by default? Now every time it loads new results, the Navigator and Color column return.

Using saved corners by spectre in AMS simulator

$
0
0

Hi,

I am doing Monte Carlo simulation on a design which is only have transistor level blocks using Spectre, and save some Monte Carlo samples as statistical corners. Then I want to add some behavioral blocks (blocks described with Verilog-A), and simulate the whole design in AMS simulator. But the problem is while AMS simulator works ok in nominal corner but I receive below error when I want to simulate the design for save statistical corners:

" simulator filed to complete the simulation:

Error found by spectre during hierarchy flattening.
ERROR (SFE-1997): "statAlters/Stat_seq_98_params_0" 2:
ADEXLMC_m_PM12_mc_p_25_sp_vth0_ma: parameter `dev': Invalid component
name `PM12' was given as value of parameter.
ERROR (SFE-1997): "statAlters/Stat_seq_98_params_0" 5:
ADEXLMC_m_I27_NM3_mc_n_25_sp_u0_ma: parameter `dev': Invalid component
name `I27.NM3' was given as value of parameter.
ERROR (SFE-1997): "statAlters/Stat_seq_98_params_0" 8:
ADEXLMC_m_PM20_mc_p_25_sp_u0_ma: parameter `dev': Invalid component
name `PM20' was given as value of parameter.
ERROR (SFE-1997): "statAlters/Stat_seq_98_params_0" 11:
ADEXLMC_m_PM14_mc_p_25_sp_u0_ma: parameter `dev': Invalid component
name `PM14' was given as value of parameter.
ERROR (SFE-1997): "statAlters/Stat_seq_98_params_0" 14:
ADEXLMC_m_PM14_mc_p_25_sp_vth0_ma: parameter `dev': Invalid component
name `PM14' was given as value of parameter.

...

"

I appreciate any help regarding this problem, Thanks.

What is the warning Spectre CMI-2178?

$
0
0

1.

In my AMS run using ADE amsstate in Xcelium I get the above warning. 

The warning is saying that GND connection (which is the top level terminal) cannot be connected to the a node inside the hierarchy. 

I tried searching for the warning message but found no documentation around it.

2. 

How do we find information about Spectre warning. The reference document of Spectre seems to mention nothing about it. 

3.

Also is there a command line access to spectre to query about warnings/error messages? 


DC Sweep multiple variables at same time

$
0
0

I'd like to run a dc sweep for two variables at the same time. For example, vdc_Var1 would start from 3V to 6V and vdc_Var2 would start from 6V to 3V.

I found a similar post here:Sweeping 2 variables (at a time) in Parametric analysis

But I didn't see the "Group as Parametric Set" option when right click on the global variables.

My ADE XL version: 6.1.5.500.9

Is there any other way to do it?

Rise & fall time of a periodic signal

$
0
0

Hi All,

i am sweeping capacitance being driven by a signal in my testbench to see the impact of the capacitor. The signal is a periodic one as shown below from 0 to 1.8v

Is there a way I can get the raise & fall time of the signal plot against the swept capacitance ?

The signal gets skewed as the driving capacitance increases.

thanks

Outputting Specific Value After Current Threshold is Crossed

$
0
0

Hi everyone,


Setup: ADE Explorer simulation with multiple Run options across multiple corners -- where I am sweeping my gate input voltage from rail to rail, and calculating different parameters including average current within a time period. 

My Question: Is there a way to detect which one of these average currents across the entire sweep will be the closest to a certain threshold? (e.g. 2 uA).  Then output the closest input gate voltage at that specific threshold for the Corner? If so, what is the easiest way to do this via setup?

Note: this can be done post-processing of course via excel or similar, but I want to know if I can do this within the simulation tool itself. It would be much more convenient. 

Thank you

preserve instance in SpectreX?

$
0
0

Hi,

I am using pkg model with small RLGC values. The waveform looks incorrect, guess it's due to circuit reduction.

"preserve_inst" option is ignored in SpectreX.

Is there any method to preserve instance in SpectreX?

Using Pspice subckt in SPECTRE Simulation

$
0
0

Hello, 

Being new to Cadence, I am working on a project that uses Cadence Virtuoso and a SPICE SUBCKT with the following text: 

.SUBCKT memristor 1 2 6
Eres 1 9 POLY(2)
+(8, 0) (11, 0) 0 0 0 0 1
Vsense 9 4 DC 0V
Fcopy 0 8 Vsense 1
Rstep 8 0 1K
Rser 2 4 10
Fmem 6 0 POLY(2) Vsense
+Ecopy -0.5E-10 0 1E-10 0 -1 0 0 0 1
Cmem 6 0 90nF
Rsp 6 0 1000Meg
Ecopy 7 0 0 6 1
Rc 7 0 1
Ecpy2 10 0 6 0 1
Vref ref 0 DC 1V
R1 10 11 100K
Ssat1 11 0 0 11 SWX
Ssat2 11 ref 11 ref SWX
.MODEL SWX SW(Ron=0.001, Roff=1000Meg,
+Vt=0.00001V, Vh=0.00001V)
.END

I have created a new PSPICE Cellview in a Cell called memristor and pasted this text in it. I then created a symbol cellview from this cellview to use it in a schematic.

I made a new Cell (lets call it BioSensor), in which I implemented the symbol previously created. I then used elements from the AnalogLib library to complete my schematic. I am now trying to use ADE L (set as spectre simulator) to simulate and check if my circuit is working. I get the following error:

egin Incremental Netlisting Dec 23 19:30:39 2020
ERROR (OSSHNL-116): Unable to descend into any of the views defined in the view list, 'spectre cmos_sch cmos.sch schematic veriloga', for the
instance 'I3' in cell 'BioSensor'. Either add one of these views to the library 'MEMRISTOR',
cell 'memristor' or modify the view list to contain an existing view.

End netlisting Dec 23 19:30:39 2020
ERROR (OSSHNL-514): Netlist generation failed because of the errors reported above. The netlist might not have been generated at all, or the generated netlist could be corrupt. Fix the reported errors and regenerate the netlist.
...unsuccessful.

Would it be possible to give me a hand in order to determine what my problem is?

Thanks in advance,

David

Viewing all 4928 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>