Skip to content

PARSER PROBLEM WHEN USING POLY STATEMENTS #180

@varasano123

Description

@varasano123

Environment (OS, Python version, PySpice version, simulator)

PYSPICE version 1.3.2

Expected Behaviour

The parser generates WARNINGS when reading statements like these, which seem to have a correct syntax :

fbn 2 98 poly(1) vnoise3 5e-6 1e-3
fbp 1 98 poly(1) vnoise3 5e-6 1e-3

My questions are :
Are the parameters taken into account or discarded ?
Is this a bug ?

Thanks in advance for an eventual reply.

Actual Behaviour

2020-01-23 15:25:13,716 - PySpice.Spice.Parser.Element.init - WARNING - fbn 2 98 poly(1) vnoise3 5e-6 1e-3
2020-01-23 15:25:13,716 - PySpice.Spice.Parser.Element.init - WARNING - fbn 2 98 poly(1) vnoise3 5e-6 1e-3
2020-01-23 15:25:13,716 - PySpice.Spice.Parser.Element.init - WARNING - fbp 1 98 poly(1) vnoise3 5e-6 1e-3
2020-01-23 15:25:13,716 - PySpice.Spice.Parser.Element.init - WARNING - fbp 1 98 poly(1) vnoise3 5e-6 1e-3
2020-01-23 15:25:13,716 - PySpice.Spice.Parser.Element.init - WARNING - f1 98 7 poly(1) v1 0 1 0 100
2020-01-23 15:25:13,716 - PySpice.Spice.Parser.Element.init - WARNING - f1 98 7 poly(1) v1 0 1 0 100
2020-01-23 15:25:13,716 - PySpice.Spice.Parser.Element.init - WARNING - f1 98 7 poly(1) v1 0 1 0 100
2020-01-23 15:25:13,716 - PySpice.Spice.Parser.Element.init - WARNING - f1 98 7 poly(1) v1 0 1 0 100

Steps to reproduce the behaviour

Importing the ad8011.lib from ANALOG DEVICES url

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions