Ocs package: Difference between revisions

Jump to navigation Jump to search
1,316 bytes added ,  22 September 2015
Line 13: Line 13:
=== IFF netlists ===
=== IFF netlists ===


The name IFF stands for "Intermediate File Format" or "Interchange File Format" it represents an ASCII file format for describing coupled electrical circuits, devices and systems. The IFF syntx described here is version 0.1b1.
A circuit description is comprised of a set of files of three different types:
* 1 CIR (Circuit) file: an ASCII text file with filename <circuitname>.cir
* 1 NMS (Names) file: an ASCII text file with filename <circuitname>.nms
* N >= 1 SBN (Subnet) files: a set of M-functions or DLD-functions following the template described below.
SBN files are not necessarily specific to one circuit and can be grouped in libraries as long as the directory containing the library is added to the path when the IFF parser is run.
==== CIR file ====
The CIR file is divided into two sections describing the linear time–independent (LCR = linear circuit) and the non–linear and/or time–dependent (NLC = non–linear circuit) partitions of the circuit respectively. The syntax for the LCR and NLC section is identical. NLC can also contain linear elements, in fact the whole circuit could be described only by the NLC section but this could result in the evaluator unnecessarily recomputing local matrices for linear time–independent elements The content of CIR files is organized as follows:


=== SPICE netlists ===
=== SPICE netlists ===
349

edits

Navigation menu