Quantcast
Channel: Cadence Custom IC Design Forum
Viewing all articles
Browse latest Browse all 4891

Matlab cds_srr DC sweep of Mosfet Parameters

$
0
0

Hi,

I am running cadence 6.1.7-64b along with MATLAB R2016b. I am trying to run a MATLAB script in which I perform a DC sweep on MOSFET parameters such as id, vt, igs, gm, gmb,... and store the parameters in a table.

My assignment of the cds_srr function and output are shown below:

struct_n = cds_srr(c.outfile, c.sweep, params_n{1})

c.sweep = 'dcOpInfo-info', params_n{1} = mn.mds.ids

The output is shown below:

cds_srr(c.outfile,c.sweep)
Total: 23 properties
  'PSFversion'   'BINPSF creation time'   'PSF style'   'PSF types'   'PSF sweeps'   'PSF sweep points'   'PSF sweep min'   'PSF sweep max'   'PSF groups'   'PSF traces'   'simulator'   'version'   'date'   'design'   'analysis type'   'analysis name'   'analysis description'   'xVecSorted'   'tolerance.relative'   'AnalysisName'   'AnalysisType'   'OpPointTemp.Value'   'OpPointTemp.Units'

Total: 0 type(s) of signals

struct_n =

  struct with fields:

        info: {'psp103'  'A'  'vbsp'  ''  'vdsp'  ''  'vgsp'  ''  'p_length'  ''  'n_length'  ''  'vsbn'  ''  'vgsn'  ''  'vdsn'  ''}
        vdsn: [0 1.5000 3]
        vgsn: [0 1.5000 3]
        vsbn: [0 1]
    n_length: [3.6000e-07 1.3600e-06]
    p_length: [3.6000e-07 1.3600e-06]
        vgsp: [0 1.5000 3]
        vdsp: [0 1.5000 3]
        vbsp: [2×1 double]
      psp103: [8-D double]

I am confused regarding the output because I expected to see all of the saved DC op quantities in the format shown below:

cds_srr('/home/username/simulation/NMOS_CHAR/spectre/schematic/psf','dc-dc')
Total: 26 properties
     'PSFversion'      'BINPSF creation time'      'PSF style'      'PSF types'      'PSF sweeps'      'PSF sweep points'      'PSF sweep min'      'PSF sweep max'      'PSF groups'      'PSF traces'      'simulator'      'version'      'date'      'design'      'analysis type'      'analysis name'      'analysis description'      'xVecSorted'      'tolerance.relative'      'reltol'      'abstol(V)'      'abstol(I)'      'temp'      'tnom'      'tempeffects'      'gmindc'

Total: 11 type(s) of signals
Signal type: F    Data type: Real
     'M1:cjd'      'M1:cjs'      'M1:cgg'      'M1:cgd'      'M1:cgs'      'M1:cgb'      'M1:cdg'      'M1:cdd'      'M1:cds'      'M1:cdb'      'M1:csg'      'M1:csd'      'M1:css'      'M1:csb'      'M1:cbg'      'M1:cbd'      'M1:cbs'      'M1:cbb'      'M1:cgsovl'      'M1:cgdovl'      'M1:cgbovl'      'M1:cddbi'      'M1:cssbi'      'M1:cggbi'      'M1:cgsbi'      'M1:cgdbi'      'M1:cbdbi'      'M1:cbsbi'
Signal type: V    Data type: Real
     'M1:vgs'      'M1:vds'      'M1:vbs'      'M1:vgb'      'M1:vdb'      'M1:vgd'      'M1:vth'      'M1:vdsat'      'M1:vgsteff'      'net1'      'net3'      'net7'
Signal type: I    Data type: Real
     'V0:p'      'V1:p'      'V2:p'
Signal type: enum    Data type: Real
     'M1:region'      'M1:reversed'
Signal type: A    Data type: Real
     'M1:ids'      'M1:isub'      'M1:id'      'M1:is'      'M1:ibulk'      'M1:ibs'      'M1:ibd'      'M1:i1'      'M1:i3'      'M1:i4'      'M1:igd'      'M1:igs'      'M1:igb'      'M1:igcs'      'M1:igcd'      'M1:igidl'      'M1:igisl'
Signal type: S    Data type: Real
     'M1:gm'      'M1:gds'      'M1:gmbs'      'M1:gbd'      'M1:gbs'
Signal type: A_V_2    Data type: Real
     'M1:betaeff'
Signal type: Coul    Data type: Real
     'M1:qb'      'M1:qg'      'M1:qd'      'M1:qbd'      'M1:qbs'      'M1:qinv'      'M1:qgi'      'M1:qsi'      'M1:qdi'      'M1:qbi'      'M1:qsrco'
Signal type: Ohm    Data type: Real
     'M1:ron'
Signal type: W    Data type: Real
     'M1:pwr'
Signal type: V    Data type: Real
     'M1:gmoverid'

Can someone please help me?

Sincerely,

Adithya


Viewing all articles
Browse latest Browse all 4891

Trending Articles



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