diff --git a/passes/dfflibmap/Makefile.inc b/passes/dfflibmap/Makefile.inc deleted file mode 100644 index b4d73fa12..000000000 --- a/passes/dfflibmap/Makefile.inc +++ /dev/null @@ -1,10 +0,0 @@ - -OBJS += passes/dfflibmap/dfflibmap.o -OBJS += passes/dfflibmap/libparse.o - -TARGETS += yosys-filterlib -GENFILES += passes/dfflibmap/filterlib.o - -yosys-filterlib: passes/dfflibmap/filterlib.o - $(CXX) -o yosys-filterlib $(LDFLAGS) $^ $(LDLIBS) - diff --git a/passes/techmap/Makefile.inc b/passes/techmap/Makefile.inc index 152950663..022603564 100644 --- a/passes/techmap/Makefile.inc +++ b/passes/techmap/Makefile.inc @@ -1,6 +1,9 @@ +OBJS += passes/techmap/techmap.o +OBJS += passes/techmap/dfflibmap.o +OBJS += passes/techmap/libparse.o + GENFILES += passes/techmap/stdcells.inc -OBJS += passes/techmap/techmap.o passes/techmap/stdcells.inc: techlibs/common/stdcells.v echo "// autogenerated from $<" > $@.new @@ -10,3 +13,9 @@ passes/techmap/stdcells.inc: techlibs/common/stdcells.v passes/techmap/techmap.o: passes/techmap/stdcells.inc +TARGETS += yosys-filterlib +GENFILES += passes/techmap/filterlib.o + +yosys-filterlib: passes/techmap/filterlib.o + $(CXX) -o yosys-filterlib $(LDFLAGS) $^ $(LDLIBS) + diff --git a/passes/dfflibmap/dfflibmap.cc b/passes/techmap/dfflibmap.cc similarity index 100% rename from passes/dfflibmap/dfflibmap.cc rename to passes/techmap/dfflibmap.cc diff --git a/passes/dfflibmap/filterlib.cc b/passes/techmap/filterlib.cc similarity index 100% rename from passes/dfflibmap/filterlib.cc rename to passes/techmap/filterlib.cc diff --git a/passes/dfflibmap/libparse.cc b/passes/techmap/libparse.cc similarity index 100% rename from passes/dfflibmap/libparse.cc rename to passes/techmap/libparse.cc diff --git a/passes/dfflibmap/libparse.h b/passes/techmap/libparse.h similarity index 100% rename from passes/dfflibmap/libparse.h rename to passes/techmap/libparse.h