How to run Assura DRC from Command line?

Discussion in 'Cadence' started by Reotaro Hashemoto, Jan 1, 2009.

  1. Hello all,

    I've been using Calibre to make DRC checks. There, I used to use
    command line to run Calibre (like: calibre -drc -hier <runset file>).
    The runset file contains information about GDS under check, ruledeck
    location, switches setup, topcell name, ....

    Now, I'm new to Assura DRC usage, I could quickly get familiar with
    the UI DRC run with Assura, but what if I'm running Assura DRC on a
    huge number of GDS files, with different combinations of Topcells, and
    I need to store *.err and *.log files of each run in a separate
    location and unique name. I think I would be using some shell script
    to take all these inputs, write runset fiiles corresponding to each
    run, and from certain command (i need to know) run Assura then save
    results.

    Can anybody help me please regarding that?

    Thanks a lot and best regards,
    Ahmad
     
    Reotaro Hashemoto, Jan 1, 2009
    #1
  2. Reotaro Hashemoto wrote, on 01/01/09 19:05:
    Ahmad,

    All you need to do is create an "rsf" file with the details of what to run.
    Easiest way to do this is to do it once through the GUI, and then look at the
    runName.rsf file created from the GUI. For example:


    ; adc_sample_hold.rsf
    avParameters(
    ?inputLayout ( "gds2" "./adc_sample_hold.gds" )
    ?cellName "adc_sample_hold"
    ?workingDirectory "./assura"
    ?technology "gpdk090"
    ?techLib "./assura_tech.lib"
    ?avrpt t
    ?dbuPerUU 2000.0
    ?flagNon45 t
    ?flagOffGrid (0.005 1.0)
    ?joinPins top
    ?overwrite t
    ?textPriOnly nil
    ?userUnits "micron"
    )

    Then just run:

    assura ./assura/adc_sample_hold.rsf > ./assura/adc_sample_hold.log

    Regards,

    Andrew.
     
    Andrew Beckett, Jan 2, 2009
    #2
  3. Perfect! Exactly what I was looking for.

    Thanks a lot,
    Ahmad
     
    Reotaro Hashemoto, Jan 2, 2009
    #3
  4. Hi Andrew,

    Additional question please, In Calibre, I can select specific check(s)
    or check group(s) to run only out of the whole checks using DRC SELECT
    CHECK <check_name> in the runset file, how can I do similar thing in
    Assura if possible?

    Thanks and regards,
    Ahmad
     
    Reotaro Hashemoto, Jan 6, 2009
    #4
  5. Reotaro Hashemoto wrote, on 01/06/09 21:22:
    Ahmad,

    Probably what you're after is the ?limitRunTo switch in the RSF file.
    Take a look in the Assura Command Reference
    (<instdir>/doc/assuracommandref/assuracommandref.pdf)

    The other alternative is if there are switches (avSwitch) in the rule file, you
    can then run a job enabling various switches with the ?set argument to
    avParameter. Again, this is covered in the assuracommandref.pdf doc.

    Regards,

    Andrew.
     
    Andrew Beckett, Jan 8, 2009
    #5
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.