1485 Commits

Author SHA1 Message Date
Vadim Kuznetsov
3440d36941 Fixed Qucs equation export 2025-02-05 19:36:47 +03:00
Vadim Kuznetsov
75040f363d
Merge pull request #1201 from ThomasZecha/current
Introduce optional netlisting to console
2025-02-04 13:08:12 +03:00
Vadim Kuznetsov
e2f63ad2e1 Add offset and Td parameters for AC current source 2025-01-23 09:21:41 +03:00
ThomasZecha
e27883ff95 Introduce optional netlisting to console
-Replaced Component::getProbeVariable(bool isXyce) with
 Component::getProbeVariable(spicecompat::SpiceDialect dialect)

Signed-off-by: ThomasZecha <zecha@ihp-microelectronics.com>
2025-01-19 15:38:13 +01:00
ThomasZecha
63d6d07000 Introduce optional netlisting to console
-Replaced Component::getExpression(bool isXyce, bool isCdl) with
 Component::getExpression(spicecompat::SpiceDialect dialect)

Signed-off-by: ThomasZecha <zecha@ihp-microelectronics.com>
2025-01-19 15:18:42 +01:00
Vadim Kuznetsov
2261b6caf2 Remove remains of XSPICE CM builder 2025-01-19 14:31:44 +03:00
Vadim Kuznetsov
fcdcaeaebe Add swtich to supress digital model generation when creating library 2025-01-19 14:31:44 +03:00
Vadim Kuznetsov
6adc782cff Implement attaching of SPICE libraries to Qucs XML libraries
SPICE libraries referenced by SpiceLibComp are copied to the the
subdirectory when creating a library from project.
2025-01-19 14:31:32 +03:00
Vadim Kuznetsov
63e087eb6f Fix text shift after mirror 2025-01-16 18:54:51 +03:00
Vadim Kuznetsov
c87ef57bd2
Merge pull request #1198 from ra3xdh/fix_1195
Fix log calculation in componentdialog.cpp
2025-01-08 09:30:53 +01:00
Vadim Kuznetsov
7a662b7d4a Fix log calculation in componentdialog.cpp 2025-01-08 11:06:22 +03:00
Vadim Kuznetsov
f842cf2d7d Allow passing parameters for SPICE file 2025-01-07 21:28:32 +03:00
Vadim Kuznetsov
ac24a25bfb
Merge pull request #1165 from ThomasZecha/dev/tze/featureExportCdlNetlist
New feature CDL netlist export
2025-01-07 10:45:50 +01:00
Vadim Kuznetsov
55748eb73e Remove XSPICE-related SubPort properties; has no effect on simulation 2025-01-06 17:57:45 +03:00
Vadim Kuznetsov
f6d86ddd0a Show Symbol property for some devices 2025-01-06 10:13:15 +03:00
Vadim Kuznetsov
6b39fda03c Remove WITH_QT6; switch to Qt6 by default 2025-01-03 22:06:56 +03:00
Vadim Kuznetsov
6e985de6ce Fix crash when try to simulate digital schematic with subcircuit 2024-12-30 20:51:15 +03:00
Thomas Zecha
187f2a71b8
Merge branch 'current' into dev/tze/featureExportCdlNetlist 2024-12-30 17:30:24 +01:00
ThomasZecha
909f02340d New feature CDL netlist export
-introduced new type spicecompat::SpiceDialect to distinguish SPICE,
 Xyce and CDL
-adapt dependent components accordingly

Signed-off-by: ThomasZecha <zecha@ihp-microelectronics.com>
2024-12-30 16:52:35 +01:00
Vadim Kuznetsov
91c21c193d Set shorted value to Ngspice minR 2024-12-29 10:06:57 +03:00
ThomasZecha
718d9c37ca New feature CDL netlist export
-Introduced new parameter for cdl-type netlist export to Component::getExpression() and
 derivatives. It is used for CDL type specific netlist parameter export.

Signed-off-by: ThomasZecha <zecha@ihp-microelectronics.com>
2024-12-23 11:12:21 +01:00
ThomasZecha
62fe9727a6 New feature CDL netlist export
-Added cdl_netlist() as default to class Component and as implementation
 to CDL supporting derived components. Besides some port-number checking
 this implementation is a wrapper for spice_netlist.
-Implemented necessary spice_netlist() adjustments to meet CDL requirements.
-Improved spice_netlist() derived default parameter 'isXyce' to be
 explicitly set.
-Fixed using of tabs/trailing spaces.

Signed-off-by: ThomasZecha <zecha@ihp-microelectronics.com>
2024-12-23 11:12:21 +01:00
ThomasZecha
80d4a57532 New feature CDL netlist export
-introduced new parameter for cdl-type netlist export to Component::spice_netlist
 and all derivatives under components/

Signed-off-by: ThomasZecha <zecha@ihp-microelectronics.com>
2024-12-23 11:12:21 +01:00
Radvall
86073b5be1 add csparam component 2024-12-14 13:26:36 +03:00
Iwbnwif Yiw
aa3354b9ff Allow free text editing for .IC components. 2024-12-10 20:20:27 +00:00
KrzysztofHerman
7a330e287b Amplitude changes reverted using floating point format
Signed-off-by: KrzysztofHerman <herman@ihp-microelectronics.com>
2024-12-04 08:25:29 +01:00
KrzysztofHerman
043cb8214c Amplitude changes reverted
Signed-off-by: KrzysztofHerman <herman@ihp-microelectronics.com>
2024-12-04 08:24:08 +01:00
KrzysztofHerman
b847af10c7 AC power source source_ac.cpp amplitude fix
Signed-off-by: KrzysztofHerman <herman@ihp-microelectronics.com>
2024-12-03 16:47:55 +01:00
Iwbnwif Yiw
e5034305f7 Do not add export statement for NutmegEq, SpicePar or SpGlobPar models (see #1105). 2024-11-30 21:52:13 +00:00
Iwbnwif Yiw
38d37c3b03 Update the 'values' field of simulation sweep properties when start and stop values are changed. 2024-11-24 16:11:38 +00:00
Iwbnwif Yiw
ed28844d5e Noise simulations do not have "Simulation" or "Sweep Parameter" settings. Distortion simulations should have a sweep tab. 2024-11-20 22:46:57 +00:00
Iwbnwif Yiw
782f5929ff Intermediate commit to address some problems with 'list' and 'value' sweep types 2024-11-20 22:39:28 +00:00
Iwbnwif Yiw
03261edd80 Attempt to fix problems (see #1077) with sweep steps and number of points in new component (simulation) dialog 2024-11-19 19:39:33 +00:00
Iwbnwif Yiw
de5fff9999 Fix updating of component from SPICE model 2024-11-18 10:03:50 +00:00
Iwbnwif Yiw
174d206857 Workaround for systems where ::accepted signal does not first register changes made to the propertyTable 2024-11-17 15:39:59 +00:00
Iwbnwif Yiw
e63feb804b Do not add generic simulations to Sweep Parameter simulation list 2024-11-17 09:50:09 +00:00
Iwbnwif Yiw
14f603b52e Make sure propertyTable edits are accepted before closing 2024-11-17 09:10:22 +00:00
Iwbnwif Yiw
8070f2a517 Move to next cell if user presses Enter on a property 2024-11-16 14:05:31 +00:00
Iwbnwif Yiw
c7ab11f4f4 Add debug messages to identify why changes are not being saved on Enter 2024-11-16 12:01:57 +00:00
Iwbnwif Yiw
a97f8df9a5 Merge branch 'current' into new_comp_dialog 2024-11-15 20:36:56 +00:00
ThomasZecha
62cf2d4bdc New Feature: CDL netlist export
Introduced very basic c++ coding style for the class Schematic and it's
parent-class QucsDoc based on https://google.github.io/styleguide/cppguide.html:
-Prefix class attributes with a_ (much more better readability!)
-Class member initialization via constructor member initialization list
-No public class attributes (where possible with small effort)

Signed-off-by: ThomasZecha <zecha@ihp-microelectronics.com>
2024-11-15 12:39:39 +01:00
Iwbnwif Yiw
3fbc44bccc Tidy up memory allocation and remove leaks. 2024-11-13 21:59:41 +00:00
Iwbnwif Yiw
61222d150a Add a checkbox to allow enabling / disabling of equation variables export. 2024-11-13 21:07:49 +00:00
Iwbnwif Yiw
a19e46086c Attempt to fix build error on Qt5 2024-11-12 22:58:54 +00:00
Iwbnwif Yiw
ce95dd4c74 Reinstate abilit to fill properties from SPICE .MODEL file. 2024-11-12 22:22:15 +00:00
Iwbnwif Yiw
dc6367938e Automatically update the number of sweep points or step size for log sweeps based on the content of the other cells. 2024-11-12 22:02:02 +00:00
Iwbnwif Yiw
42e2a797ce Allow translations in widget labels and other noun strings. 2024-11-12 20:56:50 +00:00
Vadim Kuznetsov
ebb035c45c Fix sources direction 2024-11-12 20:35:12 +03:00
Vadim Kuznetsov
2f8013d6f2 Fix simulation error with irect+Qucsator 2024-11-12 20:24:46 +03:00
Iwbnwif Yiw
fea45c996e Allow file browsing or eqn editing directly within
a table cell.

Implement a compound widget that includes both a QLineEdit and a
QPushButton. If the use presses the button it will typically open
either a file browser (file parameters)
or a simple text editor (eqn parameters).
2024-11-11 22:22:26 +00:00