#include <sim/sim_signal_utils.h>
#include <algorithm>
#include <set>
#include <wx/wxcrt.h>
Go to the source code of this file.
|
| namespace | SIM_SIGNAL |
| | Text handling for simulator signal expressions and measurement commands.
|
| |
|
| bool | SIM_SIGNAL::IsSingleVoltageRef (const wxString &aExpression) |
| |
| bool | SIM_SIGNAL::IsMeasVector (const wxString &aSignal) |
| |
| bool | SIM_SIGNAL::MeasurableSignal (const wxString &aBase, PART aPart, wxString &aResult) |
| | Build the signal a measurement should read so it matches what is plotted.
|
| |
| void | SIM_SIGNAL::SplitMeasurement (const wxString &aCmd, wxString &aFunc, wxString &aSignal, wxString &aParams) |
| | Split "MAX V(out) from=1m to=2m" into its function, signal and trailing parameters.
|
| |
| wxString | SIM_SIGNAL::ExpandDeviceVoltages (const wxString &aExpression, const std::map< wxString, wxString > &aDeviceExprs) |
| | Replace V(R1), VDB(R1), VM(R1), ... with the terminal voltage expression of the part.
|
| |
| wxString | SIM_SIGNAL::QuoteNetNames (const wxString &aExpression, const std::vector< wxString > &aNetnames) |
| | Quote every whole occurrence of a net name that ngspice would otherwise parse as an expression.
|
| |
| bool | SIM_SIGNAL::ParensBalanced (const wxString &aExpression) |
| |
| std::vector< wxString > | SIM_SIGNAL::ExtractSignalRefs (const wxString &aExpression) |
| | Extract the V() and I() and P() node or device references from an expression, unquoted.
|
| |
| wxString | SIM_SIGNAL::DeviceVoltageExpression (const std::vector< std::string > &aModelPins, const std::vector< std::string > &aPinNumbers, const std::vector< std::string > &aPinNetNames) |
| | Build the voltage across a two-terminal part in its model's pin order, matching the sign of I() and P().
|
| |
| bool | SIM_SIGNAL::IsDerivedSignalVector (const wxString &aVectorName) |
| |