missing urpoly RL= RW= when netlist a device in auCdl but th

P

Paul

Guest
Hello

Two resistor instances (A & B) of the same device in a schematic
For simulation I want to netlist only instance
For CDL out, I want to netlist A &
i.e. For simulation, I only want to netlist A
For CDL out, I want to netlist both A & B
I have already tried the suggestion posted here "To netlist a device for CDL but not for simulation". After I make "ignore" view and create a config view with the hierarchy editor, the subckt name (rnpoly) and the parameters (RL= RW=) are missing
The auCdl netlist is as follow

.SUBCKT rnpoly MINUS PLUS rl=2 rw=
RR0 PLUS MINUS 190*rl/(rw-6.2e-3
.END
XR6 vcc! net16

The auCdl netlist I want i
.SUBCKT rnpoly MINUS PLUS rl=2 rw=
RR0 PLUS MINUS 190*rl/(rw-6.2e-3
.END
XR6 vcc! net16 rnpoly rl=10 rw=
Could you be generous to help please?
 
Paul wrote, on 12/14/10 16:03:
Hello,

Two resistor instances (A& B) of the same device in a schematic. For
simulation I want to netlist only instance A For CDL out, I want to netlist
A& B i.e. For simulation, I only want to netlist A. For CDL out, I want to
netlist both A& B. I have already tried the suggestion posted here "To
netlist a device for CDL but not for simulation". After I make "ignore" view
and create a config view with the hierarchy editor, the subckt name (rnpoly)
and the parameters (RL= RW=) are missing? The auCdl netlist is as follows

.SUBCKT rnpoly MINUS PLUS rl=2 rw=2 RR0 PLUS MINUS 190*rl/(rw-6.2e-3) .ENDS
XR6 vcc! net16

The auCdl netlist I want is .SUBCKT rnpoly MINUS PLUS rl=2 rw=2 RR0 PLUS
MINUS 190*rl/(rw-6.2e-3) .ENDS XR6 vcc! net16 rnpoly rl=10 rw=2 Could you be
generous to help please?
I suspect there was an error during netlisting, since the subckt name is
missing. You should check the si*log files in the working dir for any error
messages.

Regards,

Andrew.
 
On Dec 15, 3:13 pm, Andrew Beckett <andr...@DcEaLdEeTnEcTe.HcIoSm>
wrote:
Paul wrote, on 12/14/10 16:03:



Hello,

Two resistor instances (A&  B) of the same device in a schematic. For
simulation I want to netlist only instance A For CDL out, I want to netlist
A&  B i.e. For simulation, I only want to netlist A. For CDL out, I want to
netlist both A&  B. I have already tried the suggestion posted here "To
netlist a device for CDL but not for simulation". After I make "ignore" view
and create a config view with the hierarchy editor, the subckt name (rnpoly)
and the parameters (RL= RW=) are missing? The auCdl netlist is as follows

.SUBCKT rnpoly MINUS PLUS rl=2 rw=2 RR0 PLUS MINUS 190*rl/(rw-6.2e-3) .ENDS
XR6 vcc! net16

The auCdl netlist I want is .SUBCKT rnpoly MINUS PLUS rl=2 rw=2 RR0 PLUS
MINUS 190*rl/(rw-6.2e-3) .ENDS XR6 vcc! net16 rnpoly rl=10 rw=2 Could you be
generous to help please?

I suspect there was an error during netlisting, since the subckt name is
missing. You should check the si*log files in the working dir for any error
messages.

Regards,

Andrew.
Thanks a lot Andrew,

The si.log seems to be no error.
Running Artist Hierarchical Netlisting ...
End netlisting Dec 15 17:04:18 2010

Let me give the details.
In auCdl netlist generation, I want to generate the netlist shown
below
XI1 net16 gnd! / rnpoly2 rl=20 rw=2
..SUBCKT rnpoly2 MINUS PLUS rl=2 rw=2
RR0 PLUS MINUS 190*rl/(rw-6.2e-3) $[NS] $W=rw $L=rl
..ENDS

But the generated CDL out file (File->Export->CDL) is
XI1 net16 gnd! / rnpoly2 M=1
..SUBCKT rnpoly2 MINUS PLUS rl=2 rw=2
RR0 PLUS MINUS 190*rl/(rw-6.2e-3) $[NS] $W=rw $L=rl
..ENDS

The auCdl setting is given below
cdfId->simInfo->auCdl = '( nil
dollarEqualParams nil
dollarParams nil
netlistProcedure ansCdlSubcktCall
instParameters (rl rw m)
componentName rnpoly
termOrder (PLUS MINUS)
propMapping (nil L rl W rw)
namePrefix "X"
modelName "rnpoly"

Details can be found below
The cdf file is attached for reference

Thank you in advance for your help

The CDF settings are

let( ( libId cellId cdfId )
unless( cellId = ddGetObj( LIBRARY CELL )
error( "Could not get cell %s." CELL )
)
when( cdfId = cdfGetBaseCellCDF( cellId )
cdfDeleteCDF( cdfId )
)
cdfId = cdfCreateBaseCellCDF( cellId )

;;; Parameters
cdfCreateParam( cdfId
?name "model"
?prompt "Model name"
?defValue "rnpoly"
?type "string"
?display "t"
?editable "nil"
?parseAsCEL "yes"
)
cdfCreateParam( cdfId
?name "macro"
?prompt "Hspice Model name"
?defValue "iPar(\"model\")"
?type "string"
?display "nil"
?editable "nil"
?parseAsCEL "yes"
)
cdfCreateParam( cdfId
?name "macroArgumentStyle"
?prompt "macro arg style"
?defValue "hspiceS"
?type "string"
?display "nil"
?parseAsCEL "yes"
)
cdfCreateParam( cdfId
?name "r"
?prompt "Resistance"
?units "resistance"
?defValue "190"
?type "string"
?editable "cdfgData->entryMode->value =\"Resistance&Width\""
?callback "preswl_1Si()"
?parseAsNumber "yes"
?parseAsCEL "yes"
)
cdfCreateParam( cdfId
?name "tr"
?prompt "Total resistance"
?units "resistance"
?defValue "190"
?type "string"
?display "deGetEditCellView()->cellViewType !\"maskLayout\""
?editable "nil"
?parseAsNumber "yes"
?parseAsCEL "yes"
)
cdfCreateParam( cdfId
?name "entryMode"
?prompt "Entry Mode"
?defValue "Length&Width"
?choices '("Length&Width" "Resistance&Width")
?type "cyclic"
)
cdfCreateParam( cdfId
?name "rl"
?prompt "Length"
?defValue "2"
?type "string"
?editable "cdfgData->entryMode->value == \"Length&Width
\""
?callback "presr_1Si()"
?parseAsCEL "yes"
)
cdfCreateParam( cdfId
?name "rw"
?prompt "Width"
?defValue "2"
?type "string"
?display "artParameterInToolDisplay('w)"
?callback "presr_1Si()"
?parseAsCEL "yes"
)
cdfCreateParam( cdfId
?name "m"
?prompt "Multiplier"
?defValue 1
?type "int"
?display "deGetEditCellView()->cellViewType !\"maskLayout\""
?editable "deGetEditCellView()->cellViewType !\"maskLayout\""
?callback "presm_1Si()"
)
 
Paul wrote, on 12/15/10 09:14:
On Dec 15, 3:13 pm, Andrew Beckett<andr...@DcEaLdEeTnEcTe.HcIoSm
wrote:
Paul wrote, on 12/14/10 16:03:

Thanks a lot Andrew,

The si.log seems to be no error.
Running Artist Hierarchical Netlisting ...
End netlisting Dec 15 17:04:18 2010

Let me give the details.
In auCdl netlist generation, I want to generate the netlist shown
below
XI1 net16 gnd! / rnpoly2 rl=20 rw=2
.SUBCKT rnpoly2 MINUS PLUS rl=2 rw=2
RR0 PLUS MINUS 190*rl/(rw-6.2e-3) $[NS] $W=rw $L=rl
.ENDS

But the generated CDL out file (File->Export->CDL) is
XI1 net16 gnd! / rnpoly2 M=1
.SUBCKT rnpoly2 MINUS PLUS rl=2 rw=2
RR0 PLUS MINUS 190*rl/(rw-6.2e-3) $[NS] $W=rw $L=rl
.ENDS

The auCdl setting is given below
cdfId->simInfo->auCdl = '( nil
dollarEqualParams nil
dollarParams nil
netlistProcedure ansCdlSubcktCall
instParameters (rl rw m)
componentName rnpoly
termOrder (PLUS MINUS)
propMapping (nil L rl W rw)
namePrefix "X"
modelName "rnpoly"

Details can be found below
The cdf file is attached for reference

Thank you in advance for your help

The CDF settings are

let( ( libId cellId cdfId )
unless( cellId = ddGetObj( LIBRARY CELL )
error( "Could not get cell %s." CELL )
)
when( cdfId = cdfGetBaseCellCDF( cellId )
cdfDeleteCDF( cdfId )
)
cdfId = cdfCreateBaseCellCDF( cellId )

.... snipped ...
I suspect the propMapping shouldn't be there. You appear to be propMapping it to
parameters that don't exist...

Regards,

Andrew.
 
On Dec 15, 10:12 pm, Andrew Beckett <andr...@DcEaLdEeTnEcTe.HcIoSm>
wrote:
Paul wrote, on 12/15/10 09:14:





On Dec 15, 3:13 pm, Andrew Beckett<andr...@DcEaLdEeTnEcTe.HcIoSm
wrote:
Paul wrote, on 12/14/10 16:03:

Thanks a lot Andrew,

The si.log seems to be no error.
Running Artist Hierarchical Netlisting ...
End netlisting Dec 15 17:04:18 2010

Let me give the details.
In auCdl netlist generation, I want to generate the netlist shown
below
XI1 net16 gnd! / rnpoly2 rl=20 rw=2
.SUBCKT rnpoly2 MINUS PLUS rl=2 rw=2
RR0 PLUS MINUS 190*rl/(rw-6.2e-3) $[NS] $W=rw $L=rl
.ENDS

But the generated CDL out file (File->Export->CDL) is
XI1 net16 gnd! / rnpoly2 M=1
.SUBCKT rnpoly2 MINUS PLUS rl=2 rw=2
RR0 PLUS MINUS 190*rl/(rw-6.2e-3) $[NS] $W=rw $L=rl
.ENDS

The auCdl setting is given below
cdfId->simInfo->auCdl = '( nil
dollarEqualParams nil
dollarParams nil
netlistProcedure ansCdlSubcktCall
instParameters (rl rw m)
componentName rnpoly
termOrder (PLUS MINUS)
propMapping (nil L rl W rw)
namePrefix "X"
modelName "rnpoly"

Details can be found below
The cdf file is attached for reference

Thank you in advance for your help

The CDF settings are

let( ( libId cellId cdfId )
     unless( cellId = ddGetObj( LIBRARY CELL )
         error( "Could not get cell %s." CELL )
     )
     when( cdfId = cdfGetBaseCellCDF( cellId )
         cdfDeleteCDF( cdfId )
     )
     cdfId  = cdfCreateBaseCellCDF( cellId )

... snipped ...

I suspect the propMapping shouldn't be there. You appear to be propMapping it to
parameters that don't exist...

Regards,

Andrew.- Hide quoted text -

- Show quoted text -
Thanks a lot, Andrew,
I have updated propMapping from "propMapping (nil L rl W rw)" to
"propMapping (nil)"
But the newly generated auCdl netlist is still missing "rl=" and "rw="
in the line "XI1 net16 gnd! / rnpoly2 M=1"

XI1 net16 gnd! / rnpoly2 M=1
..SUBCKT rnpoly2 MINUS PLUS rl=2 rw=2
RR0 PLUS MINUS 190*rl/(rw-6.2e-3) $[NS] $W=rw $L=rl
..ENDS

Could you/anyone suggest how to modify propMapping so that auCdl can
generate e.g. "XI1 net16 gnd! / rnpoly2 M=1 rl=20 rw=2"?

Thanks in advance for your help.
 

Welcome to EDABoard.com

Sponsor

Back
Top