This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TINA-TI: tina-ti导入宏模型失败

Part Number: TINA-TI

如上图,导入器件宏模型时提示行#110过长。

  • 您好,

    您具体是导入的哪个器件的模型,我想尝试导入下看下

  • 是外司的一个运放器件,非TI器件。在这上面好像不能插入附件,方便把你的邮箱告诉我吗?我把Spice模型发给你。我的邮箱是xiaojun.guan@samsung.com

  • 上面回复内容为这个器件用文本打开后的源码,你可以复制下来然后保存为文本,然后将文件后缀改为.lib或.cir文件。

  • * TPH2502L1 OPERATIONAL AMPLIFIER "MACROMODEL" SUBCIRCUIT
    * SUPPLY VOLTAGE = 5 V
    * CONNECTIONS: NON-INVERTING INPUT
    * | INVERTING INPUT
    * | | POSITIVE POWER SUPPLY
    * | | | NEGATIVE POWER SUPPLY
    * | | | | OUTPUT
    * | | | | |
    .SUBCKT TPH2502L1 1 2 3 4 5
    *
    CPSR 85 86 159.2E-9
    C0 22 8 18E-12
    C1 22 _net0 1E-12
    Cmr 12a 12 100.0E-15
    CIN1 INPR INNR 0.6E-12

    D3 21 18 DX
    D2 18 20 DX
    DIN2 INPa INP DX
    DIN1 INP INPa DX
    DC 5 53 DX
    DCMP 81 82 DX
    DP 4 3 DX
    DE 54 5 DX
    DCMN 83 81 DX
    DLN 92 90 DX
    DLP 90 91 DX

    F3 10 _net0 VSRN 5.5
    F2 10 _net0 VSRP 5.5
    FPSR 7 99 VPSR 0.8K
    F1 3 80a VCMP 1.0
    FB5 8 99 VLN -5.5
    FB1 7 99 VB 0
    F0 3 80a VCMN 1.0
    FB2 8 99 VC -5.5
    FB4 8 99 VLP 5.5
    FB3 8 99 VE 5.5e-9

    E1 18 19 (11 12) 100
    EPSR 14 15 (3 4) 75u
    EP 16 _net0 (3 _net0) 1
    E2 99 _net0 (99_a _net0) 1
    ENSE 89b INN (88 _net0) 1
    E16 12a _net0 (25 _net0) 1
    Ecmr2 24 _net0 (2 _net0) 1
    Ecmr1 23 _net0 (1 _net0) 1
    EINN 71 99 (4 99) 1
    E9 80b 99 (80 99) 1
    ECMR 84 99 (INN 99) 1
    EINP 70 99 (3 99) 1
    E10 89a 99 (89 99) 1
    EN 17 _net0 (4 _net0) 1

    GPSR 85 86 85 86 100u
    G1 22 _net0 11 12 0.0628318530717959

    G0 8 _net0 22 _net0 0.0294053072376005


    HLIM 90 _net0 VLIM 2.0K

    IRP 3 4 6500e-6
    I1 88 _net0 1e-21
    ISS _net0 10 100u
    II0 INN _net0 3p

    VSRN 19 21 9.2
    VSRP 20 19 9.2
    V3 19 0 0
    V2 15 0 0
    VP0_PSR 85 14 -375.000u
    VPSR 15 86 0
    V1 13 89a 2e-3
    V12 _net0 0 0
    VCMP 82 70 550m
    VLN _net0 92 19.2
    VLP 91 _net0 19.2
    VLIM 8 5 0
    VCMN 83 71 550m
    VAD 60 4 0
    VE 54 4 820.00m
    VB 9 _net0 0
    VC 3 53 820.00m
    V9 89 89b 50u

    M1 11 13 10 10 PIN w=1.0u l=1.0u
    M0 12 80a 10 10 PIN w=1.0u l=1.0u

    R_ST2 8 9 500000
    R_ST1 22 _net0 5412.45639115052
    RL11 11 60 4.35E3
    RL12 12 60 4.35E3
    Rcm2 25 24 1E-6
    RIN3 INNR 2 240
    Rcm1 25 23 1E-6
    R7 99_a 17 1E-6
    R6 99_a 16 1E-6
    R11 80 INP 1E-3
    RO1 7 8 1E9
    RIN1 1 INPR 240
    R3 80a 80b 1.2E3
    RIN2 INPR INP 240
    RCM 84 81 1E3
    RIN4 INN INNR 240
    RN1 88 _net0 2.579E3
    R18 INPa INN 6E9

    ** ends TP1282_7MHz_model
    .MODEL DX D(IS=800.0E-18)
    .model PIN pmos level=3 vto=-0.7 uo=200.0 tox=23.5n nsub=2.53e+16 nfs=1.8e+12 vmax=2.9e+05 eta=0.047 kappa=7.00 theta=0.139 delta=0.89 xj=0.14u rsh=1102.0 ld=0.225u cgdo=2.9e-10 cgso=2.9e-10 af=1.0 kf=2.6e-29 cj=3.1e-04 mj=0.370 cjsw=2.6e-10 mjsw=0.170 pb=0.360
    .MODEL NIN NMOS KP=8.5E-6 VTO=0.7
    .ENDS

  • 我按照下面文档步骤编译的时候,确实出现了#Line110 is too long的error:

    Importing a SPICE NetList into TINA9-TI

    我找到E2E英文论坛中类似帖子链接如下,那边的工程师建议寻求DesignSoft support的支持。

    https://e2e.ti.com/support/tools/simulation-hardware-system-design-tools-group/sim-hw-system-design/f/simulation-hardware-system-design-tools-forum/1055991/tina-model-compile-error-line-is-too-long?tisearch=e2e-sitesearch&keymatch=%23Line%20is%20too%20long#

    如下支持链接:

    Since TINA is a DesignSoft/TINA program, questions are handled by using the DesignSoft support page: http://www.tina.com/technical-support/  .