File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
ODIN_II/regression_test/tools Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ RED=$'\033[31;1m'
39
39
NC=$' \033 [0m' # No Color
40
40
41
41
# defaults
42
- _YOSYS_EXEC=" yosys"
42
+ _YOSYS_EXEC=" ${VTR_DIR} /libs/EXTERNAL/libyosys/ yosys"
43
43
_TEST_INPUT_LIST=()
44
44
_VERILOG_INPUT_LIST=()
45
45
_REGENERATE_BLIF=" off"
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ yosys -import
4
4
# Feel free to specify file paths using "$env(VTR_ROOT)/ ..."
5
5
6
6
# Read the hardware decription Verilog
7
- read_verilog -nomem2reg -nolatches $env(VTR_ROOT) /ODIN_II/regression_test/benchmark/verilog/common/mux.v ;
7
+ read_verilog -nomem2reg -nolatches $env(TCL_CIRCUIT) ;
8
8
# Check that cells match libraries and find top module
9
9
hierarchy -check -auto-top;
10
10
@@ -20,8 +20,8 @@ memory_collect; memory_dff; opt;
20
20
# Looking for combinatorial loops, wires with multiple drivers and used wires without any driver.
21
21
check;
22
22
# resolve asynchronous dffs
23
- techmap -map $env(VTR_ROOT) /ODIN_II/techlib /adff2dff.v;
24
- techmap -map $env(VTR_ROOT) /ODIN_II/techlib /adffe2dff.v;
23
+ techmap -map $env(ODIN_TECHLIB) /adff2dff.v;
24
+ techmap -map $env(ODIN_TECHLIB) /adffe2dff.v;
25
25
# convert mem block to bram/rom
26
26
27
27
# [NOTE]: Yosys complains about expression width more than 24 bits.
@@ -40,3 +40,5 @@ opt -undriven -full; # -noff #potential option to remove all sdff and etc. Only
40
40
autoname;
41
41
# Print statistics
42
42
stat;
43
+
44
+ write_blif -param -impltf $env(TCL_BLIF) ;
You can’t perform that action at this time.
0 commit comments