1
0

don't pipe stdout to vcd2vpd

This commit is contained in:
Andrew Waterman 2013-03-25 17:01:13 -07:00
parent ef4927c9ad
commit def11e44b8
2 changed files with 3 additions and 1 deletions

View File

@ -9,6 +9,7 @@
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
htif_emulator_t* htif;
void handle_sigterm(int sig)

View File

@ -75,7 +75,8 @@ output/%.out: output/%.hex emulator
output/%.vpd: output/%.hex emulator-debug
rm -rf $@.vcd && mkfifo $@.vcd
./emulator-debug +dramsim +max-cycles=3000000 +verbose -v$@.vcd +coremap-random +loadmem=$< none 2> $(patsubst %.vpd,%.out,$@) | vcd2vpd $@.vcd $@ > /dev/null && [ $$PIPESTATUS -eq 0 ]
vcd2vpd $@.vcd $@ > /dev/null &
./emulator-debug +dramsim +max-cycles=3000000 +verbose -v$@.vcd +coremap-random +loadmem=$< none 2> $(patsubst %.vpd,%.out,$@)
run-asm-tests: $(addprefix output/, $(addsuffix .out, $(global_asm_tests) $(global_asm_vm_tests)))
@echo; perl -ne 'print " [$$1] $$ARGV \t$$2\n" if /\*{3}(.{8})\*{3}(.*)/' $^; echo;