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