• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Custom IC Design
  3. Simulation files and bus syntax

Stats

  • Locked Locked
  • Replies 5
  • Subscribers 127
  • Views 18258
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Simulation files and bus syntax

simbamford
simbamford over 15 years ago

 Hi,

 

I have a design with some nodes using bus syntax, for example some nodes labelled BL<1:2>.

I create a stimulation file (.scs) containing:

 _BL1 (BL<1> 0) vsource type=dc dc=0
_BL2 (BL<2> 0) vsource type=dc dc=3.3

but when it parses it it gives the following error:

ERROR (SFE-874): "/home/sim/Cadence/Sim/SynMem_Test/spectre/schematic/netlist/stimuli/2010_04_14SynMem_Test.scs" 1: Unexpected operator "<". Expected end of file or end of line.
ERROR (SFE-874): "/home/sim/Cadence/Sim/SynMem_Test/spectre/schematic/netlist/stimuli/2010_04_14SynMem_Test.scs" 2: Unexpected operator "<". Expected end of file or end of line.

I assume I have to write something special for it to accept the bus syntax. Looking in the netlist it normally produces without the stimulation file, I see, for example:

InvBL\<1\> (nBL\<1\> BL\<1\> 0 vdd!) INV1
InvBL\<2\> (nBL\<2\> BL\<2\> 0 vdd!) INV1

 However when I try using the backslash in my stimulation file, like this:

 _BL1 (BL\<1\> 0) vsource type=dc dc=0
_BL2 (BL\<2\> 0) vsource type=dc dc=3.3

 I get the same error.

 Can anyone suggestion a solution?

 Thanks

Sim Bamford

 

  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 15 years ago

    If you're using the stimulus file field in ADE, it gets passed through a pre-processing option to allow you to use "schematic" names in the netlist, which can then have any mapping applied to them that happened during netlisting.

    Because of this pre-processing, the \ you are entering is being stripped off (you'd have to use a double backslash). A better approach is to use the OSS mapping syntax. For example, if you do:

    v1 ([#bus<0>] 0) vsource type=sine freq=1M ampl=1
    v2 ([#bus<1>] 0) vsource type=sine freq=2M ampl=1.5
    v3 ([#bus<2>] 0) vsource type=sine freq=3M ampl=2.0
    v4 ([#bus<3>] [#/gnd!]) vsource type=sine freq=4M ampl=2.5

    You should then end up in the netlist as:

    v1 (bus\<0\> 0) vsource type=sine freq=1M ampl=1
    v2 (bus\<1\> 0) vsource type=sine freq=2M ampl=1.5
    v3 (bus\<2\> 0) vsource type=sine freq=3M ampl=2.0
    v4 (bus\<3\> 0) vsource type=sine freq=4M ampl=2.5

    or whatever those bus names got mapped to during netlist. Note that there's a problem in IC613/IC614 where this (by default) doesn't work properly with busses (the backslashes get missed out). It's OK in IC5141. The CCR is 752498 - and the workaround is to switch back to the mapping scheme used in IC5141 - enter envSetVal("asimenv" "mappingMode" 'string "oss")

    We also have a CCR to get the above [#...] syntax documented more clearly (it is right now, but hidden away in the Open Simulation System manuals, rather than being in the ADE manuals).

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 15 years ago

    If you're using the stimulus file field in ADE, it gets passed through a pre-processing option to allow you to use "schematic" names in the netlist, which can then have any mapping applied to them that happened during netlisting.

    Because of this pre-processing, the \ you are entering is being stripped off (you'd have to use a double backslash). A better approach is to use the OSS mapping syntax. For example, if you do:

    v1 ([#bus<0>] 0) vsource type=sine freq=1M ampl=1
    v2 ([#bus<1>] 0) vsource type=sine freq=2M ampl=1.5
    v3 ([#bus<2>] 0) vsource type=sine freq=3M ampl=2.0
    v4 ([#bus<3>] [#/gnd!]) vsource type=sine freq=4M ampl=2.5

    You should then end up in the netlist as:

    v1 (bus\<0\> 0) vsource type=sine freq=1M ampl=1
    v2 (bus\<1\> 0) vsource type=sine freq=2M ampl=1.5
    v3 (bus\<2\> 0) vsource type=sine freq=3M ampl=2.0
    v4 (bus\<3\> 0) vsource type=sine freq=4M ampl=2.5

    or whatever those bus names got mapped to during netlist. Note that there's a problem in IC613/IC614 where this (by default) doesn't work properly with busses (the backslashes get missed out). It's OK in IC5141. The CCR is 752498 - and the workaround is to switch back to the mapping scheme used in IC5141 - enter envSetVal("asimenv" "mappingMode" 'string "oss")

    We also have a CCR to get the above [#...] syntax documented more clearly (it is right now, but hidden away in the Open Simulation System manuals, rather than being in the ADE manuals).

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information