|
|
||
|---|---|---|
| .github/workflows | ||
| XSchemWin | ||
| doc | ||
| scconfig | ||
| src | ||
| tests | ||
| xschem_library | ||
| .gitignore | ||
| .tclint.toml | ||
| AUTHORS | ||
| CMakeLists.txt | ||
| Changelog | ||
| INSTALL | ||
| LICENSE | ||
| Makefile | ||
| Makefile.conf.in | ||
| README | ||
| README.md | ||
| README_MacOS.md | ||
| config.h.in | ||
| configure | ||
README.md
xschem
A schematic editor for VLSI/Asic/Analog custom designs, netlist backends for VHDL, Spice and Verilog. The tool is focused on hierarchy and parametric designs, to maximize circuit reuse.
Development
Tcl Code Linting and Formatting
This project uses tclint for linting and formatting Tcl files.
To install tclint:
pip install tclint
To check Tcl code formatting:
tclfmt --check --exclude "src/xschem.tcl" .
To automatically format Tcl files:
tclfmt --in-place --exclude "src/xschem.tcl" .
To run the linter:
find . -name "*.tcl" -type f ! -path "./src/xschem.tcl" -exec tclint -c .tclint.toml {} \;
The configuration for tclint can be found in .tclint.toml.