mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 11:42:30 +00:00 
			
		
		
		
	- Techlib pmgens are now in relevant techlibs/*. - `peepopt` pmgens are now in passes/opt. - `test_pmgen` is still in passes/pmgen. - Update `Makefile.inc` and `.gitignore` file(s) to match new `*_pm.h` location, as well as the `#include`s. - Change default `%_pm.h` make target to `techlibs/%_pm.h` and move it to the top level Makefile. - Update pmgen target to use `$(notdir $*)` (where `$*` is the part of the file name that matched the '%' in the target) instead of `$(subst _pm.h,,$(notdir $@))`.
		
			
				
	
	
		
			10 lines
		
	
	
	
		
			453 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
	
		
			453 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
| 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))
 | |
| 
 |