Store icebox_stat output in top.stat

This also takes a long time to generate.
This commit is contained in:
Graham Edgecombe 2017-12-06 08:36:51 +00:00
parent 967f3d1414
commit b4e0e6ceb0
2 changed files with 7 additions and 2 deletions

1
.gitignore vendored
View file

@ -6,6 +6,7 @@
*.hex
*.o
*.rpt
*.stat
/pll.sv
!.git*
!.mailmap

View file

@ -8,6 +8,7 @@ ASC_SYN = $(TOP)_syn.asc
ASC = $(TOP).asc
BIN = $(TOP).bin
TIME_RPT = $(TOP).rpt
STAT = $(TOP).stat
SPEED = hx
DEVICE = 8k
PACKAGE = ct256
@ -55,8 +56,11 @@ $(BIN): $(ASC) $(TIME_RPT)
time: $(TIME_RPT)
cat $<
stat: $(ASC_SYN)
icebox_stat $<
$(STAT): $(ASC_SYN)
icebox_stat $< > $@
stat: $(STAT)
cat $<
flash: $(BIN)
iceprog -S $<