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 |
|
|
add_file ../../../rtl/top/ha1588.v {SYNTHESIS SIMULATION}
|
52 |
|
|
add_file ../../../rtl/reg/reg.v {SYNTHESIS SIMULATION}
|
53 |
|
|
add_file ../../../rtl/rtc/rtc.v {SYNTHESIS SIMULATION}
|
54 |
|
|
add_file ../../../rtl/tsu/tsu.v {SYNTHESIS SIMULATION}
|
55 |
|
|
add_file ../../../rtl/tsu/ptp_parser.v {SYNTHESIS SIMULATION}
|
56 |
|
|
add_file ../../../rtl/tsu/ptp_queue.v {SYNTHESIS SIMULATION}
|
57 |
|
|
# |
|
58 |
|
|
# +-----------------------------------
|
59 |
|
|
|
60 |
|
|
# +-----------------------------------
|
61 |
|
|
# | parameters
|
62 |
|
|
# |
|
63 |
|
|
add_parameter addr_is_in_word BOOLEAN true ""
|
64 |
|
|
set_parameter_property addr_is_in_word DEFAULT_VALUE true
|
65 |
|
|
set_parameter_property addr_is_in_word DISPLAY_NAME addr_is_in_word
|
66 |
|
|
set_parameter_property addr_is_in_word WIDTH ""
|
67 |
|
|
set_parameter_property addr_is_in_word TYPE BOOLEAN
|
68 |
|
|
set_parameter_property addr_is_in_word ENABLED false
|
69 |
|
|
set_parameter_property addr_is_in_word UNITS None
|
70 |
|
|
set_parameter_property addr_is_in_word DESCRIPTION ""
|
71 |
|
|
set_parameter_property addr_is_in_word AFFECTS_GENERATION false
|
72 |
|
|
set_parameter_property addr_is_in_word HDL_PARAMETER true
|
73 |
|
|
# |
|
74 |
|
|
# +-----------------------------------
|
75 |
|
|
|
76 |
|
|
# +-----------------------------------
|
77 |
|
|
# | display items
|
78 |
|
|
# |
|
79 |
|
|
# |
|
80 |
|
|
# +-----------------------------------
|
81 |
|
|
|
82 |
|
|
# +-----------------------------------
|
83 |
|
|
# | connection point clock
|
84 |
|
|
# |
|
85 |
|
|
add_interface clock clock end
|
86 |
|
|
set_interface_property clock clockRate 0
|
87 |
|
|
|
88 |
|
|
set_interface_property clock ENABLED true
|
89 |
|
|
|
90 |
|
|
add_interface_port clock clk clk Input 1
|
91 |
|
|
add_interface_port clock rst reset Input 1
|
92 |
|
|
# |
|
93 |
|
|
# +-----------------------------------
|
94 |
|
|
|
95 |
|
|
# +-----------------------------------
|
96 |
|
|
# | connection point avalon_slave
|
97 |
|
|
# |
|
98 |
|
|
add_interface avalon_slave avalon end
|
99 |
|
|
set_interface_property avalon_slave addressAlignment DYNAMIC
|
100 |
|
|
set_interface_property avalon_slave addressUnits WORDS
|
101 |
|
|
set_interface_property avalon_slave associatedClock clock
|
102 |
|
|
set_interface_property avalon_slave burstOnBurstBoundariesOnly false
|
103 |
|
|
set_interface_property avalon_slave explicitAddressSpan 0
|
104 |
|
|
set_interface_property avalon_slave holdTime 0
|
105 |
|
|
set_interface_property avalon_slave isMemoryDevice false
|
106 |
|
|
set_interface_property avalon_slave isNonVolatileStorage false
|
107 |
|
|
set_interface_property avalon_slave linewrapBursts false
|
108 |
|
|
set_interface_property avalon_slave maximumPendingReadTransactions 0
|
109 |
|
|
set_interface_property avalon_slave printableDevice false
|
110 |
|
|
set_interface_property avalon_slave readLatency 0
|
111 |
|
|
set_interface_property avalon_slave readWaitTime 1
|
112 |
|
|
set_interface_property avalon_slave setupTime 0
|
113 |
|
|
set_interface_property avalon_slave timingUnits Cycles
|
114 |
|
|
set_interface_property avalon_slave writeWaitTime 0
|
115 |
|
|
|
116 |
|
|
set_interface_property avalon_slave ENABLED true
|
117 |
|
|
|
118 |
|
|
add_interface_port avalon_slave wr_in write Input 1
|
119 |
|
|
add_interface_port avalon_slave rd_in read Input 1
|
120 |
|
|
add_interface_port avalon_slave addr_in address Input 8
|
121 |
|
|
add_interface_port avalon_slave data_in writedata Input 32
|
122 |
|
|
add_interface_port avalon_slave data_out readdata Output 32
|
123 |
|
|
# |
|
124 |
|
|
# +-----------------------------------
|
125 |
|
|
|
126 |
|
|
# +-----------------------------------
|
127 |
|
|
# | connection point ref_clock
|
128 |
|
|
# |
|
129 |
|
|
add_interface ref_clock conduit end
|
130 |
|
|
|
131 |
|
|
set_interface_property ref_clock ENABLED true
|
132 |
|
|
|
133 |
|
|
add_interface_port ref_clock rtc_clk export Input 1
|
134 |
|
|
add_interface_port ref_clock rtc_time_ptp_ns export Output 32
|
135 |
|
|
add_interface_port ref_clock rtc_time_ptp_sec export Output 48
|
136 |
|
|
add_interface_port ref_clock rtc_time_one_pps export Output 1
|
137 |
|
|
# |
|
138 |
|
|
# +-----------------------------------
|
139 |
|
|
|
140 |
|
|
# +-----------------------------------
|
141 |
|
|
# | connection point gmii_monitor
|
142 |
|
|
# |
|
143 |
|
|
add_interface gmii_monitor conduit end
|
144 |
|
|
|
145 |
|
|
set_interface_property gmii_monitor ENABLED true
|
146 |
|
|
|
147 |
|
|
add_interface_port gmii_monitor rx_gmii_clk export Input 1
|
148 |
|
|
add_interface_port gmii_monitor rx_gmii_ctrl export Input 1
|
149 |
|
|
add_interface_port gmii_monitor rx_gmii_data export Input 8
|
150 |
|
|
add_interface_port gmii_monitor rx_giga_mode export Input 1
|
151 |
|
|
add_interface_port gmii_monitor tx_gmii_clk export Input 1
|
152 |
|
|
add_interface_port gmii_monitor tx_gmii_ctrl export Input 1
|
153 |
|
|
add_interface_port gmii_monitor tx_gmii_data export Input 8
|
154 |
|
|
add_interface_port gmii_monitor tx_giga_mode export Input 1
|
155 |
|
|
# |
|
156 |
|
|
# +-----------------------------------
|