Stimulus file

E

ese!

Guest
Hi all!
i would like to add the stimuli as file (defining it in the setup
window in the ADE)
and the input is a bus of sources.
I have something as:
_vb0 (b<0> 0) vsource wave=\[0 0 500.0n 0 500.3n 1.8 ] dc=0
type=pwl
_vb1 (b<1> 0) vsource wave=\[0 0 502.0n 0 502.3n 1.8 ] dc=0
type=pwl

Unfortunately it gives problem with the <>, i have tried with
underscore
(in that case it simulates but it does not recognize these nodes as
corresponding to b<1:0>) and with some backslash, but i am not able
to find a working solution.

Do you have some experience on it?

thanks in advance

ese!
 
ese! wrote, on 01/14/10 16:32:
Hi all!
i would like to add the stimuli as file (defining it in the setup
window in the ADE)
and the input is a bus of sources.
I have something as:
_vb0 (b<0> 0) vsource wave=\[0 0 500.0n 0 500.3n 1.8 ] dc=0
type=pwl
_vb1 (b<1> 0) vsource wave=\[0 0 502.0n 0 502.3n 1.8 ] dc=0
type=pwl

Unfortunately it gives problem with the <>, i have tried with
underscore
(in that case it simulates but it does not recognize these nodes as
corresponding to b<1:0>) and with some backslash, but i am not able
to find a working solution.

Do you have some experience on it?

thanks in advance

ese!
Put

_vb0 ([#b<0>] 0) vsource ...

A stimulus file gets preprocessed by the OSS system, and this will substitute
schematic names surrounded by [#...] to the corresponding netlist name. It might
need a "/" before the b (I can't remember off the top of my head) to tell it
that it is rooted from the top level design, but I think you can omit the
leading slash. If it's a hierarchical net, something like:

_vb0 ([#/I1/I2/net3] ...

would work.

The idea is that you then don't need to worry about how it got translated during
netlisting.

Regards,

Andrew.
 
Thanks a lot!

_vb0 ([#b<0>] 0) vsource ...

is correct.



On Jan 15, 10:38 am, Andrew Beckett <andr...@DcEaLdEeTnEcTe.HcIoSm>
wrote:
ese! wrote, on 01/14/10 16:32:



Hi all!
i would like to add the stimuli as file (defining it in the setup
window in the ADE)
and the input is a bus of sources.
I have something as:
_vb0  (b<0> 0)   vsource wave=\[0 0 500.0n 0 500.3n 1.8 ] dc=0
type=pwl
_vb1  (b<1> 0)   vsource wave=\[0 0 502.0n 0 502.3n 1.8 ] dc=0
type=pwl

Unfortunately it gives problem with the <>, i have tried with
underscore
(in that case  it simulates but it does not recognize these nodes as
corresponding to  b<1:0>)  and with some backslash, but i am not able
to find a working solution.

Do you have some experience on it?

thanks in advance

ese!

Put

_vb0 ([#b<0>] 0) vsource ...

A stimulus file gets preprocessed by the OSS system, and this will substitute
schematic names surrounded by [#...] to the corresponding netlist name. It might
need a "/" before the b (I can't remember off the top of my head) to tell it
that it is rooted from the top level design, but I think you can omit the
leading slash. If it's a hierarchical net, something like:

_vb0 ([#/I1/I2/net3] ...

would work.

The idea is that you then don't need to worry about how it got translated during
netlisting.

Regards,

Andrew.
 
On Friday, January 15, 2010 2:38:39 AM UTC-7, Andrew Beckett wrote:
ese! wrote, on 01/14/10 16:32:
Hi all!
i would like to add the stimuli as file (defining it in the setup
window in the ADE)
and the input is a bus of sources.
I have something as:
_vb0 (b<0> 0) vsource wave=\[0 0 500.0n 0 500.3n 1.8 ] dc=0
type=pwl
_vb1 (b<1> 0) vsource wave=\[0 0 502.0n 0 502.3n 1.8 ] dc=0
type=pwl

Unfortunately it gives problem with the <>, i have tried with
underscore
(in that case it simulates but it does not recognize these nodes as
corresponding to b<1:0>) and with some backslash, but i am not able
to find a working solution.

Do you have some experience on it?

thanks in advance

ese!


Put

_vb0 ([#b<0>] 0) vsource ...

A stimulus file gets preprocessed by the OSS system, and this will substitute
schematic names surrounded by [#...] to the corresponding netlist name. It might
need a "/" before the b (I can't remember off the top of my head) to tell it
that it is rooted from the top level design, but I think you can omit the
leading slash. If it's a hierarchical net, something like:

_vb0 ([#/I1/I2/net3] ...

would work.

The idea is that you then don't need to worry about how it got translated during
netlisting.

Regards,

Andrew.
Hi Andrew,

I'm trying to force a hierarchical net (for debugging purposes) using a stimulus file, but the following format doesn't seem to work:

_vb0 ([#/I1/I2/net3] ...

It gives an error "Unexpected character `.' in netlist.

Here is my actual line:

vmid ([#/I1/net40] 0) vsource dc=1.5 type=dc

I tried a few variations such as without the [] and # and without the leading /, but can't seem to get it to work.

Any chance you could help? Thanks.
 
On 03/06/12 18:19, LT wrote:
Hi Andrew,

I'm trying to force a hierarchical net (for debugging purposes) using a stimulus file, but the following format doesn't seem to work:

_vb0 ([#/I1/I2/net3] ...

It gives an error "Unexpected character `.' in netlist.

Here is my actual line:

vmid ([#/I1/net40] 0) vsource dc=1.5 type=dc

I tried a few variations such as without the [] and # and without the leading /, but can't seem to get it to work.

Any chance you could help? Thanks.
Which version of spectre are you using? (it should say in the spectre
output file that is shown when you run the simulation in ADE).

Also which version of the IC tools are you using?

Regards,

Andrew
 

Welcome to EDABoard.com

Sponsor

Back
Top