Skip to content

Commit 84269c8

Browse files
committed
synth: replace silent error with some sort of error
If ADDER_MAP_FILE is not a file, then produce an error instead of silence: $ make ADDER_MAP_FILE=blah do-yosys [deleted] ERROR: Can't open input file `blah' for reading: No such file or directory ERROR: TCL interpreter returned an error: Yosys command produced an error Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
1 parent 473c491 commit 84269c8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎flow/scripts/synth.tcl‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ renames -wire
4747
opt -purge
4848

4949
# Technology mapping of adders
50-
if {[env_var_exists_and_non_empty ADDER_MAP_FILE] && [file isfile $::env(ADDER_MAP_FILE)]} {
50+
if {[env_var_exists_and_non_empty ADDER_MAP_FILE]} {
5151
# extract the full adders
5252
extract_fa
5353
# map full adders

0 commit comments

Comments
 (0)