bad_io_type.deck

来自「ngspice又一个电子CAD仿真软件代码.功能更全」· DECK 代码 · 共 26 行

DECK
26
字号
Invalid input/output type** This circuit contains a simple gain block to demonstrate* that the simulator reports an error if an invalid type* is used with the code model connections.*.tran 1e-5 1e-3*v1 1 0 0.0 sin(0 1 1k)r1 1 0 1k** Both connections on the gain block must be analog, but* the second is specified as digital*a1  1  %d 2  gain_block.model gain_block gain (gain=10)r2 2 0 1k** Node 1 below should be a digital node, but is an analog node*a2 [1] [3] dac.model dac dac_bridger3 3 0 1k*.end

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?