suffixes.deck

来自「xspice所支持的更为详细和全面的仿真电路示例程序」· DECK 代码 · 共 26 行

DECK
26
字号
Engineering suffixes
*
* This circuit contains a code model which accepts several
* parameters of various types and prints them.  The values
* specified on the .model card use engineering suffixes on
* the numeric parameters.
*
.op
*
r1 1 0 1k
r2 2 0 1k
r3 1 2 1k
*
a1 [1 2] mod
.model mod print_param_types 
+  integer=2k
+  real=3.0u
+  complex=< 4.0f 5.0mil >
+  string=six
+  integer_array=[7meg 8]
+  real_array=[9.0n 10.0p]
+  complex_array=[< 11.0t 12.0g > < 13.0m 14.0 >]
+  string_array=[fifteen sixteen]
*
.end

⌨️ 快捷键说明

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