summaryrefslogtreecommitdiff
path: root/Windows/spice/examples/xspice/original-examples/bad_name.deck
blob: 0380cac2eefcacfd453beefd12ee142b2400a933 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Unknown code model name
*
* This circuit contains a simple gain block to demonstrate
* that the simulator reports an error if the code model name
* is incorrect.
*
.tran 1e-5 1e-3
*
v1 1 0 0.0 sin(0 1 1k)
r1 1 0 1k
*
a1 1 2 gain_block
.model gain_block this_model_doesnt_exist (gain=10)
r2 2 0 1k
*
.end