1 |
66 |
ash_riple |
# TCL File Generated by Component Editor 10.1sp1
|
2 |
|
|
# Sat Mar 31 21:26:56 CST 2012
|
3 |
|
|
# DO NOT MODIFY
|
4 |
|
|
|
5 |
|
|
|
6 |
|
|
# +-----------------------------------
|
7 |
|
|
# |
|
8 |
|
|
# | ha1588 "Hardware Assisted IEEE 1588 IP Core" v1.0
|
9 |
|
|
# | BABY&HW 2012.03.31.21:26:56
|
10 |
|
|
# | Hardware Assisted IEEE 1588 IP Core
|
11 |
|
|
# |
|
12 |
|
|
# | ha1588.v
|
13 |
|
|
# |
|
14 |
|
|
# | ../../../rtl/top/ha1588.v syn, sim
|
15 |
|
|
# | ../../../rtl/reg/reg.v syn, sim
|
16 |
|
|
# | ../../../rtl/rtc/rtc.v syn, sim
|
17 |
|
|
# | ../../../rtl/tsu/tsu.v syn, sim
|
18 |
|
|
# | ../../../rtl/tsu/ptp_parser.v syn, sim
|
19 |
|
|
# | ../../../rtl/tsu/ptp_queue.v syn, sim
|
20 |
|
|
# |
|
21 |
|
|
# +-----------------------------------
|
22 |
|
|
|
23 |
|
|
# +-----------------------------------
|
24 |
|
|
# | request TCL package from ACDS 10.1
|
25 |
|
|
# |
|
26 |
|
|
package require -exact sopc 10.1
|
27 |
|
|
# |
|
28 |
|
|
# +-----------------------------------
|
29 |
|
|
|
30 |
|
|
# +-----------------------------------
|
31 |
|
|
# | module ha1588
|
32 |
|
|
# |
|
33 |
|
|
set_module_property DESCRIPTION "Hardware Assisted IEEE 1588 IP Core"
|
34 |
|
|
set_module_property NAME ha1588
|
35 |
|
|
set_module_property VERSION 1.0
|
36 |
|
|
set_module_property INTERNAL false
|
37 |
|
|
set_module_property OPAQUE_ADDRESS_MAP true
|
38 |
|
|
set_module_property AUTHOR "BABY&HW"
|
39 |
|
|
set_module_property DISPLAY_NAME "Hardware Assisted IEEE 1588 IP Core"
|
40 |
|
|
set_module_property TOP_LEVEL_HDL_FILE ha1588.v
|
41 |
|
|
set_module_property TOP_LEVEL_HDL_MODULE ha1588
|
42 |
|
|
set_module_property INSTANTIATE_IN_SYSTEM_MODULE true
|
43 |
|
|
set_module_property EDITABLE true
|
44 |
|
|
set_module_property ANALYZE_HDL TRUE
|
45 |
|
|
# |
|
46 |
|
|
# +-----------------------------------
|
47 |
|
|
|
48 |
|
|
# +-----------------------------------
|
49 |
|
|
# | files
|
50 |
|
|
# |
|
51 |
68 |
ash_riple |
add_file ../../../par/altera/ip/define.h {SYNTHESIS SIMULATION}
|
52 |
|
|
add_file ../../../par/altera/ip/dcfifo_128_16.v {SYNTHESIS SIMULATION}
|
53 |
66 |
ash_riple |
add_file ../../../rtl/top/ha1588.v {SYNTHESIS SIMULATION}
|
54 |
|
|
add_file ../../../rtl/reg/reg.v {SYNTHESIS SIMULATION}
|
55 |
|
|
add_file ../../../rtl/rtc/rtc.v {SYNTHESIS SIMULATION}
|
56 |
|
|
add_file ../../../rtl/tsu/tsu.v {SYNTHESIS SIMULATION}
|
57 |
|
|
add_file ../../../rtl/tsu/ptp_parser.v {SYNTHESIS SIMULATION}
|
58 |
|
|
add_file ../../../rtl/tsu/ptp_queue.v {SYNTHESIS SIMULATION}
|
59 |
|
|
# |
|
60 |
|
|
# +-----------------------------------
|
61 |
|
|
|
62 |
|
|
# +-----------------------------------
|
63 |
|
|
# | parameters
|
64 |
|
|
# |
|
65 |
|
|
add_parameter addr_is_in_word BOOLEAN true ""
|
66 |
|
|
set_parameter_property addr_is_in_word DEFAULT_VALUE true
|
67 |
|
|
set_parameter_property addr_is_in_word DISPLAY_NAME addr_is_in_word
|
68 |
|
|
set_parameter_property addr_is_in_word WIDTH ""
|
69 |
|
|
set_parameter_property addr_is_in_word TYPE BOOLEAN
|
70 |
|
|
set_parameter_property addr_is_in_word ENABLED false
|
71 |
|
|
set_parameter_property addr_is_in_word UNITS None
|
72 |
|
|
set_parameter_property addr_is_in_word DESCRIPTION ""
|
73 |
|
|
set_parameter_property addr_is_in_word AFFECTS_GENERATION false
|
74 |
|
|
set_parameter_property addr_is_in_word HDL_PARAMETER true
|
75 |
|
|
# |
|
76 |
|
|
# +-----------------------------------
|
77 |
|
|
|
78 |
|
|
# +-----------------------------------
|
79 |
|
|
# | display items
|
80 |
|
|
# |
|
81 |
|
|
# |
|
82 |
|
|
# +-----------------------------------
|
83 |
|
|
|
84 |
|
|
# +-----------------------------------
|
85 |
|
|
# | connection point clock
|
86 |
|
|
# |
|
87 |
|
|
add_interface clock clock end
|
88 |
|
|
set_interface_property clock clockRate 0
|
89 |
|
|
|
90 |
|
|
set_interface_property clock ENABLED true
|
91 |
|
|
|
92 |
|
|
add_interface_port clock clk clk Input 1
|
93 |
|
|
add_interface_port clock rst reset Input 1
|
94 |
|
|
# |
|
95 |
|
|
# +-----------------------------------
|
96 |
|
|
|
97 |
|
|
# +-----------------------------------
|
98 |
67 |
ash_riple |
# | connection point reg_interface
|
99 |
66 |
ash_riple |
# |
|
100 |
67 |
ash_riple |
add_interface reg_interface avalon end
|
101 |
|
|
set_interface_property reg_interface addressAlignment DYNAMIC
|
102 |
|
|
set_interface_property reg_interface addressUnits WORDS
|
103 |
|
|
set_interface_property reg_interface associatedClock clock
|
104 |
|
|
set_interface_property reg_interface burstOnBurstBoundariesOnly false
|
105 |
|
|
set_interface_property reg_interface explicitAddressSpan 0
|
106 |
|
|
set_interface_property reg_interface holdTime 0
|
107 |
|
|
set_interface_property reg_interface isMemoryDevice false
|
108 |
|
|
set_interface_property reg_interface isNonVolatileStorage false
|
109 |
|
|
set_interface_property reg_interface linewrapBursts false
|
110 |
|
|
set_interface_property reg_interface maximumPendingReadTransactions 0
|
111 |
|
|
set_interface_property reg_interface printableDevice false
|
112 |
|
|
set_interface_property reg_interface readLatency 0
|
113 |
|
|
set_interface_property reg_interface readWaitTime 1
|
114 |
|
|
set_interface_property reg_interface setupTime 0
|
115 |
|
|
set_interface_property reg_interface timingUnits Cycles
|
116 |
|
|
set_interface_property reg_interface writeWaitTime 0
|
117 |
66 |
ash_riple |
|
118 |
67 |
ash_riple |
set_interface_property reg_interface ENABLED true
|
119 |
66 |
ash_riple |
|
120 |
67 |
ash_riple |
add_interface_port reg_interface wr_in write Input 1
|
121 |
|
|
add_interface_port reg_interface rd_in read Input 1
|
122 |
|
|
add_interface_port reg_interface addr_in address Input 8
|
123 |
|
|
add_interface_port reg_interface data_in writedata Input 32
|
124 |
|
|
add_interface_port reg_interface data_out readdata Output 32
|
125 |
66 |
ash_riple |
# |
|
126 |
|
|
# +-----------------------------------
|
127 |
|
|
|
128 |
|
|
# +-----------------------------------
|
129 |
67 |
ash_riple |
# | connection point rtc_interface
|
130 |
66 |
ash_riple |
# |
|
131 |
67 |
ash_riple |
add_interface rtc_interface conduit end
|
132 |
66 |
ash_riple |
|
133 |
67 |
ash_riple |
set_interface_property rtc_interface ENABLED true
|
134 |
66 |
ash_riple |
|
135 |
67 |
ash_riple |
add_interface_port rtc_interface rtc_clk export Input 1
|
136 |
|
|
add_interface_port rtc_interface rtc_time_ptp_ns export Output 32
|
137 |
|
|
add_interface_port rtc_interface rtc_time_ptp_sec export Output 48
|
138 |
|
|
add_interface_port rtc_interface rtc_time_one_pps export Output 1
|
139 |
66 |
ash_riple |
# |
|
140 |
|
|
# +-----------------------------------
|
141 |
|
|
|
142 |
|
|
# +-----------------------------------
|
143 |
67 |
ash_riple |
# | connection point tsu_interface
|
144 |
66 |
ash_riple |
# |
|
145 |
67 |
ash_riple |
add_interface tsu_interface conduit end
|
146 |
66 |
ash_riple |
|
147 |
67 |
ash_riple |
set_interface_property tsu_interface ENABLED true
|
148 |
66 |
ash_riple |
|
149 |
67 |
ash_riple |
add_interface_port tsu_interface rx_gmii_clk export Input 1
|
150 |
|
|
add_interface_port tsu_interface rx_gmii_ctrl export Input 1
|
151 |
|
|
add_interface_port tsu_interface rx_gmii_data export Input 8
|
152 |
|
|
add_interface_port tsu_interface rx_giga_mode export Input 1
|
153 |
|
|
add_interface_port tsu_interface tx_gmii_clk export Input 1
|
154 |
|
|
add_interface_port tsu_interface tx_gmii_ctrl export Input 1
|
155 |
|
|
add_interface_port tsu_interface tx_gmii_data export Input 8
|
156 |
|
|
add_interface_port tsu_interface tx_giga_mode export Input 1
|
157 |
66 |
ash_riple |
# |
|
158 |
|
|
# +-----------------------------------
|