From 31f17d2bf3f67e55e7d9226c8005933b84821897 Mon Sep 17 00:00:00 2001 From: Shreya Sanghai Date: Mon, 7 Mar 2022 17:12:43 +0000 Subject: [PATCH] modified synth script to take config from outputdir --- synthDC/Makefile | 2 +- synthDC/scripts/synth.tcl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/synthDC/Makefile b/synthDC/Makefile index 9bbb41c49..b6d066d2e 100755 --- a/synthDC/Makefile +++ b/synthDC/Makefile @@ -39,7 +39,7 @@ rv%.log: rv% echo $< -DIRS = rv32e rv32gc rv64ic rv64gc rv32ic +DIRS = rv32e #rv32gc rv64ic rv64gc rv32ic # DELDIRS = rv32e rv32gc rv64ic rv64gc rv32ic # CONFIGSUBDIRS = _FPUoff _noMulDiv _noVirtMem _PMP0 _PMP16 _orig diff --git a/synthDC/scripts/synth.tcl b/synthDC/scripts/synth.tcl index 3146e14ed..04366ed6c 100755 --- a/synthDC/scripts/synth.tcl +++ b/synthDC/scripts/synth.tcl @@ -22,7 +22,7 @@ set cfg "${hdl_src}/../config/${cfgName}/wally-config.vh" set saifpower $::env(SAIFPOWER) set maxopt $::env(MAXOPT) -eval file copy -force ${cfg} {hdl/} +# eval file copy -force ${cfg} {hdl/} eval file copy -force ${cfg} $outputDir eval file copy -force [glob ${hdl_src}/../config/shared/*.vh] {hdl/} eval file copy -force [glob ${hdl_src}/*/*.sv] {hdl/} @@ -34,7 +34,7 @@ if { $saifpower == 1 } { } # Verilog files -set my_verilog_files [glob hdl/*] +set my_verilog_files [glob hdl/* outputDir/wally-config.vh] # Set toplevel set my_toplevel $::env(DESIGN)