Merge pull request #113 from japm48/patch-2

Murax on arty_a7: fix inferred memory type
This commit is contained in:
Dolu1990 2020-02-12 23:27:51 +01:00 committed by GitHub
commit b728b60051
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@
#cannot rm build because it erase software images that the make file copy there #cannot rm build because it erase software images that the make file copy there
#rm -rf ./build #rm -rf ./build
mkdir ./build mkdir -p ./build
cd ./build cd ./build
vivado -mode batch -source ../make_vivado_project.tcl -notrace vivado -mode batch -source ../make_vivado_project.tcl -notrace

View File

@ -21,7 +21,7 @@ proc swap_bits { bit } {
# open_run impl_1 # open_run impl_1
# Find all the RAMs, place in a list # Find all the RAMs, place in a list
set rams [get_cells -hier -regexp {.*core/system_ram/.*} -filter {REF_NAME =~ RAMB36E1}] set rams [get_cells -hier -regexp {.*core/system_ram/.*} -filter {REF_NAME == RAMB36E1 || REF_NAME == RAMB18E1}]
puts "[llength $rams] RAMs in total" puts "[llength $rams] RAMs in total"
foreach m $rams {puts $m} foreach m $rams {puts $m}
@ -89,7 +89,7 @@ set i 0
foreach ram $rams { foreach ram $rams {
# Get the RAM location # Get the RAM location
set loc_val [get_property LOC [get_cells $ram]] set loc_val [get_property LOC [get_cells $ram]]
regexp -- {(RAMB36_)([0-9XY]+)} $loc_val full ram_name loc_xy regexp {(RAMB.+_)([0-9XY]+)} $loc_val full ram_name loc_xy
set memi [dict create ram $ram loc $loc_xy] set memi [dict create ram $ram loc $loc_xy]