Usenet.com

www.Usenet.com

Group Index

Comp Thread Archive from Usenet.com

<-- __Chronological__ --> <-- __Thread__ -->

Re: CDF edits don't 'Stick'



>>>>> "Johannes" == Johannes Blower <[EMAIL PROTECTED]> writes:

    Johannes> Hi I am trying to change all the well resistors in a given
    Johannes> design to hi-res poly resistors.  In DFII I select
    Johannes> 'Tools,CDF,Edit' I get a menu and I select my
    Johannes> poly-resistor symbol which is no more than a copy of my
    Johannes> well resistor symbol.  I edit the field resType to be RPHR
    Johannes> and change the model to point to the correct simulation
    Johannes> model.

    Johannes> I select OK and the menu closes without error or warning.
    Johannes> The schematic is updates and it simulates with the new
    Johannes> model.  I save the schematic.

    Johannes> If I now close DFII and re-open the schematic all the
    Johannes> resistors are back to well resistors.  Obviously I am
    Johannes> missing a crucial step.  Any help would be appreciated.

    Johannes> JNB

Hi Johannes

Make sure you are editing the base CDF and not the effective
CDF. There's a cyclic field to change the CDF type in the CDF edit
form. If you are trying to change the CDF for a device that you don't
have write access to, you can add this to your .cdsinit. However, keep
in mind that you have to run this code every time you do refresh from
disk. 

(setq myCDF (cdfGetBaseCellCDF (ddGetObj "libName" "cellName")))
(mapc
  (lambda (myCDFParam)
    (cond
        ((equal (getq myCDFParam name) "resType")
         (putpropq myCDFParam "RPHR" defValue)
         (putpropq myCDFParam "RPHR" value))
        ((equal (getq myCDFparam name) "model")
         (putpropq myCDFParam "RPHR" defValue))))
    (getq myCDF parameters))

Regards
Satya

-- 
Remove XXX and YYY to get my address



<-- __Chronological__ --> <-- __Thread__ -->


Usenet.com



Please check out one of the premium Usenet Newsgroup Service Providers below for access to Usenet.