<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Error missing SUBCKT: 'PARAMS:' in EAGLE Forum</title>
    <link>https://forums.autodesk.com/t5/eagle-forum/error-missing-subckt-params/m-p/8561244#M28148</link>
    <description>&lt;P&gt;After doing some research i finally got LM317 PSPICE model import and simulated very fine..attached is modded mdl file for use with eagle ngspice...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here are the future mods for any PSPICE file that needs to be converted:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;MODS:&lt;/P&gt;
&lt;P&gt;- REMOVE OUT_1 (LM317 regulators have one ONE output in TO220 case)&lt;BR /&gt;.SUBCKT LM317_TRANS IN ADJ OUT_0 OUT_1 (original)&lt;BR /&gt;.SUBCKT LM317_TRANS IN ADJ OUT_0 (modify)&lt;/P&gt;
&lt;P&gt;- REMOVE EACH TC=0,0&lt;BR /&gt;R_R6 N242982 VYY 10 TC=0,0 (original)&lt;BR /&gt;R_R6 N242982 VYY 10 (modify)&lt;BR /&gt;&lt;BR /&gt;- ADD = AFTER EACH VALUE&lt;BR /&gt;E_ABM1 N242982 0 VALUE { MIN(V(VXX), (V(Vzz)+(ILIM*ROUT))) } (original)&lt;BR /&gt;E_ABM1 N242982 0 VALUE={ MIN(V(VXX), (V(Vzz)+(ILIM*ROUT))) } (modify)&lt;BR /&gt;&lt;BR /&gt;- ADD EACH + INLINE (remove , and add inline +)&lt;BR /&gt;E_U1_ABM5 U1_N31197 0 VALUE={ MIN(V(U1_N26728), &lt;BR /&gt;+ MAX(V(IN) - {DROP}, 0)) } (original)&lt;BR /&gt;E_U1_ABM5 U1_N31197 0 VALUE={ MIN(V(U1_N26728) + MAX(V(IN) - {DROP}, 0)) } (modify)&lt;/P&gt;
&lt;P&gt;- REMOVE PARAMS: FROM LINE AND ADD VALUES TO .PARAM&lt;BR /&gt;X_U1_U2 IN U1_N12783 U1_N12664 U1_UVLO_OK COMPHYS_BASIC_GEN PARAMS:&lt;BR /&gt;.PARAM psrr=7.9432e-4 uvlo=0 ilim=2.2 pole=15k rinp=1e7 zero=100e6 rout=0.4m&lt;BR /&gt;+ ttrn=1e-4 vref=1.25 uhys=0 drop=.5&lt;BR /&gt;+ VDD=1 VSS=0 VTHRESH=0.5 (original)&lt;BR /&gt;X_U1_U2 IN U1_N12783 U1_N12664 U1_UVLO_OK COMPHYS_BASIC_GEN&lt;BR /&gt;.PARAM psrr=7.9432e-4 uvlo=0 ilim=2.2 pole=15k rinp=1e7 zero=100e6 rout=0.4m&lt;BR /&gt;+ ttrn=1e-4 vref=1.25 uhys=0 drop=.5 VDD=1 VSS=0 VTHRESH=0.5&lt;/P&gt;
&lt;P&gt;- ADD = AFTER EACH VALUE AND REMOVE IF AND REPLACE IN IF FIRST , WITH ? AND SECOND , WITH : (? means IF and ? means else)&lt;BR /&gt;E_U1_ABM6 U1_EN_OUT 0 VALUE { IF(V(U1_UVLO_OK)&amp;gt; 0.6, {VREF}, 0) } (original)&lt;BR /&gt;E_U1_ABM6 U1_EN_OUT 0 VALUE={ (V(U1_UVLO_OK)&amp;gt; 0.6 ? {VREF} : 0) } (modify)&lt;/P&gt;</description>
    <pubDate>Wed, 30 Jan 2019 15:05:14 GMT</pubDate>
    <dc:creator>ronovar</dc:creator>
    <dc:date>2019-01-30T15:05:14Z</dc:date>
    <item>
      <title>Error missing SUBCKT: 'PARAMS:'</title>
      <link>https://forums.autodesk.com/t5/eagle-forum/error-missing-subckt-params/m-p/7842461#M28133</link>
      <description>&lt;P&gt;I am trying to bind this library to a model "LM317-T039" I have in my circuit. It is a voltage regulator but I am getting the error in the title. I am trying to simulate the circuit to be able to debug it and make sure it works. Help would be much appreciated.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Mar 2018 22:21:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/eagle-forum/error-missing-subckt-params/m-p/7842461#M28133</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-09T22:21:47Z</dc:date>
    </item>
    <item>
      <title>Re: Error missing SUBCKT: 'PARAMS:'</title>
      <link>https://forums.autodesk.com/t5/eagle-forum/error-missing-subckt-params/m-p/7843804#M28134</link>
      <description>&lt;P&gt;the issue is that the model is not pure spice formatted .. it is a pspice model ... you need to convert the pspice specific formats to spice ... regarding your particular error, the current solution is to add a global program statement then surround the program variables with braces within the model. There will be a more direct conversion possible soon as we have just added support for parameters within subcircuit models for this very reason ( it will be out in a future release soon ). still, as I said, you can convert those into global Parameters then use them in the model that way ... let me know if that makes sense.&lt;/P&gt;</description>
      <pubDate>Sun, 11 Mar 2018 03:46:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/eagle-forum/error-missing-subckt-params/m-p/7843804#M28134</guid>
      <dc:creator>edpataky</dc:creator>
      <dc:date>2018-03-11T03:46:52Z</dc:date>
    </item>
    <item>
      <title>Re: Error missing SUBCKT: 'PARAMS:'</title>
      <link>https://forums.autodesk.com/t5/eagle-forum/error-missing-subckt-params/m-p/7844047#M28135</link>
      <description>excuse me i meant to write "add a global param statement the surround the param variables with braces" &lt;BR /&gt;&lt;BR /&gt;there was some bad autocorrect going on there i apologize</description>
      <pubDate>Sun, 11 Mar 2018 10:43:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/eagle-forum/error-missing-subckt-params/m-p/7844047#M28135</guid>
      <dc:creator>edpataky</dc:creator>
      <dc:date>2018-03-11T10:43:43Z</dc:date>
    </item>
    <item>
      <title>Re: Error missing SUBCKT: 'PARAMS:'</title>
      <link>https://forums.autodesk.com/t5/eagle-forum/error-missing-subckt-params/m-p/7854685#M28136</link>
      <description>&lt;P&gt;Hi thanks for the quick reply I tried your advice, and it is binding to the model, but when I try to run the simulation, I get PTerror: syntax error. I am not sure what is wrong with the mdl file. I have included it and help would be much appreciated.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Mar 2018 01:06:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/eagle-forum/error-missing-subckt-params/m-p/7854685#M28136</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-15T01:06:51Z</dc:date>
    </item>
    <item>
      <title>Re: Error missing SUBCKT: 'PARAMS:'</title>
      <link>https://forums.autodesk.com/t5/eagle-forum/error-missing-subckt-params/m-p/7854703#M28137</link>
      <description>no problem i wil take a look</description>
      <pubDate>Thu, 15 Mar 2018 01:20:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/eagle-forum/error-missing-subckt-params/m-p/7854703#M28137</guid>
      <dc:creator>edpataky</dc:creator>
      <dc:date>2018-03-15T01:20:26Z</dc:date>
    </item>
    <item>
      <title>Re: Error missing SUBCKT: 'PARAMS:'</title>
      <link>https://forums.autodesk.com/t5/eagle-forum/error-missing-subckt-params/m-p/7854906#M28138</link>
      <description>&lt;P&gt;I reformatted a bit, here is the model that simulates for me&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;* LM317
*****************************************************************************
* (C) Copyright 2014 Texas Instruments Incorporated. All rights reserved.
*****************************************************************************
** This model is designed as an aid for customers of Texas Instruments.
** TI and its licensors and suppliers make no warranties, either expressed
** or implied, with respect to this model, including the warranties of
** merchantability or fitness for a particular purpose. The model is
** provided solely on an "as is" basis. The entire risk as to its quality
** and performance is with the customer.
*****************************************************************************
*
** Released by: WEBENCH Design Center, Texas Instruments Inc.
* Part: LM317
* Date: 11DEC2014 
* Model Type: TRANSIENT
* Simulator: PSPICE
* Simulator Version: 16.2.0.p001
* EVM Order Number:
* EVM Users Guide:
* Datasheet:SLVS044VñSEPTEMBER 1997ñREVISED FEBRUARY 2013
*
* Model Version: Final 1.00
*
*****************************************************************************
*
* Updates:
*
* Final 1.00
* Release to Web
*
*****************************************************************************
.param psrr=7.9432e-4 uvlo=0 ilim=2.2 pole=15k rinp=1e7 zero=100e6 rout=0.4m
+  ttrn=1e-4 vref=1.25 uhys=0 drop=.5 VDD=1 VSS=0 VTHRESH=0.5
.SUBCKT LM317_TRANS IN ADJ OUT_0
R_R1         VXX1 IN  {RINP}  
R_R6         N242982 VYY  10 
R_R5         VZZ1 VYY  {ROUT}  
E_ABM1         N242982 0 VALUE={ MIN(v(VXX1), (v(Vzz1)+(ILIM*ROUT)))    }
R_R2         N222524 VXX1  {PSRR*RINP}  
R_U1_R2         0 U1_N26728  1G  
E_U1_ABM5         U1_N31197 0 VALUE={ MIN( v(U1_N26728) + (MAX(v(IN) - {DROP}, 0)))   }
C_U1_C2         0 U1_N26728  1n  
R_U1_R1         0 U1_N08257  1G  
R_U1_R4         U1_N28933 U1_N26728  10  
R_U1_R5         U1_N31197 N222524  10 
C_U1_C3         0 N222524  1n  
X_U1_U2         IN U1_N12783 U1_N12664 U1_UVLO_OK COMPHYS_BASIC_GEN
C_U1_C1         0 U1_N08257  {1e-6*SQRT(TTRN)}  
V_U1_V4         U1_N12783 0 {UVLO}
V_U1_V3         U1_N12664 0 {UHYS}
E_U1_ABM6         U1_EN_OUT 0 VALUE={ (V(U1_UVLO_OK)&amp;gt; 0.6) ? {VREF} : 0 }
R_U1_R3         U1_EN_OUT U1_N08257  {3.333e5*SQRT(TTRN)} 
E_U1_ABM4         U1_N28933 0 VALUE={ V(U1_N08257) + (abs(V(OUT_0))/(abs(V(OUT_0)-v(ADJ))))    }
X_U2         0 OUT_0 d_d
X_F1    VZZ1 OUT_0 IN VYY LM317_TRANS_F1
C_C1         VXX1 IN  {1/(6.28*RINP*POLE)}  
C_C2         VXX1 N222524  {1/(6.28*PSRR*RINP*ZERO)}  
C_C3         0 VYY  1n  
.ENDS LM317_TRANS
*$
.SUBCKT LM317_TRANS_F1 1 2 3 4  
F_F1         3 4 VF_F1 1
VF_F1         1 2 0V
.ENDS LM317_TRANS_F1
*$
.SUBCKT COMP_BASIC_GEN INP INM Y 	
E_ABM Yint 0 VALUE={ (V(INP) &amp;gt; V(INM)) ? {{VDD}} : {{VSS}})}
R1 Yint Y 1
C1 Y 0 1n
.ENDS COMP_BASIC_GEN
*$
.SUBCKT COMPHYS_BASIC_GEN INP INM HYS OUT 
EIN INP1 INM1 INP INM 1 
EHYS INP1 INP2 VALUE={ (V(1) &amp;gt; {{VTHRESH}} ? -V(HYS) : 0) }
EOUT OUT 0 VALUE={ ( V(INP2) &amp;gt; V(INM1) ? {{VDD}} : {{VSS}}) }
R1 OUT 1 1
C1 1 0 5n
RINP1 INP1 0 1K
.ENDS COMPHYS_BASIC_GEN
*$
.SUBCKT COMPHYS2_BASIC_GEN INP INM HYS OUT T=10
EIN INP1 INM1 INP INM 1 
EHYS INM2 INM1 VALUE={ ( V(1) &amp;gt; {{VTHRESH}} ? -V(HYS)/2 : V(HYS)/2) }
EOUT OUT 0 VALUE={ ( V(INP1) &amp;gt; V(INM2) ? {{VDD}} : {{VSS}}) }
R1 OUT 1 1
C1 1 0 {T*1e-9}
RINP1 INP1 0 10K
RINM2 INM2 0 10K
.ENDS COMPHYS2_BASIC_GEN
*$
.SUBCKT D_D 1 2
D1 1 2 DD
.MODEL DD D (IS=1E-015 N=0.01 TT=1e-011)
.ENDS D_D
*$&lt;/PRE&gt;</description>
      <pubDate>Thu, 15 Mar 2018 05:05:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/eagle-forum/error-missing-subckt-params/m-p/7854906#M28138</guid>
      <dc:creator>edpataky</dc:creator>
      <dc:date>2018-03-15T05:05:36Z</dc:date>
    </item>
    <item>
      <title>Re: Error missing SUBCKT: 'PARAMS:'</title>
      <link>https://forums.autodesk.com/t5/eagle-forum/error-missing-subckt-params/m-p/7854909#M28139</link>
      <description>&lt;P&gt;model file attached, I think what I did was simply remove some of the continuation lines that were within an expression .. that does not work in ngsipice, so just putting the expressions on one line fixed it.&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Mar 2018 05:08:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/eagle-forum/error-missing-subckt-params/m-p/7854909#M28139</guid>
      <dc:creator>edpataky</dc:creator>
      <dc:date>2018-03-15T05:08:20Z</dc:date>
    </item>
    <item>
      <title>Re: Error missing SUBCKT: 'PARAMS:'</title>
      <link>https://forums.autodesk.com/t5/eagle-forum/error-missing-subckt-params/m-p/7854913#M28140</link>
      <description>&lt;P&gt;here is the difference&lt;/P&gt;</description>
      <pubDate>Thu, 15 Mar 2018 05:10:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/eagle-forum/error-missing-subckt-params/m-p/7854913#M28140</guid>
      <dc:creator>edpataky</dc:creator>
      <dc:date>2018-03-15T05:10:51Z</dc:date>
    </item>
    <item>
      <title>Re: Error missing SUBCKT: 'PARAMS:'</title>
      <link>https://forums.autodesk.com/t5/eagle-forum/error-missing-subckt-params/m-p/8558411#M28141</link>
      <description>&lt;P&gt;I downloaded unencrypted PSpice models from Texas Instruments site:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.ti.com/product/LM317/toolssoftware" target="_blank"&gt;http://www.ti.com/product/LM317/toolssoftware&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.ti.com/product/LM337/toolssoftware" target="_blank"&gt;http://www.ti.com/product/LM337/toolssoftware&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And when i import into Eagle model for LM317/337 i got error Missing SUBCKT: 'PARAMS:'&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What i need to modify so that i can import into EAGLE spice model?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jan 2019 15:49:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/eagle-forum/error-missing-subckt-params/m-p/8558411#M28141</guid>
      <dc:creator>ronovar</dc:creator>
      <dc:date>2019-01-29T15:49:53Z</dc:date>
    </item>
    <item>
      <title>Re: Error missing SUBCKT: 'PARAMS:'</title>
      <link>https://forums.autodesk.com/t5/eagle-forum/error-missing-subckt-params/m-p/8559321#M28142</link>
      <description>&lt;P&gt;I am having exactly the same problem. I cannot seem to find a working Spice model for LM317 and also get the same error.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also with the edited file of Edpataky I get the same error.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jan 2019 20:26:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/eagle-forum/error-missing-subckt-params/m-p/8559321#M28142</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-01-29T20:26:15Z</dc:date>
    </item>
    <item>
      <title>Re: Error missing SUBCKT: 'PARAMS:'</title>
      <link>https://forums.autodesk.com/t5/eagle-forum/error-missing-subckt-params/m-p/8559532#M28143</link>
      <description>&lt;P&gt;i will make a working example and post here shortly&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jan 2019 21:48:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/eagle-forum/error-missing-subckt-params/m-p/8559532#M28143</guid>
      <dc:creator>edpataky</dc:creator>
      <dc:date>2019-01-29T21:48:42Z</dc:date>
    </item>
    <item>
      <title>Re: Error missing SUBCKT: 'PARAMS:'</title>
      <link>https://forums.autodesk.com/t5/eagle-forum/error-missing-subckt-params/m-p/8559640#M28144</link>
      <description>&lt;P&gt;I used the model above and I did not get any error .. here is my library with the mapped part, and an example schematic, and some screenshots.&amp;nbsp; Note that i am setting the R2 value with a parameter, but you can also just set the value directly.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot at Jan 29 14-36-04.png" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/596927iBE1F2FA4EA9077AE/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot at Jan 29 14-36-04.png" alt="Screenshot at Jan 29 14-36-04.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jan 2019 22:39:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/eagle-forum/error-missing-subckt-params/m-p/8559640#M28144</guid>
      <dc:creator>edpataky</dc:creator>
      <dc:date>2019-01-29T22:39:33Z</dc:date>
    </item>
    <item>
      <title>Re: Error missing SUBCKT: 'PARAMS:'</title>
      <link>https://forums.autodesk.com/t5/eagle-forum/error-missing-subckt-params/m-p/8559664#M28145</link>
      <description>&lt;P&gt;If you want to be able to handle ripple, add a cap at the VADJ pin .. i added 50mV ripple to the input, then notice the output is nice and clean with the cap added - this model seems to work as expected&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot at Jan 29 14-42-28.png" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/596932i1824C0F15F7B5004/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot at Jan 29 14-42-28.png" alt="Screenshot at Jan 29 14-42-28.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jan 2019 22:44:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/eagle-forum/error-missing-subckt-params/m-p/8559664#M28145</guid>
      <dc:creator>edpataky</dc:creator>
      <dc:date>2019-01-29T22:44:45Z</dc:date>
    </item>
    <item>
      <title>Re: Error missing SUBCKT: 'PARAMS:'</title>
      <link>https://forums.autodesk.com/t5/eagle-forum/error-missing-subckt-params/m-p/8560453#M28146</link>
      <description>&lt;P&gt;I downloaded LM317_TRANS PSPICE from above website and modify as you suggested a few posts above (add inline text with parameters excluding + sign)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Import is successfull but i im getting errors when i try to simulate example circuit:&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jan 2019 09:26:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/eagle-forum/error-missing-subckt-params/m-p/8560453#M28146</guid>
      <dc:creator>ronovar</dc:creator>
      <dc:date>2019-01-30T09:26:07Z</dc:date>
    </item>
    <item>
      <title>Re: Error missing SUBCKT: 'PARAMS:'</title>
      <link>https://forums.autodesk.com/t5/eagle-forum/error-missing-subckt-params/m-p/8560790#M28147</link>
      <description>&lt;P&gt;I made it! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you so much for your help. It worked with your model and your library.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The mistake I made was this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Schermafbeelding 2019-01-30 om 13.05.01.png" style="width: 333px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/597148i2F49D4DAC2DB3EC8/image-dimensions/333x74?v=v2" width="333" height="74" role="button" title="Schermafbeelding 2019-01-30 om 13.05.01.png" alt="Schermafbeelding 2019-01-30 om 13.05.01.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I had the 'Spice Type' set as 'J: Junction Field-effect Transistor', in your library it was 'X: Subcircuit'.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(I tried this spice type before, but was using a wrong spice model at that time.)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jan 2019 12:10:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/eagle-forum/error-missing-subckt-params/m-p/8560790#M28147</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-01-30T12:10:00Z</dc:date>
    </item>
    <item>
      <title>Re: Error missing SUBCKT: 'PARAMS:'</title>
      <link>https://forums.autodesk.com/t5/eagle-forum/error-missing-subckt-params/m-p/8561244#M28148</link>
      <description>&lt;P&gt;After doing some research i finally got LM317 PSPICE model import and simulated very fine..attached is modded mdl file for use with eagle ngspice...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here are the future mods for any PSPICE file that needs to be converted:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;MODS:&lt;/P&gt;
&lt;P&gt;- REMOVE OUT_1 (LM317 regulators have one ONE output in TO220 case)&lt;BR /&gt;.SUBCKT LM317_TRANS IN ADJ OUT_0 OUT_1 (original)&lt;BR /&gt;.SUBCKT LM317_TRANS IN ADJ OUT_0 (modify)&lt;/P&gt;
&lt;P&gt;- REMOVE EACH TC=0,0&lt;BR /&gt;R_R6 N242982 VYY 10 TC=0,0 (original)&lt;BR /&gt;R_R6 N242982 VYY 10 (modify)&lt;BR /&gt;&lt;BR /&gt;- ADD = AFTER EACH VALUE&lt;BR /&gt;E_ABM1 N242982 0 VALUE { MIN(V(VXX), (V(Vzz)+(ILIM*ROUT))) } (original)&lt;BR /&gt;E_ABM1 N242982 0 VALUE={ MIN(V(VXX), (V(Vzz)+(ILIM*ROUT))) } (modify)&lt;BR /&gt;&lt;BR /&gt;- ADD EACH + INLINE (remove , and add inline +)&lt;BR /&gt;E_U1_ABM5 U1_N31197 0 VALUE={ MIN(V(U1_N26728), &lt;BR /&gt;+ MAX(V(IN) - {DROP}, 0)) } (original)&lt;BR /&gt;E_U1_ABM5 U1_N31197 0 VALUE={ MIN(V(U1_N26728) + MAX(V(IN) - {DROP}, 0)) } (modify)&lt;/P&gt;
&lt;P&gt;- REMOVE PARAMS: FROM LINE AND ADD VALUES TO .PARAM&lt;BR /&gt;X_U1_U2 IN U1_N12783 U1_N12664 U1_UVLO_OK COMPHYS_BASIC_GEN PARAMS:&lt;BR /&gt;.PARAM psrr=7.9432e-4 uvlo=0 ilim=2.2 pole=15k rinp=1e7 zero=100e6 rout=0.4m&lt;BR /&gt;+ ttrn=1e-4 vref=1.25 uhys=0 drop=.5&lt;BR /&gt;+ VDD=1 VSS=0 VTHRESH=0.5 (original)&lt;BR /&gt;X_U1_U2 IN U1_N12783 U1_N12664 U1_UVLO_OK COMPHYS_BASIC_GEN&lt;BR /&gt;.PARAM psrr=7.9432e-4 uvlo=0 ilim=2.2 pole=15k rinp=1e7 zero=100e6 rout=0.4m&lt;BR /&gt;+ ttrn=1e-4 vref=1.25 uhys=0 drop=.5 VDD=1 VSS=0 VTHRESH=0.5&lt;/P&gt;
&lt;P&gt;- ADD = AFTER EACH VALUE AND REMOVE IF AND REPLACE IN IF FIRST , WITH ? AND SECOND , WITH : (? means IF and ? means else)&lt;BR /&gt;E_U1_ABM6 U1_EN_OUT 0 VALUE { IF(V(U1_UVLO_OK)&amp;gt; 0.6, {VREF}, 0) } (original)&lt;BR /&gt;E_U1_ABM6 U1_EN_OUT 0 VALUE={ (V(U1_UVLO_OK)&amp;gt; 0.6 ? {VREF} : 0) } (modify)&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jan 2019 15:05:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/eagle-forum/error-missing-subckt-params/m-p/8561244#M28148</guid>
      <dc:creator>ronovar</dc:creator>
      <dc:date>2019-01-30T15:05:14Z</dc:date>
    </item>
    <item>
      <title>Re: Error missing SUBCKT: 'PARAMS:'</title>
      <link>https://forums.autodesk.com/t5/eagle-forum/error-missing-subckt-params/m-p/8561863#M28149</link>
      <description>&lt;P&gt;Ok, here is mdl for LM317/337 so that can be direct imported into EAGLE and used in simulation in ngspice...i converted it using this guide and it is simulating and working perfectly..these are new models added as today if someone use it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jan 2019 18:37:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/eagle-forum/error-missing-subckt-params/m-p/8561863#M28149</guid>
      <dc:creator>ronovar</dc:creator>
      <dc:date>2019-01-30T18:37:20Z</dc:date>
    </item>
  </channel>
</rss>

