delorie.com/archives/browse.cgi | search |
On 01/02/2016 12:16 PM, DJ Delorie wrote: > Should this be something you can do in the layout program? > > If so, how do you specify "that gate" in the schematic when you want > to make an as-built? Yes. As in my proposed idea that I will now call "pinswap by attribs and pinswap file" : I would use a separate script to process pin swaps that utilizes a pinswap number attribute that is not part of symbols as they are in the library, but added when you need it. There could be a pinswap file added with same symbol name and a .pinswap ending on it. The pinswap file would come from FPGA tables of pin uses in datasheets that are 1000 pages long. The pinswap file would not be embedded in a standard symbol, just kept as a file next to it. Each pin that has pinswap attrib would have pinswap=2 or pinswap=771, but not any lists of variants allowed -- that would be the job of a script or backend to assign from the .pinswap data file. The meaning of the pinswap attrib on a pin would be: "Assign the internal function of this defined pin of this IC to the physical pin number of this pinswap attrib. For example use U7. If a pin has pinnumber=669 and pinswap=771, the generated netlist for the design net that connects would have U7-771 in the list for that net. The function names for pinswaps will not always be the same, (like they were for old fashioned slotting of quad gates), so a way to suppress showing the functional name on a symbol would be a good idea, and instead use a name form an attrib associated with pinswap attrib. I'd start using a new attrib pinfunction that is always created and added to a symbol by a pinswap script and never in a standard symbol. When it is there, set visibility of pinname to off and visibility of pinfunction to on. To add doing steps in layout: output a .net.aslo netlist file to compare with. Add a feature to use it to gschem. Perhaps since the ratlist is shown in a color, the imported .net.aslo netlist connections could be shown in a different color as a visual check, the accepted as "the netlist" to use to show yellow ratlines.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |