Table of Contents
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
See also: sch2sym.py
About
Documentation:
- Readme contained in the downlodable archive
- On Launchpad 1
- (Original)Post on gEDA-dev list 2
- Also on gmane archives - seach for "gEDA Schematic to Symbol Generator"
Installation
- Download here: 3 or 4
- Extract all files from the arvhive
- Apply the Patch:
- There is a bug in the original which prevents reading of the user-configuration (geda_sch2sym.ini) file. The patch is temporarily available here. Apply the patch using the command ' patch original_file patch_file'
- If required, add the location of geda_sch2sym.bsh to your $PATH environmental variable.
Usage
Prerequisites
- A copy of the geda_sch2sym.ini file in the same directory as the schematic.
- Hierarchy traversal MUST be disabled for correct netlisting.
- Configuring options in the ini file:
- Edit geda_sch2sym.ini to edit configuration:
- In the [sch_IO_devices] section:
- Edit the table on lines 44-46, replacing IPAD, OPAD and IOPAD with the actual names of IO devices used in the schematic.
- Add one line for each class if IO device on the schematic
- In the [sch_IO_devices] section:
- Run one of the following commands
- Edit geda_sch2sym.ini to edit configuration:
Commands
[program path]geda_sch2sym.bsh –s adder1b.sch //Convert schematic to symbol
[program path]geda_sch2sym.bsh -p [input path]anyname.sch //Convert schematic to ini file
[program path]geda_sch2sym.bsh -t [input path]anyname_IO_ports.ini //Convert ini file to symbol
Note: Watch the pinnumber and pinseq attributes, since these need to match the order in subcircuit definition. It may be preferable to generate the *ini file, verify and modify it if needed and then generate the symbol.
Caveats
- All IO ports of the circuits should be assigned net names.
- Parameter values must be added separately to the symbol.