⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cpl_sp.cir

📁 ngspice又一个电子CAD仿真软件代码.功能更全
💻 CIR
字号:
************ test circuit for transmission simulation **************m1     1     2      6       1  mp1p0  w = 36.0u l=1.0um2     1     3      7       1  mp1p0  w = 36.0u l=1.0um3     1     4      8       1  mp1p0  w = 36.0u l=1.0um4     1     10     5       1  mp1p0  w = 36.0u l=1.0um5     1     11     13      1  mp1p0  w = 36.0u l=1.0um6     1     12     13      1  mp1p0  w = 36.0u l=1.0um7     0     2      6       0  mn0p9  w = 18.0u l=0.9um8     0     3      7       0  mn0p9  w = 18.0u l=0.9um9     0     4      8       0  mn0p9  w = 18.0u l=0.9um10    0     10     5       0  mn0p9  w = 18.0u l=0.9um11    14    11     13      0  mn0p9  w = 18.0u l=0.9um12    0     12     14      0  mn0p9  w = 18.0u l=0.9u*CN5  5     0  0.025398e-12CN6  6     0  0.007398e-12CN7  7     0  0.007398e-12CN8  8     0  0.007398e-12CN9  9     0  0.097398e-12CN10 10    0  0.007398e-12CN11 11    0  0.003398e-12CN12 12    0  0.004398e-12CN13 13    0  0.008398e-12CN14 14    0  0.005398e-12** Subcircuit test* test is a subcircuit that models a 4-conductor transmission line with* the following parameters: l=9e-09, c=2.9e-13, r=0.3, g=0,* inductive_coeff_of_coupling k=0.6, inter-line capacitance cm=3e-14,* length=6.3. Derived parameters are: lm=5.4e-09, ctot=3.5e-13.* * It is important to note that the model is a simplified one - the* following assumptions are made: 1. The self-inductance l, the* self-capacitance ctot (note: not c), the series resistance r and the* parallel capacitance g are the same for all lines, and 2. Each line* is coupled only to the two lines adjacent to it, with the same* coupling parameters cm and lm. The first assumption implies that edge* effects have to be neglected. The utility of these assumptions is* that they make the sL+R and sC+G matrices symmetric, tridiagonal and* Toeplitz, with useful consequences (see "Efficient Transient* Simulation of Lossy Interconnect", by J.S.  Roychowdhury and* D.O Pederson, Proc. DAC 91).* It may be noted that a symmetric two-conductor line is* represented accurately by this model.* Subckt node convention:* *            |--------------------------|*      1-----|                          |-----n+1*      2-----|                          |-----n+2*         :  |   n-wire multiconductor  |  :*         :  |          line            |  :*    n-1-----|(node 0=common gnd plane) |-----2n-1*      n-----|                          |-----2n*            |--------------------------|* Lossy line models.model mod1_test ltra rel=1.2 nocontrol r=0.3 l=2.62616456193e-10 g=0 c=3.98541019688e-13 len=6.3.model mod2_test ltra rel=1.2 nocontrol r=0.3 l=5.662616446e-09 g=0 c=3.68541019744e-13 len=6.3.model mod3_test ltra rel=1.2 nocontrol r=0.3 l=1.23373835171e-08 g=0 c=3.3145898046e-13 len=6.3.model mod4_test ltra rel=1.2 nocontrol r=0.3 l=1.7737383521e-08 g=0 c=3.01458980439e-13 len=6.3* subcircuit m_test - modal transformation network for test.subckt m_test 1 2 3 4 5 6 7 8v1 9 0 0vv2 10 0 0vv3 11 0 0vv4 12 0 0vf1 0 5 v1 0.371748033738f2 0 5 v2 -0.601500954587f3 0 5 v3 0.601500954587f4 0 5 v4 -0.371748036544f5 0 6 v1 0.60150095443f6 0 6 v2 -0.371748035044f7 0 6 v3 -0.371748030937f8 0 6 v4 0.601500957402f9 0 7 v1 0.601500954079f10 0 7 v2 0.37174803072f11 0 7 v3 -0.371748038935f12 0 7 v4 -0.601500955482f13 0 8 v1 0.371748035626f14 0 8 v2 0.601500956073f15 0 8 v3 0.601500954504f16 0 8 v4 0.371748032386e1 13 9 5 0 0.371748033909e2 14 13 6 0 0.601500954587e3 15 14 7 0 0.601500955639e4 1 15 8 0 0.371748036664e5 16 10 5 0 -0.60150095443e6 17 16 6 0 -0.371748035843e7 18 17 7 0 0.371748032386e8 2 18 8 0 0.601500957319e9 19 11 5 0 0.601500955131e10 20 19 6 0 -0.371748032169e11 21 20 7 0 -0.371748037896e12 3 21 8 0 0.601500954513e13 22 12 5 0 -0.371748035746e14 23 22 6 0 0.60150095599e15 24 23 7 0 -0.601500953534e16 4 24 8 0 0.371748029317.ends m_test* Subckt test.subckt test 1 2 3 4 5 6 7 8x1 1 2 3 4 9 10 11 12 m_testo1 9 0 13 0 mod1_testo2 10 0 14 0 mod2_testo3 11 0 15 0 mod3_testo4 12 0 16 0 mod4_testx2 5 6 7 8 13 14 15 16 m_test.ends test*x1  5 6 7 8 9 10 11 12 test**vdd    1    0   PULSE (0 5 0Ns 0.1Ns 0.1Ns 600Ns 800Ns)v3     3    0   PULSE (0 5 0Ns 0.1Ns 0.1Ns 600Ns 800Ns)*.model lline ltra rel=1 r=0.2 g=0 l=9.13e-9 c=3.65e-12 len=24 steplimit*compactrel=1.0e-3 compactabs=1.0e-14.model lline ltra (r=0.2 c=0.365pF l=9.13nH len=24).model mn0p9 nmos  LEVEL=1 vto=0.8V kp=48u gamma=0.3 phi=0.55 lambda=0.00+                 PHI=0.55 LAMBDA=0.00 CGSO=0 CGDO=0 CGBO=0+                 CJ=0 CJSW=0 TOX=18000N NSUB=1E16 LD=0.0U.model mp1p0 pmos  vto=-0.8V kp=21u gamma=0.45 phi=0.61 lambda=0.00+                 PHI=0.61 LAMBDA=0.00 CGSO=0 CGDO=0 CGBO=0+                 CJ=0 CJSW=0 TOX=18000N NSUB=3E16 LD=0.0U VS1  2   0  PULSE (0 5 15.9Ns 0.2Ns 0.2Ns 15.8Ns 32Ns)VS2  4   0  PULSE (0 5 15.9Ns 0.2Ns 0.2Ns 15.8Ns 32Ns)*.TRAN 0.1N 384.1N.TRAN 0.1N 47.9N.PRINT TRAN V(5) V(11) V(13)*.END

⌨️ 快捷键说明

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