mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-11 06:05:49 +00:00
modified synth script to take config from outputdir
This commit is contained in:
parent
4d8e0ecf29
commit
31f17d2bf3
@ -39,7 +39,7 @@ rv%.log: rv%
|
|||||||
echo $<
|
echo $<
|
||||||
|
|
||||||
|
|
||||||
DIRS = rv32e rv32gc rv64ic rv64gc rv32ic
|
DIRS = rv32e #rv32gc rv64ic rv64gc rv32ic
|
||||||
# DELDIRS = rv32e rv32gc rv64ic rv64gc rv32ic
|
# DELDIRS = rv32e rv32gc rv64ic rv64gc rv32ic
|
||||||
# CONFIGSUBDIRS = _FPUoff _noMulDiv _noVirtMem _PMP0 _PMP16 _orig
|
# CONFIGSUBDIRS = _FPUoff _noMulDiv _noVirtMem _PMP0 _PMP16 _orig
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@ set cfg "${hdl_src}/../config/${cfgName}/wally-config.vh"
|
|||||||
set saifpower $::env(SAIFPOWER)
|
set saifpower $::env(SAIFPOWER)
|
||||||
set maxopt $::env(MAXOPT)
|
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 ${cfg} $outputDir
|
||||||
eval file copy -force [glob ${hdl_src}/../config/shared/*.vh] {hdl/}
|
eval file copy -force [glob ${hdl_src}/../config/shared/*.vh] {hdl/}
|
||||||
eval file copy -force [glob ${hdl_src}/*/*.sv] {hdl/}
|
eval file copy -force [glob ${hdl_src}/*/*.sv] {hdl/}
|
||||||
@ -34,7 +34,7 @@ if { $saifpower == 1 } {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Verilog files
|
# Verilog files
|
||||||
set my_verilog_files [glob hdl/*]
|
set my_verilog_files [glob hdl/* outputDir/wally-config.vh]
|
||||||
|
|
||||||
# Set toplevel
|
# Set toplevel
|
||||||
set my_toplevel $::env(DESIGN)
|
set my_toplevel $::env(DESIGN)
|
||||||
|
Loading…
Reference in New Issue
Block a user