2013-01-05 04:13:26 -06:00
|
|
|
|
|
|
|
GENFILES += passes/techmap/stdcells.inc
|
|
|
|
OBJS += passes/techmap/techmap.o
|
|
|
|
|
|
|
|
passes/techmap/stdcells.inc: techlibs/stdcells.v
|
2013-03-17 16:02:46 -05:00
|
|
|
echo -n "// autogenerated from $< on " > $@.new
|
|
|
|
LANG=C date >> $@.new
|
2013-01-05 04:13:26 -06:00
|
|
|
od -v -td1 -w1 $< | awk 'BEGIN { print "static char stdcells_code[] = {"; } $$2 != "" { print $$2 ","; } \
|
2013-03-17 16:02:46 -05:00
|
|
|
END { print 0 "};"; }' | fmt >> $@.new
|
2013-01-05 04:13:26 -06:00
|
|
|
mv $@.new $@
|
|
|
|
|
|
|
|
passes/techmap/techmap.o: passes/techmap/stdcells.inc
|
|
|
|
|