Skip to content

Commit 65fc97c

Browse files
committed
synth: more consistent naming
I'm not keen on changing 1_1_yosys stem as I don't know what tools that rely on that name, like metrics, but canonicalization happens before 1_1_yosys, so the compromise is to create 1_0_yosys_canonicalize stem. Signed-off-by: Øyvind Harboe <[email protected]>
1 parent 1364d16 commit 65fc97c

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

flow/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -286,12 +286,12 @@ do-yosys: $(DONT_USE_SC_LIB)
286286

287287
.PHONY: do-yosys-canonicalize
288288
do-yosys-canonicalize: yosys-dependencies $(DONT_USE_SC_LIB)
289-
$(SCRIPTS_DIR)/synth.sh $(SCRIPTS_DIR)/synth_canonicalize.tcl $(LOG_DIR)/1_1_yosys_canonicalize.log
289+
$(SCRIPTS_DIR)/synth.sh $(SCRIPTS_DIR)/synth_canonicalize.tcl $(LOG_DIR)/1_0_yosys_canonicalize.log
290290

291-
$(RESULTS_DIR)/1_synth.rtlil: $(YOSYS_DEPENDENCIES)
291+
$(RESULTS_DIR)/1_0_yosys_canonicalize.rtlil: $(YOSYS_DEPENDENCIES)
292292
$(UNSET_AND_MAKE) do-yosys-canonicalize
293293

294-
$(RESULTS_DIR)/1_1_yosys.v: $(RESULTS_DIR)/1_synth.rtlil
294+
$(RESULTS_DIR)/1_1_yosys.v: $(RESULTS_DIR)/1_0_yosys_canonicalize.rtlil
295295
$(UNSET_AND_MAKE) do-yosys
296296

297297
.PHONY: do-synth

flow/scripts/synth.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
source $::env(SCRIPTS_DIR)/synth_preamble.tcl
2-
read_checkpoint $::env(RESULTS_DIR)/1_synth.rtlil
2+
read_checkpoint $::env(RESULTS_DIR)/1_0_yosys_canonicalize.rtlil
33

44
hierarchy -check -top $::env(DESIGN_NAME)
55

flow/scripts/synth_canonicalize.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ hierarchy -check -top $::env(DESIGN_NAME)
1010
# Get rid of unused modules
1111
opt_clean -purge
1212
# The hash of this file will not change if files not part of synthesis do not change
13-
write_rtlil $::env(RESULTS_DIR)/1_synth.rtlil
13+
write_rtlil $::env(RESULTS_DIR)/1_0_yosys_canonicalize.rtlil

0 commit comments

Comments
 (0)