3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-02-12 11:54:09 +00:00
yosys/tests/arch/ecp5
Mohamed Gaber 3d6b8b8e1a
wheels: fix missing yosys-abc/share directory
* `misc/__init__.py`:
  * checks if there's a `yosys-abc` in the same directory - if yes, sets the variable `sys._pyosys_abc`
  * checks if there's a `share` in the same directory - if yes, sets the variable `sys._pyosys_share_dirname`
* `yosys.cc::init_share_dirname`: check for `sys._pyosys_share_dirname`, use it at the highest priority if Python is enabled
* `yosys.cc::init_abc_executable_name`: check for `sys._pyosys_abc`, use it at at the highest priority if Python is enabled
* `Makefile`: add new target, `share`, to only create the extra targets
* `setup.py`: compile libyosys.so, yosys-abc and share, and copy them all as part of the pyosys build
* `test/arch/ecp5/add_sub.py`: ported `add_sub.ys` to Python to act as a test for the share directory and abc with Python wheels, used in CI
2024-10-09 13:09:14 +03:00
..
.gitignore
add_sub.py
add_sub.ys
adffs.ys
bug1459.ys
bug1598.ys
bug1630.il.gz
bug1630.ys
bug1836.mem
bug1836.ys
bug2409.ys
bug2731.ys
counter.ys
dffs.ys
dpram.v
dpram.ys
fsm.ys
latches.ys
latches_abc9.ys
logic.ys
lutram.ys
macc.v
macc.ys
memories.ys
mul.ys
mux.ys
opt_lut_ins.ys
rom.v
rom.ys
run-test.sh
shifter.ys
tribuf.ys