3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-05-25 11:26:22 +00:00

Migrate build system to CMake

See #5895 for details.

This commit does not include CI or documentation changes.
This commit is contained in:
Catherine 2026-05-12 05:33:04 +00:00
parent 9d0cdb8551
commit 9b087b4aa7
207 changed files with 5202 additions and 2294 deletions

View file

@ -1 +0,0 @@
/*_pm.h

View file

@ -0,0 +1,15 @@
pmgen_command(test_pmgen
test_pmgen.pmg
)
yosys_test_pass(pmgen
test_pmgen.cc
${PMGEN_test_pmgen_OUTPUT}
REQUIRES
synth_ice40
synth_xilinx
)
# Test implementation directly depends on generated files from these passes.
add_dependencies(yosys_test_pmgen
yosys_ice40_dsp
yosys_xilinx_srl
)

View file

@ -1,10 +0,0 @@
passes/pmgen/%_pm.h: passes/pmgen/pmgen.py passes/pmgen/%.pmg
$(P) mkdir -p $(dir $@) && $(PYTHON_EXECUTABLE) $< -o $@ -p $(notdir $*) $(filter-out $<,$^)
# --------------------------------------
OBJS += passes/pmgen/test_pmgen.o
GENFILES += passes/pmgen/test_pmgen_pm.h
passes/pmgen/test_pmgen.o: passes/pmgen/test_pmgen_pm.h techlibs/ice40/ice40_dsp_pm.h techlibs/xilinx/xilinx_srl_pm.h
$(eval $(call add_extra_objs,passes/pmgen/test_pmgen_pm.h))