Commit c782eadc authored by Jens Korinth's avatar Jens Korinth
Browse files

Remove 2016.4 specific code from design.master.tcl.template

parent fc930ec8
......@@ -23,7 +23,7 @@
# check TAPASCO_HOME env var
if {![info exists ::env(TAPASCO_HOME)]} {
puts "Missing environment variable 'TAPASCO_HOME' - point to TPC root directory."
puts "Missing environment variable 'TAPASCO_HOME' - point to TaPaSCo root directory."
exit 1
......@@ -98,9 +98,7 @@ update_compile_order -fileset sources_1
# activate retiming in synthesis
set_property STEPS.SYNTH_DESIGN.ARGS.RETIMING true [get_runs synth_1]
if {[version -short] >= "2016.4"} {
set_property synth_checkpoint_mode None [get_files]
set_property synth_checkpoint_mode None [get_files]
# generate according to the mode
set_property -dict {PACKAGE_PIN H16 IOSTANDARD LVCMOS33} [get_ports sys_clk]
create_clock -period 8.000 -name sys_clk_pin -waveform {0.000 4.000} -add [get_ports sys_clk]
# Copyright (C) 2017 Jens Korinth, TU Darmstadt
# This file is part of Tapasco (TPC).
# Tapasco is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# Tapasco is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# GNU Lesser General Public License for more details.
# You should have received a copy of the GNU Lesser General Public License
# along with Tapasco. If not, see <>.
# @file clock_constraint.tcl
# @brief Plugin to constraint the sys_clk to the right pin on PyNQ.
# Workaround: PyNQ does not have a Vivado board definition file.
# @author J. Korinth, TU Darmstadt (
namespace eval clock_constraint {
# Constraints the input pins called 'sys_clk'
proc create_clock_constraint {} {
puts "clock_constraint: setting sys_clk constraint to 125 MHz, 50% duty cycle"
read_xdc -unmanaged "$::env(TAPASCO_HOME)/platform/pynq/plugins/clock.xdc"
tapasco::register_plugin "platform::clock_constraint::create_clock_constraint" "pre-wrapper"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment