mirror of https://github.com/openXC7/prjxray.git
23 lines
631 B
Tcl
23 lines
631 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 -name $env(PROJECT_NAME) -part $env(PART)
|
|
|
|
set_property SEVERITY {Warning} [get_drc_checks NSTD-1]
|
|
set_property SEVERITY {Warning} [get_drc_checks UCIO-1]
|
|
|
|
read_verilog ../$env(PROJECT_NAME).v
|
|
synth_design -top top
|
|
|
|
source ../$env(PROJECT_NAME).tcl
|
|
|
|
place_design
|
|
route_design
|
|
|
|
write_checkpoint -force ../$env(PROJECT_NAME).dcp
|
|
write_bitstream -force ../$env(PROJECT_NAME).bit
|