Skip to content

Commit 130aaee

Browse files
authored
Merge pull request #3456 from Pinata-Consulting/synth-log-version
synth: log yosys version into .log file
2 parents aaf6c43 + 402e6e1 commit 130aaee

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

flow/scripts/synth.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/usr/bin/env bash
22
set -u -eo pipefail
33
mkdir -p $RESULTS_DIR $LOG_DIR $REPORTS_DIR $OBJECTS_DIR
4-
eval "$TIME_CMD $YOSYS_EXE $YOSYS_FLAGS -c $1" 2>&1 | tee $(realpath $2)
4+
$YOSYS_EXE -V > $(realpath $2)
5+
eval "$TIME_CMD $YOSYS_EXE $YOSYS_FLAGS -c $1" 2>&1 | tee --append $(realpath $2)

0 commit comments

Comments
 (0)