Paul, Sorry for the delay in answering your message, but I am trying to get this library finished franticly... I am getting close now, and I will look at your GUI as soon as I am done. I would like to make a request to you. We need another script, or some code added to this one to do a similar extraction for the VHDL-A(MS) version of the library. I am attaching a file as an example. The rules are simple: Put the name of the parameter on a line by itself, and I mean it BY ITSELF, nothing before, nothing after (except for any of these four: CRLF, CR, LF, LFCR), and then put the value on the line immediately following it. The line with the value can have blank spaces or tabs before and/or after the number. To be safe, for now the number should only use exponential notation. After the value you can have blank lines or any other text before the new variable name. If it is an array, each element must be on a new line, without any blank lines between the rows. The array ends with anything that is not a number, blank line, any text, a new variable name (or EOF). Regarding your idea of reading the template for the extraction, I think it is a nice idea. Anything that can make the life of a modeler easier is good. I am not aware of any more templates other than the ones we distributed in the macro model group. Regarding the scaling element, bring it up in a meeting and we can discuss it there. (Or address this email forum, and not me directly...). We can add anything that is needed and is useful to the library, but we need consensus for doing it... Thanks, Arpad ================================================================ -----Original Message----- From: ibis-macro-bounce@xxxxxxxxxxxxx [mailto:ibis-macro-bounce@xxxxxxxxxxxxx] On Behalf Of Paul Fernando Sent: Tuesday, January 31, 2006 3:05 PM To: Muranyi, Arpad Cc: ibis-macro@xxxxxxxxxxxxx Subject: [ibis-macro] IBIS-to-AMS script update Hi Arpad, I've added a GUI (Perl/Tk) to the IBIS-to-AMS script. When the user selects the IBIS file, it lists the models in the file. Once the user selects a model, it asks for the corner and creates a Verilog-A .dat file with the relevent information. (To run it type: "perl conv.pl") Needless to say, its quite simple at this point. I'm thinking of updating the script so that it can handle templates as well. For example, if a model maker wants to create a pre-emphasis AMS model, they would select the relevent template and the GUI would request the input data/ibisfiles interactively. Is this a good approach to creating a more complete IBIS-to-AMS converter? Could you please let me know if there are anymore templates available (other than the pre-emphasis buffer)? I'd like to create the template for an LVDS buffer at some point; the problem is that I fail to see how the AMS modeling technique helps in this case. Could you give me some pointers? I have a suggestion for an additional macro library element. Right now the scaling is done my using 8 current sources. Could we lump them into a library element, since scaling would be frequently used? Regards, Paul
-------------------------------------------------------------------- -- C_comp parameters -------------------------------------------------------------------- C_comp 5.00e-12 kC_comp_pc 0.25 kC_comp_pu 0.25 kC_comp_pd 0.25 kC_comp_gc 0.25 -------------------------------------------------------------------- -- Receiver thresholds -------------------------------------------------------------------- Vinh 3.20 Vinl 1.80 -------------------------------------------------------------------- -- [Pullup Reference] and [Pulldown Reference] values -------------------------------------------------------------------- Vpc_ref 5.0 Vpu_ref 5.0 Vpd_ref 0.0 Vgc_ref 0.0 -------------------------------------------------------------------- -- V_fixture and R_fixture values -------------------------------------------------------------------- Vfx_r1 0.0 Vfx_r2 5.0 Vfx_f1 5.0 Vfx_f2 0.0 Rfx_r1 50.0 Rfx_r2 50.0 Rfx_f1 50.0 Rfx_f2 50.0 -------------------------------------------------------------------- -- Vectors of the IV curve tables -------------------------------------------------------------------- Ipc_data 0.08 0.00 0.00 0.00 Vpc_data -5.00 -1.00 5.00 10.00 Ipu_data 0.10 0.00 -0.10 -0.20 Vpu_data -5.00 0.00 5.00 10.00 Ipd_data -0.10 0.00 0.10 0.20 Vpd_data -5.00 0.00 5.00 10.00 Igc_data -0.08 0.00 0.00 0.00 Vgc_data -5.00 -1.00 5.00 10.00 -------------------------------------------------------------------- -- Vectors of the Vt curve tables -------------------------------------------------------------------- Vr1_data 0.00 0.00 2.50 2.50 Tr1_data 0.00 1.00e-9 2.00e-9 3.00e-9 Vr2_data 2.50 2.50 5.00 5.00 Tr2_data 0.00 0.50e-9 0.80e-9 3.00e-9 Vf1_data 5.00 5.00 2.50 2.50 Tf1_data 0.00 1.00e-9 2.00e-9 3.00e-9 Vf2_data 2.50 2.50 0.00 0.00 Tf2_data 0.00 0.50e-9 0.80e-9 3.00e-9 --------------------------------------------------------------------