2020-05-06 06:05:23 +02:00
|
|
|
# Copyright (C) 2017-2020 The Project X-Ray Authors
|
|
|
|
|
#
|
|
|
|
|
# Use of this source code is governed by a ISC-style
|
|
|
|
|
# license that can be found in the LICENSE file or at
|
|
|
|
|
# https://opensource.org/licenses/ISC
|
|
|
|
|
#
|
|
|
|
|
# SPDX-License-Identifier: ISC
|
2017-07-20 09:57:10 +02:00
|
|
|
|
|
|
|
|
set sites [get_sites -filter {(SITE_TYPE == "SLICEL" || SITE_TYPE == "SLICEM") && (NAME =~ "*Y0" || NAME =~ "*Y50" || NAME =~ "*Y?00" || NAME =~ "*Y?50")}]
|
|
|
|
|
|
|
|
|
|
foreach site $sites {
|
2018-12-06 01:52:20 +01:00
|
|
|
puts ""; puts ""; puts ""; puts ""; puts ""; puts ""
|
|
|
|
|
puts "=========================== $site ==========================="
|
2017-07-20 09:57:10 +02:00
|
|
|
|
2018-12-06 01:52:20 +01:00
|
|
|
set_property LOC $site [get_cells lut]
|
|
|
|
|
route_design
|
2017-07-20 09:57:10 +02:00
|
|
|
|
2018-12-06 01:52:20 +01:00
|
|
|
set_property INIT 64'h8000000000000000 [get_cells lut]
|
|
|
|
|
write_bitstream -force logicframes_${site}_0.bit
|
2017-07-20 09:57:10 +02:00
|
|
|
|
2018-12-06 01:52:20 +01:00
|
|
|
set_property INIT 64'h8000000000000001 [get_cells lut]
|
|
|
|
|
write_bitstream -force logicframes_${site}_1.bit
|
2017-07-20 09:57:10 +02:00
|
|
|
}
|