Comments (4)
The decred_hash_macro is a spice netlist -> xschem import example, requested by a user,
Normally you don't create schematics from a synthetized design, as the schematic contains thousands of gates/flops and is unreadable.
However in some very specific cases you might want to do that.
Importing a spice netlist into xschem can not be a general 'push button' process.
- spice netlists don't specify the direction of subcircuit ports, so some additional information needs to be inserted in the spice netlist
- Spice netlists written from various tools have all kinds of weird naming conventions, in some cases it is very hard to figure if a net is a part of a bus or a single signal.
The Readme file explains the process, a sequence of automated import scripts and some manual work.
A totally different subject is drawing the set of standard cells , like the sky130_fd_sc_hd high density library.
what has been done was to manualy draw the symbol for one representative of each logic function (and, nand, nor, flop etc), then use some script to derive the bigger sizes (nand_2, nand_4, nand_8...) from the base (small, nand_1) cell.
So, creation of a standard cell symbol library in xschem is not an automated process. If someone wants to do that it would be great (there are very good python programmers here).
from xschem_sky130.
A group of us are working on some of these, I think we had some correspondence regarding spice import last year, So we would like to contribute a similar structure on ASAP7 (assuming there are no licensing issues). I would ask you more pointed questions as we go through the same. We want to create general rules based on names (A,B, C, IN etc for I/P, D,O,Y etc for O/P and so on for I/O) and also associate those with specific symbol GATE structures (based on functions/structures etc). Closing this for the time being.
Thanks for the feedback
from xschem_sky130.
The decred_hash_macro is a spice netlist -> xschem import example, requested by a user,
Normally you don't create schematics from a synthetized design, as the schematic contains thousands of gates/flops and is unreadable.
However in some very specific cases you might want to do that.Importing a spice netlist into xschem can not be a general 'push button' process.
- spice netlists don't specify the direction of subcircuit ports, so some additional information needs to be inserted in the spice netlist
- Spice netlists written from various tools have all kinds of weird naming conventions, in some cases it is very hard to figure if a net is a part of a bus or a single signal.
> The Readme file explains the process, a sequence of automated import scripts and some manual work.A totally different subject is drawing the set of standard cells , like the sky130_fd_sc_hd high density library.
what has been done was to manualy draw the symbol for one representative of each logic function (and, nand, nor, flop etc), then use some script to derive the bigger sizes (nand_2, nand_4, nand_8...) from the base (small, nand_1) cell.
So, creation of a standard cell symbol library in xschem is not an automated process. If someone wants to do that it would be great (there are very good python programmers here).
Stefan,
Which readme file were you pointing here , Can you send me the path relative to the xschem_sky130
Regards,
from xschem_sky130.
The Readme is here: Try to go through it, if you have problems let me know.
Importing a synthetized spice netlist is a task that requires always some manual intervention, there are so many changing details over time and design space...
from xschem_sky130.
Related Issues (15)
- Error running xshem from xschem_sky130 directory HOT 4
- test_inv.sch references $::SKYWATER_MODEL but when you run a NGSPICE simulation it does not exist HOT 4
- .xschemrc is not present after installing skywater HOT 4
- issue in xschem and Ngspice using sky130 process HOT 1
- is there an example of a circuit, ready for layout? HOT 1
- Installation of magic and skywater pdk HOT 1
- Underlying transistor-based schematics of sky130_stdcells HOT 8
- Simulating sky130_stdcells in xschem & ngspice HOT 4
- ./bin/xschem not working while running from xschem_sky130 directory HOT 1
- `XSCHEM_LIBRARY_PATH` issue with default symbols HOT 10
- patch problem for sky130 in xschem HOT 2
- Resistor models contain an error. Fix provided. HOT 6
- ngspice run error HOT 1
- Can't find sky130_fd_sc_hd.spice HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xschem_sky130.