forked from somhi/Oric_Mist_48K
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathOric.sdc
33 lines (24 loc) · 1.63 KB
/
Oric.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
# Automatically calculate clock uncertainty to jitter and other effects.
derive_clock_uncertainty
set sysclk ${topmodule}pll|altpll_component|auto_generated|pll1|clk[0]
set ramclk ${topmodule}pll|altpll_component|auto_generated|pll1|clk[1]
create_generated_clock -name sdramclk -source ${topmodule}pll|altpll_component|auto_generated|pll1|clk[2] $RAM_CLK
# Clock groups
set_clock_groups -asynchronous -group [get_clocks spiclk] -group [get_clocks $sysclk]
set_clock_groups -asynchronous -group [get_clocks $hostclk] -group [get_clocks $sysclk]
set_clock_groups -asynchronous -group [get_clocks $supportclk] -group [get_clocks $sysclk]
set_clock_groups -asynchronous -group [get_clocks spiclk] -group [get_clocks $ramclk]
set_clock_groups -asynchronous -group [get_clocks $hostclk] -group [get_clocks $ramclk]
set_clock_groups -asynchronous -group [get_clocks $supportclk] -group [get_clocks $ramclk]
# Some relaxed constrain to the VGA pins. The signals should arrive together, the delay is not really important.
set_output_delay -clock [get_clocks $sysclk] -max 0 [get_ports $VGA_OUT]
set_output_delay -clock [get_clocks $sysclk] -min -5 [get_ports $VGA_OUT]
set_false_path -to $VGA_OUT
# SDRAM delays
set_input_delay -clock [get_clocks sdramclk] -max 6.4 [get_ports $RAM_IN]
set_input_delay -clock [get_clocks sdramclk] -min 3.2 [get_ports $RAM_IN]
set_output_delay -clock [get_clocks sdramclk] -max 1.5 [get_ports $RAM_OUT]
set_output_delay -clock [get_clocks sdramclk] -min -0.8 [get_ports $RAM_OUT]
set_multicycle_path -from [get_clocks {sdramclk}] -to [get_clocks $ramclk] -setup -end 2
set_false_path -to ${FALSE_OUT}
set_false_path -from ${FALSE_IN}