Skip to content

Commit 334026d

Browse files
committed
yosys: remove unused PERIOD_PS variable
1 parent 25988bf commit 334026d

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

yosys/scripts/yosys_common.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
set variables {
1414
sv_flist { SV_FLIST "../croc.flist" }
1515
top_design { TOP_DESIGN "croc_chip" }
16-
period_ps { PERIOD_PS 10000 }
1716
out_dir { OUT out }
1817
tmp_dir { TMP tmp }
1918
rep_dir { REPORTS reports }
@@ -48,6 +47,7 @@ proc processAbcScript {abc_script} {
4847
set src_dir [file join [file dirname [info script]] ../src]
4948
set abc_out_path $tmp_dir/[file tail $abc_script]
5049

50+
# substitute {STRING} placeholders with their value
5151
set raw [read -nonewline [open $abc_script r]]
5252
set abc_script_recaig [string map -nocase [list "{REC_AIG}" [subst "$src_dir/lazy_man_synth_library.aig"]] $raw]
5353
set abc_out [open $abc_out_path w]

yosys/scripts/yosys_synthesis.tcl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ yosys tee -q -a ${rep_dir}/${top_design}_instances.rpt select -list "t:tc_clk*$
133133
yosys dfflibmap {*}$tech_cells_args
134134

135135
# then perform bit-level optimization and mapping on all combinational clouds in ABC
136+
# target period (per optimized block/module) in picoseconds
136137
set period_ps 10000
137138
# pre-process abc file (written to tmp directory)
138139
set abc_comb_script [processAbcScript scripts/abc-opt.script]

yosys/yosys.mk

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ YOSYS_REPORTS := $(YOSYS_DIR)/reports
1717

1818
# top level to be synthesized
1919
TOP_DESIGN ?= croc_chip
20-
# target period in picoseconds
21-
PERIOD_PS ?= 10000
2220

2321
# file containing include dirs, defines and paths to all source files
2422
SV_FLIST := $(realpath $(YOSYS_DIR)/..)/croc.flist
@@ -38,7 +36,6 @@ $(NETLIST) $(NETLIST_DEBUG): $(SV_FLIST)
3836
cd $(YOSYS_DIR) && \
3937
SV_FLIST="$(SV_FLIST)" \
4038
TOP_DESIGN="$(TOP_DESIGN)" \
41-
PERIOD_PS="$(PERIOD_PS)" \
4239
TMP="$(YOSYS_TMP)" \
4340
OUT="$(YOSYS_OUT)" \
4441
REPORTS="$(YOSYS_REPORTS)" \

0 commit comments

Comments
 (0)