-
-
Save apnsngr/a0d5c2c94b3730745c7e6dec7c43beef to your computer and use it in GitHub Desktop.
Extract testing output from ECE 437 make output
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/awk -f | |
# | |
# Extract test output from ECE 437 simulation/synthesis output | |
# | |
# Written by: Andrew Pensinger <apensin@purdue.edu> | |
BEGIN { | |
print_lines=0; | |
} | |
/# End time: .*/ { | |
print_lines=0; | |
} | |
{ | |
if (print_lines) { | |
print substr($0, 3); | |
} | |
} | |
/# run -all/ { | |
print_lines=1; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment