mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 03:32:29 +00:00 
			
		
		
		
	techmap: use +/techmap.v instead of an ad-hoc code generator.
This commit is contained in:
		
							parent
							
								
									4b3f48a7ec
								
							
						
					
					
						commit
						68d747f767
					
				
					 3 changed files with 1 additions and 16 deletions
				
			
		|  | @ -45,18 +45,6 @@ OBJS += passes/techmap/flowmap.o | |||
| OBJS += passes/techmap/extractinv.o | ||||
| endif | ||||
| 
 | ||||
| GENFILES += passes/techmap/techmap.inc | ||||
| 
 | ||||
| passes/techmap/techmap.inc: techlibs/common/techmap.v | ||||
| 	$(Q) mkdir -p $(dir $@) | ||||
| 	$(P) echo "// autogenerated from $<" > $@.new | ||||
| 	$(Q) echo "static char stdcells_code[] = {" >> $@.new | ||||
| 	$(Q) od -v -td1 -An $< | $(SED) -e 's/[0-9][0-9]*/&,/g' >> $@.new | ||||
| 	$(Q) echo "0};" >> $@.new | ||||
| 	$(Q) mv $@.new $@ | ||||
| 
 | ||||
| passes/techmap/techmap.o: passes/techmap/techmap.inc | ||||
| 
 | ||||
| ifeq ($(DISABLE_SPAWN),0) | ||||
| TARGETS += $(PROGRAM_PREFIX)yosys-filterlib$(EXE) | ||||
| EXTRA_OBJS += passes/techmap/filterlib.o | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue