Skip to content

Commit d5662a3

Browse files
committed
moved tech config to act/ directory
1 parent 3180db4 commit d5662a3

File tree

5 files changed

+11
-12
lines changed

5 files changed

+11
-12
lines changed

act/Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ LIB=libact_$(EXT).a
2323
TARGETLIBS=$(LIB)
2424

2525
TARGETINCS=lang.h expr.h act_parse_id.h path.h namespaces.h act.h \
26-
types.h inst.h iter.h act_array.h basetype.h body.h value.h
26+
types.h inst.h iter.h act_array.h basetype.h body.h value.h \
27+
tech.h
2728

2829
TARGETINCSUBDIR=act
2930

@@ -32,7 +33,7 @@ TARGETCONF=global.conf
3233
OBJS1=expr.o path.o
3334
OBJS2=namespaces.o act_parse.o act_walk_X.o wrap.o act.o prs.o types.o \
3435
body.o check.o error.o array.o expr2.o id.o lang.o iter.o \
35-
mangle.o inst.o scope.o connect.o pass.o
36+
mangle.o inst.o scope.o connect.o pass.o tech.o
3637

3738
OBJS=$(OBJS1) $(OBJS2)
3839

common/tech.cc renamed to act/tech.cc

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@
2626
#include <config.h>
2727
#include <misc.h>
2828
#include <array.h>
29+
#include <act/lang.h>
30+
#include <act/passes/netlist.h>
2931
#include "tech.h"
3032

3133
#define BUF_SZ 10240
@@ -65,11 +67,8 @@ static void verify_range_table (const char *nm)
6567
}
6668
}
6769

68-
//#define PTYPE EDGE_PFET
69-
//#define NTYPE EDGE_NFET
70-
#define PTYPE 1
71-
#define NTYPE 0
72-
extern const char *act_dev_value_to_string (int);
70+
#define PTYPE EDGE_PFET
71+
#define NTYPE EDGE_NFET
7372

7473
/*------------------------------------------------------------------------
7574
*
File renamed without changes.

build

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ else
1313
fi
1414

1515
echo "Building common library/generators..." && \
16-
make -C common install_inc && \
1716
make -C common install && \
1817
make -C pgen install
1918

common/Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ TARGETINCS=array.h bitset.h misc.h hash.h qops.h config.h atrace.h \
3030
names.h mstring.h mytime.h \
3131
channel.h hconfig.h contexts.h count.h \
3232
machine.h mem.h mutex.h thread.h sim.h \
33-
log.h ext.h simthread.h simdes.h tech.h
33+
log.h ext.h simthread.h simdes.h
3434

3535
# general library support
3636
OBJS1=bitset.o misc.o hash.o config.o atrace.o avl.o lzw.o lex.o file.o \
@@ -49,7 +49,7 @@ OBJS3=$(OBJS3C) $(OBJS3C2) $(OBJS3CPP) $(OBJS3CPP2)
4949

5050
OBJS4=$(OBJS4C) $(OBJS4C2) $(OBJS4CPP) $(OBJS4CPP2)
5151

52-
SRCS=$(OBJS1:.o=.c) tech.cc $(OBJS3C:.o=.c) $(OBJS3CPP:.o=.cc) \
52+
SRCS=$(OBJS1:.o=.c) $(OBJS3C:.o=.c) $(OBJS3CPP:.o=.cc) \
5353
$(OBJS4C:.o=.c) $(OBJS4CPP:.o=.cc) # ns.c
5454

5555
OBJS=$(OBJS1) $(OBJS3) $(OBJS4) $(OBJS2)
@@ -116,8 +116,8 @@ alog.o: log.cc
116116
#queue.o: queue.cc
117117
# $(CXX) -c $(CFLAGS) $(DFLAGS) -DSYNCHRONOUS $<
118118

119-
$(LIB1): $(OBJS1) tech.o
120-
ar ruv $(LIB1) $(OBJS1) tech.o
119+
$(LIB1): $(OBJS1)
120+
ar ruv $(LIB1) $(OBJS1)
121121
$(RANLIB) $(LIB1)
122122

123123
$(LIB3): $(OBJS3)

0 commit comments

Comments
 (0)