ocean error

Discussion in 'Cadence' started by danniel, Mar 3, 2008.

  1. danniel

    danniel Guest

    when running a simulation from analog artist with a stimulus file I
    have to write a net name as a part of a bus in the shape :
    DRV_IN\\<0\\>
    DRV_IN\\<1\\>

    but when I run the same stimulus file from an OCN script it gives the
    error:
    Unexpected operator "<". Expected end of file or end of line.

    changing it to DRV_IN_0 leave this net as floating net.

    does anyone know what is the right syntax?
     
    danniel, Mar 3, 2008
    #1
  2. danniel wrote, on 03/03/08 10:04:
    Hi Danniel,

    Stimulus files are special. You can include special syntax (in "OSS" syntax) to
    allow "schematic" names to get translated into netlist names. Originally this
    was particularly useful when most ADE netlisters were flat netlisters, but it's
    also useful when you have characters that will get mapped by the netlister.

    So, if you do something like this:

    v1 ([#DRV_IN<0>] 0) vsource dc=1
    v2 ([#DRV_IN<1>] 0) vsource dc=2

    in your stimulus file, you'll find that ADE will automatically translate this
    into (for example):


    v1 (DRV_IN_0 0) vsource dc=1
    v2 (DRV_IN_1 0) vsource dc=2

    In my case, the input.scs looks like this:

    // Cell name: testbusstim
    // View name: schematic
    R1 (DRV_IN_1 0) resistor r=1K
    R0 (DRV_IN_0 0) resistor r=1K
    include "/sim/testbusstim/spectre/schematic/netlist/stimuli/stimfile.scs"

    so it being translated to DRV_IN_1 for me automatically is the correct thing to do.

    This way you don't have to worry about what the name ended up in the netlist.

    You do need (however) to be a little careful about editing your stimulus file
    outside of the environment - you may need to force a Netlist->Recreate to ensure
    the mapped stimulus file gets updated.

    Regards,

    Andrew.
     
    Andrew Beckett, Mar 3, 2008
    #2
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.