# VACASK Internals

Last update: 2026-08-17 21:21 CEST

These docs are autogenerated by Claude. Keep that in mind when you are reading them. 

## Table of Contents

### 1. Common Facilities
1. [Namespace and Types](common.md) (common.h)
2. [Platform Specifics](libplatform.md) (libplatform.h, exportdef.h, and dynload.h)
3. [Hashing](hash.md) (hash.h)
4. [Running Subprocesses](processutils.md) (processutils.h)
5. [Coroutines](generator.md) (generator.h)
6. [Progress Reporting](progress.md) (progress.h)
7. [Memory Pools](pool.md) (pool.h)
8. [Status](status.md) (status.h)
9. [Identifiers](identifier.md) (identifier.h) 

### 2. RPN Interpreter
1. [Values](value.md) (value.h)
2. [Context](context.md) (context.h)
3. [Expression Format](rpnexpr.md) (rpnexpr.h)
4. [Stack](rpnstack.md) (rpnstack.h)
5. [Netlist Context of Evaluator](rpnevalctx.md) (rpnevalctx.h)
6. [Evaluator](rpneval.md) (rpneval.h)
7. [Functors](rpnfunctor.md) (rpnfunctor.h)
8. [Builtin Operators and Functions](rpnbuiltin.md) (rpnbuiltin.h)

### 3. Circuit Representation and Construction API
[Circuit Representation and Construction API](parseroutput.md) (parseroutput.h)
1. [PTParsedIdentifier and PTIdentifierList](ptidentifier.md)
2. [PTParameterValue and PTParameterExpression](ptparametervalue.md)
3. [PTParameters and PTParameterMap](ptparameters.md)
4. [PTModel and PTInstance](ptmodel.md)
5. [PTBlock and PTBlockSequence](ptblock.md)
6. [PTSubcircuitDefinition](ptsubckt.md)
7. [PTLoad, PTSaves, and PTEmbed](ptload.md)
8. [PTSweep and PTAnalysis](ptanalysis.md)
9. [PTCommand](ptcommand.md)
10. [ParserTables](parsertables.md)
11. [PVv and PEv Helpers](ptvectorhelpers.md)
12. [PTBehavioral](ptbehavioral.md)

### 4. Parser
1. [File Access](filesystem.md) (filesystem.h)
2. [File Stack](filestack.md) (filestack.h)
3. [Location](location.md) (location.h)
4. [Source Location Tracking](sourceloc.md) (sourceloc.h)
5. [Lexer](dfllexer.md) (dfllexer.l)
6. [Parser](dflparser.md) (dflparser.y)
7. [Scanner wrapper](dflscanner.md) (dflscanner.h)
8. [Toplevel Parser Wrapper](parser.md) (parser.h)

### 5. Object Support
1. [Flags](flags.md) (flags.h)
2. [Structure Introspection](introspection.md) (introspection.h)
3. [Parameterized Objects](parameterized.md) (parameterized.h)
4. [Nodes](node.md) (node.h)
5. [Device, Instance, and Model Base Classes](devbase.md) (devbase.h)
6. [Evaluation and Loading Setup](elsetup.md) (elsetup.h)
7. Builtin devices
   1. [Instance, and Model Base Classes](devbuiltin.md) (devbuiltin.h)
   2. [Device Registration](devbuiltins.md) (devbuiltins.h)
   3. [Independent Sources](devvisrc.md) (devvisrc.h)
   4. [Controlled Sources](devctlsrc.md) (devctlsrc.h)
8. OSDI Interface
   1. [Callbacks](osdicallback.md) (osdicallback.h) 
   2. [Builtin Limit Functions](limitfunctions.md) (limitfunctions.h)
   3. [Natures](natures.md) (natures.h)
   4. [Files](osdifile.md) (osdifile.h)
   5. [Devices](osdidevice.md) (osdidevice.h)
   6. [Models](osdimodel.md) (osdimodel.h)
   7. [Instances](osdiinstance.md) (osdiinstance.h)
9. [Hierarchical devices](hierdevice.md) (hierdevice.h)
10. [OpenVAF Compiler Wrapper](openvafcomp.md) (openvafcomp.h)

### 6. Circuit
1. [Data structure](circuit.md) (circuit.h)
2. [Options and Options Management](options.md) (options.h, ciroptions.cpp)
3. [Circuit Variables Management](cirvariables.md) (cirvariables.cpp)
4. [Elaboration and Partial Elaboration](cirparams.md) (cirparams.cpp)

### 7. Analysis Support
1. [Support Classes](ansupport.md) (ansupport.h)
2. [Stored Solutions](ansolution.md) (ansolution.h)
3. [Inverse Gaussian PDF](asa241.md) (asa241.h)
4. [Dense Linear Algebra](densematrix.md) (densematrix.h)
5. [KLU Matrix](klumatrix.md) (klumatrix.h)
6. [KLU Block-Sparse Matrix](klubsmatrix.md) (klubsmatrix.h)
7. [Accounting](acct.md) (acct.h)
8. [Common Analysis Data](comdata.md) (comdata.h)
9. [Abstract Output Support](output.md) (output.h)
10. [Rawfile output](outrawfile.md) (outrawfile.h)
11. [BLAS/LAPACK Bindings](blaslapack.md) (blaslapack.h)

### 8. Analyses
1. [Analysis Core Base Class](core.md) (core.h, core.cpp)
2. [Analysis Base Class](an.md) (an.h, an.cpp)
3. [Sweep Support](answeep.md) (answeep.h)
4. [Operating Point Analysis](anop.md) (anop.h, anop.cpp, coreop.h, coreopnr.h)
5. [Small-Signal Analysis Template](ansmsig.md) (ansmsig.h)
6. [DC Incremental Analysis](andcinc.md) (andcinc.h, coredcinc.h)
7. [DC Transfer Function Analysis](andcxf.md) (andcxf.h, coredcxf.h)
8. [AC Analysis](anac.md) (anac.h, coreac.h)
9. [AC Transfer Function Analysis](anacxf.md) (anacxf.h, coreacxf.h)
10. [AC S-Parameter Analysis](anacsp.md) (anacsp.h, coreacsp.h)
11. [AC Stability Analysis](anacstb.md) (anacstb.h, coreacstb.h)
12. [Noise Analysis](annoise.md) (annoise.h, corenoise.h)
13. [Transient Analysis](antran.md) (antran.h, antran.cpp, coretran.h, coretrannr.h, coretrancoef.h)
14. [Periodic Steady-State Analysis](anpss.md) (anpss.h, anpss.cpp, corepss.h, corepsstran.h)
15. [Harmonic Balance Analysis](anhb.md) (anhb.h, anhb.cpp, corehb.h, corehbnr.h, corehbxform.cpp, corehbcoloc.cpp)
16. [Harmonic Balance AC Analysis](anhbac.md) (anhbac.h, anhbac.cpp, corehbac.h)

### 9. Simulator
1. [Command Interpreter](cmd.md) (cmd.h, cmd.cpp)
2. [Configuration](config.md) (config.h, config.cpp)
3. [Platform Entry Support](platform.md) (platform.h, platform.cpp)
4. [Progress Bar](progressbar.md) (progressbar.h, progressbar.cpp)
5. [Program Entry Point](main.md) (main.cpp)

### 10. Protocols
1. [Initial circuit elaboration](protoelaborate.md) (Circuit::elaborate())
2. [Partial circuit elaboration](protoelaboratechanges.md) (Circuit::elaborateChanges())
3. Running an analysis 
4. Running a homotopy algorithm
