Skip to content

Commit d2684e9

Browse files
a-willmsfschaffner
authored andcommitted
[sdc] Add JTAG I/O delays and TAP-specific clocks
Signed-off-by: Alexander Williams <[email protected]>
1 parent 921a5c9 commit d2684e9

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

hw/top_earlgrey/syn/chip_earlgrey_asic.sdc

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,36 @@ set JTAG_TCK_PERIOD [expr $JTAG_TCK_TARGET_PERIOD*$CLK_PERIOD_FACTOR]
201201
create_clock -name JTAG_TCK -period $JTAG_TCK_PERIOD [get_ports $JTAG_CLK_PIN]
202202
#set_ideal_network [get_ports $JTAG_CLK_PIN]
203203
set_clock_uncertainty ${SETUP_CLOCK_UNCERTAINTY} [get_clocks JTAG_TCK]
204+
set_propagated_clock JTAG_TCK
205+
206+
create_generated_clock -name lc_jtag_tck -source [get_ports IOR3] -divide_by 1 \
207+
[get_pins top_earlgrey/u_pinmux_aon/u_pinmux_strap_sampling/u_pinmux_jtag_buf_lc/prim_clock_buf_tck/clk_o]
208+
create_generated_clock -name rv_jtag_tck -source [get_ports IOR3] -divide_by 1 \
209+
[get_pins top_earlgrey/u_pinmux_aon/u_pinmux_strap_sampling/u_pinmux_jtag_buf_rv/prim_clock_buf_tck/clk_o]
210+
211+
set lc_jtag_tck_inv_pin \
212+
[get_pins -filter {@pin_direction == out} -of_objects \
213+
[get_nets -segments -of_objects \
214+
[get_pins top_earlgrey/u_pinmux_aon/u_pinmux_strap_sampling/u_pinmux_jtag_buf_lc/prim_clock_buf_tck/clk_i] \
215+
] \
216+
]
217+
218+
set rv_jtag_tck_inv_pin \
219+
[get_pins -filter {@pin_direction == out} -of_objects \
220+
[get_nets -segments -of_objects \
221+
[get_pins top_earlgrey/u_pinmux_aon/u_pinmux_strap_sampling/u_pinmux_jtag_buf_rv/prim_clock_buf_tck/clk_i] \
222+
] \
223+
]
224+
225+
set_clock_sense -negative ${lc_jtag_tck_inv_pin}
226+
set_clock_sense -negative ${rv_jtag_tck_inv_pin}
227+
228+
set_output_delay -add_delay -clock JTAG_TCK -max 7.0 [get_ports IOR1]
229+
set_output_delay -add_delay -clock JTAG_TCK -min -5.0 [get_ports IOR1]
230+
set_input_delay -add_delay -clock_fall -clock JTAG_TCK -min 0.0 [get_ports {IOR0 IOR2}]
231+
set_input_delay -add_delay -clock_fall -clock JTAG_TCK -max 8.0 [get_ports {IOR0 IOR2}]
232+
233+
204234
#####################
205235
# AST clock #
206236
#####################

0 commit comments

Comments
 (0)