Fix README History declaration
[ob-spice.git] / README
blob46e4f6b5dc9a9504877d007e9e3583a9b182a07f
1 * History
3 ob-spice is now being maintained at https://repo.or.cz/ob-spice.
5 This package was originally written by [[https://github.com/tiagoweber][Tiago Weber]].
6 You can find more (potentially outdated) information by him about
7 this package [[http://tiagoweber.github.io/blog/entry1.html][here]]
8 and [[http://tiagoweber.github.io/blog/entry4.html][here]].
10 * Usage
12 ** Example
14 #+BEGIN_SRC org
15 ,#+BEGIN_SRC spice  :results drawer :exports both :var file="data/images/spice-example"
16 ,*Virtual Ground Test: opamp gain = 1000
17 vin in 0 dc 0V sin(0 0.1 100Hz)
18 r1 in inn 10k
19 r2 inn out 10k
20 EOpamp out 0 0 inn 1000
21 .tran 0.1ms 0.05s
22 .print tran v(in)
23 .meas tran vtest find v(in) at=0.04e-3
24 .end
25 .control
26 run
27 set gnuplot_terminal=png
28 gnuplot $file v(in) v(out) v(inn)
29 .endc
30 ,#+END_SRC
32 ,#+RESULTS:
33 :RESULTS:
34 ,#+ATTR_HTML: :width 600px
35  [[file:./data/images/spice-example.png]]
36 :END:
38 #+END_SRC