Simple spice-based simulator
- Pull repository to
$GOPATH/src/github.com/felipeek/
- Get
go-chart
by runninggo get -u github.com/wcharczuk/go-chart
- Cd to
$GOPATH/src/github.com/felipeek/cirsim
and runcompile.bat
on Windows orcompile.sh
on Linux. - The binary will be available on
$GOPATH/bin/cirsim
- To run you must provide a spice file and, if you are doing a transient analysis, you must ask to generate the result graphs.
cirsim parameters:
-graphs
Generate graphs
-path string
Spice file path`
For example,
cirsim -path res/custom.sp -graphs