mirror of https://github.com/openXC7/prjxray.git
24 lines
719 B
Tcl
24 lines
719 B
Tcl
# 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
|
|
create_project -force -part $::env(XRAY_PART) design design
|
|
read_verilog ../top.v
|
|
synth_design -top top -flatten_hierarchy none
|
|
|
|
set_property CFGBVS VCCO [current_design]
|
|
set_property CONFIG_VOLTAGE 3.3 [current_design]
|
|
set_property BITSTREAM.GENERAL.PERFRAMECRC YES [current_design]
|
|
|
|
place_design
|
|
route_design
|
|
|
|
set_property IS_ENABLED 0 [get_drc_checks {NSTD-1}]
|
|
set_property IS_ENABLED 0 [get_drc_checks {UCIO-1}]
|
|
|
|
write_checkpoint -force design.dcp
|
|
write_bitstream -force design.bit
|