Skip to content

Spectre port has only single input frequency #19

Description

@mhaveri00

In spectre_testbench.py, the port source definition currently contains only single input frequency:
self.portsrcstr += f"{name} ({port.pos} {port.neg}) port num={port.num} r={port.res} x={port.reactance} type={port.type} freq={port.freq} mag={port.mag} pacmag={port.mag} dc={port.dc}\n"

Some simulations (IP3) require multiple input frequencies. At least for the simulations requiring two input frequencies, the port source definition could look like this:
self.portsrcstr += f"{name} ({port.pos} {port.neg}) port num={port.num} r={port.res} x={port.reactance} type={port.type} freq={port.freq} mag={port.mag} freq2={port.freq2} mag2={port.mag2} pacmag={port.mag} dc={port.dc}\n"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions