mirror of
https://github.com/YosysHQ/yosys
synced 2026-07-14 11:15:40 +00:00
Implemented celltype lookups.
This commit is contained in:
parent
ac96f318ef
commit
a4d998d6cd
4 changed files with 727 additions and 246 deletions
8
Makefile
8
Makefile
|
|
@ -741,6 +741,8 @@ ifeq ($(LINK_ABC),1)
|
|||
OBJS += $(PROGRAM_PREFIX)yosys-libabc.a
|
||||
endif
|
||||
|
||||
OBJS += kernel/gen_celltypes_data.o
|
||||
|
||||
# prevent the CXXFLAGS set by this Makefile from reaching abc/Makefile,
|
||||
# especially the -MD flag which will break the build when CXX is clang
|
||||
unexport CXXFLAGS
|
||||
|
|
@ -1183,6 +1185,12 @@ clean-abc:
|
|||
mrproper: clean
|
||||
git clean -xdf
|
||||
|
||||
# Generate cell type tables
|
||||
GENFILES += kernel/gen_celltypes_data.cc kernel/gen_celltypes_data.h
|
||||
kernel/gen_celltypes_data.cc kernel/gen_celltypes_data.h: kernel/constids.inc misc/gen_celltypes.py
|
||||
$(P) $(PYTHON_EXECUTABLE) $(YOSYS_SRC)/misc/gen_celltypes.py $(YOSYS_SRC)
|
||||
$(OBJS): | kernel/gen_celltypes_data.h
|
||||
|
||||
coverage:
|
||||
./$(PROGRAM_PREFIX)yosys -qp 'help; help -all'
|
||||
rm -rf coverage.info coverage_html
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue