Skip to content

Commit 5ff9d76

Browse files
oharboeclaude
andcommitted
synth_syn: document that write_lec_verilog prefixes RESULTS_DIR itself
The bare-filename call keeps getting flagged in review as writing to the CWD; state the proc's contract at the call site. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
1 parent a30468e commit 5ff9d76

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎flow/scripts/synth_syn.tcl‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@ orfs_write_sdc $::env(RESULTS_DIR)/1_synth.sdc
7979
# Gate-level netlist for LEC (write_lec_verilog strips physical-only
8080
# masters, matching the CTS-stage LEC convention) and any other netlist
8181
# consumer. The Bazel synthesis action declares this file as an output,
82-
# so it must be written unconditionally.
82+
# so it must be written unconditionally. write_lec_verilog takes a bare
83+
# filename and prefixes $::env(RESULTS_DIR) itself, like the cts.tcl
84+
# call sites.
8385
source $::env(SCRIPTS_DIR)/lec_check.tcl
8486
write_lec_verilog 1_synth.v

0 commit comments

Comments
 (0)