User Tools

Site Tools


geda:example_hsm

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
geda:example_hsm [2012/02/20 15:14]
127.0.0.1 external edit
geda:example_hsm [2014/04/18 11:50]
vzh Add link to Russian translation
Line 1: Line 1:
 +//​Translations of this page are also available in the following languages://​ [[example_hsm.ru|Русский]].
 +
 ====== Hierarchical SPICE model ====== ====== Hierarchical SPICE model ======
-If you installed the gEDA Tool Suite from the distribution CD-ROM, then you should have this example ​of a hierarchical analog RF SPICE model in the:\\ **''​{source_install_path}geda-sources/gedagaf/​geda-examples-20060123/​RF_Amp''​** \\ directory.+Example ​of a hierarchical analog RF SPICE model in the:\\ 
 +**''​${prefix}/share/doc/geda-gaf/examples/​RF_Amp''​**\\ 
 +directory, where ''​${prefix}''​ is the installation prefix for gEDA on your 
 +system (usually **''/​usr''​** or **''/​usr/​local''​**).
  
 <​code>​This README created 3.31.2003 <​code>​This README created 3.31.2003
Line 14: Line 19:
  
 MSA-2643.sch -- schematic of stuff inside device package (as shown in MSA-2643.sch -- schematic of stuff inside device package (as shown in
-p. 7 of datasheet. ​ Note that I have not included the transmission ​+p. 7 of datasheet. ​ Note that I have not included the transmission
 lines in this schematic because no value of Z was included in the data lines in this schematic because no value of Z was included in the data
 sheet. ​  (Yes, it's probably 50 ohms, but including them was a sheet. ​  (Yes, it's probably 50 ohms, but including them was a
Line 30: Line 35:
  
 Simulation.cmd -- a file holding SPICE analysis commands which is read Simulation.cmd -- a file holding SPICE analysis commands which is read
-at simulation time by the SPICE simulator. ​ +at simulation time by the SPICE simulator.
  
 5980-2396E.pdf -- Agilent datasheet about the MSA-2643. 5980-2396E.pdf -- Agilent datasheet about the MSA-2643.
Line 57: Line 62:
  
 1.  Use a text editor to create .mod files containing SPICE models of 1.  Use a text editor to create .mod files containing SPICE models of
-the transistors and diodes on p. 8 of the datasheet. ​ +the transistors and diodes on p. 8 of the datasheet.
  
 2.  Create Q1 and Q2 transistor model schematics using gschem. ​ Place 2.  Create Q1 and Q2 transistor model schematics using gschem. ​ Place
Line 77: Line 82:
 line for the component. ​ Make sure that the "​REFDES"​ attribute is X? line for the component. ​ Make sure that the "​REFDES"​ attribute is X?
 and not Q? -- this enables the .SUBCKT file to be attached to the and not Q? -- this enables the .SUBCKT file to be attached to the
-device. ​+device.
  
 5.  Create the higher layer schematic MSA-2643.sch. ​ Place 5.  Create the higher layer schematic MSA-2643.sch. ​ Place
 two copies of Q_Model.sym onto the schematic, corresponding to Q1 and two copies of Q_Model.sym onto the schematic, corresponding to Q1 and
-Q2.  Make Q1 point to its model by setting the following attributes: ​+Q2.  Make Q1 point to its model by setting the following attributes:
  
 model-name: Q1_MSA26F model-name: Q1_MSA26F
Line 109: Line 114:
 mailto:​sdb@cloud9.net mailto:​sdb@cloud9.net
 </​code>​ </​code>​
 +
geda/example_hsm.txt · Last modified: 2014/04/18 11:50 by vzh