-
Notifications
You must be signed in to change notification settings - Fork 0
/
cpu_0.sdc
53 lines (47 loc) · 3.2 KB
/
cpu_0.sdc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# Legal Notice: (C)2012 Altera Corporation. All rights reserved. Your
# use of Altera Corporation's design tools, logic functions and other
# software and tools, and its AMPP partner logic functions, and any
# output files any of the foregoing (including device programming or
# simulation files), and any associated documentation or information are
# expressly subject to the terms and conditions of the Altera Program
# License Subscription Agreement or other applicable license agreement,
# including, without limitation, that your use is for the sole purpose
# of programming logic devices manufactured by Altera and sold by Altera
# or its authorized distributors. Please refer to the applicable
# agreement for further details.
#**************************************************************
# Timequest JTAG clock definition
# Uncommenting the following lines will define the JTAG
# clock in TimeQuest Timing Analyzer
#**************************************************************
#create_clock -period 10MHz {altera_reserved_tck}
#set_clock_groups -asynchronous -group {altera_reserved_tck}
#**************************************************************
# Set TCL Path Variables
#**************************************************************
set cpu_0 cpu_0:*
set cpu_0_oci cpu_0_nios2_oci:the_cpu_0_nios2_oci
set cpu_0_oci_break cpu_0_nios2_oci_break:the_cpu_0_nios2_oci_break
set cpu_0_ocimem cpu_0_nios2_ocimem:the_cpu_0_nios2_ocimem
set cpu_0_oci_debug cpu_0_nios2_oci_debug:the_cpu_0_nios2_oci_debug
set cpu_0_wrapper cpu_0_jtag_debug_module_wrapper:the_cpu_0_jtag_debug_module_wrapper
set cpu_0_jtag_tck cpu_0_jtag_debug_module_tck:the_cpu_0_jtag_debug_module_tck
set cpu_0_jtag_sysclk cpu_0_jtag_debug_module_sysclk:the_cpu_0_jtag_debug_module_sysclk
set cpu_0_oci_path [format "%s|%s" $cpu_0 $cpu_0_oci]
set cpu_0_oci_break_path [format "%s|%s" $cpu_0_oci_path $cpu_0_oci_break]
set cpu_0_ocimem_path [format "%s|%s" $cpu_0_oci_path $cpu_0_ocimem]
set cpu_0_oci_debug_path [format "%s|%s" $cpu_0_oci_path $cpu_0_oci_debug]
set cpu_0_jtag_tck_path [format "%s|%s|%s" $cpu_0_oci_path $cpu_0_wrapper $cpu_0_jtag_tck]
set cpu_0_jtag_sysclk_path [format "%s|%s|%s" $cpu_0_oci_path $cpu_0_wrapper $cpu_0_jtag_sysclk]
set cpu_0_jtag_sr [format "%s|*sr" $cpu_0_jtag_tck_path]
#**************************************************************
# Set False Paths
#**************************************************************
set_false_path -from [get_keepers *$cpu_0_oci_break_path|break_readreg*] -to [get_keepers *$cpu_0_jtag_sr*]
set_false_path -from [get_keepers *$cpu_0_oci_debug_path|*resetlatch] -to [get_keepers *$cpu_0_jtag_sr[33]]
set_false_path -from [get_keepers *$cpu_0_oci_debug_path|monitor_ready] -to [get_keepers *$cpu_0_jtag_sr[0]]
set_false_path -from [get_keepers *$cpu_0_oci_debug_path|monitor_error] -to [get_keepers *$cpu_0_jtag_sr[34]]
set_false_path -from [get_keepers *$cpu_0_ocimem_path|*MonDReg*] -to [get_keepers *$cpu_0_jtag_sr*]
set_false_path -from *$cpu_0_jtag_sr* -to *$cpu_0_jtag_sysclk_path|*jdo*
set_false_path -from sld_hub:*|irf_reg* -to *$cpu_0_jtag_sysclk_path|ir*
set_false_path -from sld_hub:*|sld_shadow_jsm:shadow_jsm|state[1] -to *$cpu_0_oci_debug_path|monitor_go