Skip to content

Commit 0132cf4

Browse files
authored
Merge pull request #1 from MIT-OpenCompute/decouple_vga
Decouple vga
2 parents 5b947b7 + e46f5f4 commit 0132cf4

72 files changed

Lines changed: 18398 additions & 40 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
2+
// file: clk_wiz_0.v
3+
// (c) Copyright 2017-2018, 2023 Advanced Micro Devices, Inc. All rights reserved.
4+
//
5+
// This file contains confidential and proprietary information
6+
// of AMD and is protected under U.S. and international copyright
7+
// and other intellectual property laws.
8+
//
9+
// DISCLAIMER
10+
// This disclaimer is not a license and does not grant any
11+
// rights to the materials distributed herewith. Except as
12+
// otherwise provided in a valid license issued to you by
13+
// AMD, and to the maximum extent permitted by applicable
14+
// law: (1) THESE MATERIALS ARE MADE AVAILABLE "AS IS" AND
15+
// WITH ALL FAULTS, AND AMD HEREBY DISCLAIMS ALL WARRANTIES
16+
// AND CONDITIONS, EXPRESS, IMPLIED, OR STATUTORY, INCLUDING
17+
// BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, NON-
18+
// INFRINGEMENT, OR FITNESS FOR ANY PARTICULAR PURPOSE; and
19+
// (2) AMD shall not be liable (whether in contract or tort,
20+
// including negligence, or under any other theory of
21+
// liability) for any loss or damage of any kind or nature
22+
// related to, arising under or in connection with these
23+
// materials, including for any direct, or any indirect,
24+
// special, incidental, or consequential loss or damage
25+
// (including loss of data, profits, goodwill, or any type of
26+
// loss or damage suffered as a result of any action brought
27+
// by a third party) even if such damage or loss was
28+
// reasonably foreseeable or AMD had been advised of the
29+
// possibility of the same.
30+
//
31+
// CRITICAL APPLICATIONS
32+
// AMD products are not designed or intended to be fail-
33+
// safe, or for use in any application requiring fail-safe
34+
// performance, such as life-support or safety devices or
35+
// systems, Class III medical devices, nuclear facilities,
36+
// applications related to the deployment of airbags, or any
37+
// other applications that could lead to death, personal
38+
// injury, or severe property or environmental damage
39+
// (individually and collectively, "Critical
40+
// Applications"). Customer assumes the sole risk and
41+
// liability of any use of AMD products in Critical
42+
// Applications, subject only to applicable laws and
43+
// regulations governing limitations on product liability.
44+
//
45+
// THIS COPYRIGHT NOTICE AND DISCLAIMER MUST BE RETAINED AS
46+
// PART OF THIS FILE AT ALL TIMES.
47+
//----------------------------------------------------------------------------
48+
// User entered comments
49+
//----------------------------------------------------------------------------
50+
// None
51+
//
52+
//----------------------------------------------------------------------------
53+
// Output Output Phase Duty Cycle Pk-to-Pk Phase
54+
// Clock Freq (MHz) (degrees) (%) Jitter (ps) Error (ps)
55+
//----------------------------------------------------------------------------
56+
// clk_out1__200.00000______0.000______50.0______114.829_____98.575
57+
// clk_out2__25.00000______0.000______50.0______175.402_____98.575
58+
//
59+
//----------------------------------------------------------------------------
60+
// Input Clock Freq (MHz) Input Jitter (UI)
61+
//----------------------------------------------------------------------------
62+
// __primary_________100.000____________0.010
63+
64+
`timescale 1ps/1ps
65+
66+
(* CORE_GENERATION_INFO = "clk_wiz_0,clk_wiz_v6_0_17_0_0,{component_name=clk_wiz_0,use_phase_alignment=true,use_min_o_jitter=false,use_max_i_jitter=false,use_dyn_phase_shift=false,use_inclk_switchover=false,use_dyn_reconfig=false,enable_axi=0,feedback_source=FDBK_AUTO,PRIMITIVE=MMCM,num_out_clk=2,clkin1_period=10.000,clkin2_period=10.000,use_power_down=false,use_reset=true,use_locked=true,use_inclk_stopped=false,feedback_type=SINGLE,CLOCK_MGR_TYPE=NA,manual_override=false}" *)
67+
68+
module clk_wiz_0
69+
(
70+
// Clock out ports
71+
output clk_out1,
72+
output clk_out2,
73+
// Status and control signals
74+
input reset,
75+
output locked,
76+
// Clock in ports
77+
input clk_in1
78+
);
79+
80+
clk_wiz_0_clk_wiz inst
81+
(
82+
// Clock out ports
83+
.clk_out1(clk_out1),
84+
.clk_out2(clk_out2),
85+
// Status and control signals
86+
.reset(reset),
87+
.locked(locked),
88+
// Clock in ports
89+
.clk_in1(clk_in1)
90+
);
91+
92+
endmodule
Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
2+
// (c) Copyright 2017-2018, 2023 Advanced Micro Devices, Inc. All rights reserved.
3+
//
4+
// This file contains confidential and proprietary information
5+
// of AMD and is protected under U.S. and international copyright
6+
// and other intellectual property laws.
7+
//
8+
// DISCLAIMER
9+
// This disclaimer is not a license and does not grant any
10+
// rights to the materials distributed herewith. Except as
11+
// otherwise provided in a valid license issued to you by
12+
// AMD, and to the maximum extent permitted by applicable
13+
// law: (1) THESE MATERIALS ARE MADE AVAILABLE "AS IS" AND
14+
// WITH ALL FAULTS, AND AMD HEREBY DISCLAIMS ALL WARRANTIES
15+
// AND CONDITIONS, EXPRESS, IMPLIED, OR STATUTORY, INCLUDING
16+
// BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, NON-
17+
// INFRINGEMENT, OR FITNESS FOR ANY PARTICULAR PURPOSE; and
18+
// (2) AMD shall not be liable (whether in contract or tort,
19+
// including negligence, or under any other theory of
20+
// liability) for any loss or damage of any kind or nature
21+
// related to, arising under or in connection with these
22+
// materials, including for any direct, or any indirect,
23+
// special, incidental, or consequential loss or damage
24+
// (including loss of data, profits, goodwill, or any type of
25+
// loss or damage suffered as a result of any action brought
26+
// by a third party) even if such damage or loss was
27+
// reasonably foreseeable or AMD had been advised of the
28+
// possibility of the same.
29+
//
30+
// CRITICAL APPLICATIONS
31+
// AMD products are not designed or intended to be fail-
32+
// safe, or for use in any application requiring fail-safe
33+
// performance, such as life-support or safety devices or
34+
// systems, Class III medical devices, nuclear facilities,
35+
// applications related to the deployment of airbags, or any
36+
// other applications that could lead to death, personal
37+
// injury, or severe property or environmental damage
38+
// (individually and collectively, "Critical
39+
// Applications"). Customer assumes the sole risk and
40+
// liability of any use of AMD products in Critical
41+
// Applications, subject only to applicable laws and
42+
// regulations governing limitations on product liability.
43+
//
44+
// THIS COPYRIGHT NOTICE AND DISCLAIMER MUST BE RETAINED AS
45+
// PART OF THIS FILE AT ALL TIMES.
46+
//----------------------------------------------------------------------------
47+
// User entered comments
48+
//----------------------------------------------------------------------------
49+
// None
50+
//
51+
//----------------------------------------------------------------------------
52+
// Output Output Phase Duty Cycle Pk-to-Pk Phase
53+
// Clock Freq (MHz) (degrees) (%) Jitter (ps) Error (ps)
54+
//----------------------------------------------------------------------------
55+
// clk_out1__200.00000______0.000______50.0______114.829_____98.575
56+
// clk_out2__25.00000______0.000______50.0______175.402_____98.575
57+
//
58+
//----------------------------------------------------------------------------
59+
// Input Clock Freq (MHz) Input Jitter (UI)
60+
//----------------------------------------------------------------------------
61+
// __primary_________100.000____________0.010
62+
63+
// The following must be inserted into your Verilog file for this
64+
// core to be instantiated. Change the instance name and port connections
65+
// (in parentheses) to your own signal names.
66+
67+
//----------- Begin Cut here for INSTANTIATION Template ---// INST_TAG
68+
69+
clk_wiz_0 instance_name
70+
(
71+
// Clock out ports
72+
.clk_out1(clk_out1), // output clk_out1
73+
.clk_out2(clk_out2), // output clk_out2
74+
// Status and control signals
75+
.reset(reset), // input reset
76+
.locked(locked), // output locked
77+
// Clock in ports
78+
.clk_in1(clk_in1) // input clk_in1
79+
);
80+
81+
// INST_TAG_END ------ End INSTANTIATION Template ---------
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
2+
# file: clk_wiz_0.xdc
3+
# (c) Copyright 2017-2018, 2023 Advanced Micro Devices, Inc. All rights reserved.
4+
#
5+
# This file contains confidential and proprietary information
6+
# of AMD and is protected under U.S. and international copyright
7+
# and other intellectual property laws.
8+
#
9+
# DISCLAIMER
10+
# This disclaimer is not a license and does not grant any
11+
# rights to the materials distributed herewith. Except as
12+
# otherwise provided in a valid license issued to you by
13+
# AMD, and to the maximum extent permitted by applicable
14+
# law: (1) THESE MATERIALS ARE MADE AVAILABLE "AS IS" AND
15+
# WITH ALL FAULTS, AND AMD HEREBY DISCLAIMS ALL WARRANTIES
16+
# AND CONDITIONS, EXPRESS, IMPLIED, OR STATUTORY, INCLUDING
17+
# BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, NON-
18+
# INFRINGEMENT, OR FITNESS FOR ANY PARTICULAR PURPOSE; and
19+
# (2) AMD shall not be liable (whether in contract or tort,
20+
# including negligence, or under any other theory of
21+
# liability) for any loss or damage of any kind or nature
22+
# related to, arising under or in connection with these
23+
# materials, including for any direct, or any indirect,
24+
# special, incidental, or consequential loss or damage
25+
# (including loss of data, profits, goodwill, or any type of
26+
# loss or damage suffered as a result of any action brought
27+
# by a third party) even if such damage or loss was
28+
# reasonably foreseeable or AMD had been advised of the
29+
# possibility of the same.
30+
#
31+
# CRITICAL APPLICATIONS
32+
# AMD products are not designed or intended to be fail-
33+
# safe, or for use in any application requiring fail-safe
34+
# performance, such as life-support or safety devices or
35+
# systems, Class III medical devices, nuclear facilities,
36+
# applications related to the deployment of airbags, or any
37+
# other applications that could lead to death, personal
38+
# injury, or severe property or environmental damage
39+
# (individually and collectively, "Critical
40+
# Applications"). Customer assumes the sole risk and
41+
# liability of any use of AMD products in Critical
42+
# Applications, subject only to applicable laws and
43+
# regulations governing limitations on product liability.
44+
#
45+
# THIS COPYRIGHT NOTICE AND DISCLAIMER MUST BE RETAINED AS
46+
# PART OF THIS FILE AT ALL TIMES.
47+
48+
# Input clock periods. These duplicate the values entered for the
49+
# input clocks. You can use these to time your system. If required
50+
# commented constraints can be used in the top level xdc
51+
#----------------------------------------------------------------
52+
# Connect to input port when clock capable pin is selected for input
53+
create_clock -period 10.000 [get_ports clk_in1]
54+
set_input_jitter [get_clocks -of_objects [get_ports clk_in1]] 0.100
55+
56+
57+
set_property PHASESHIFT_MODE WAVEFORM [get_cells -hierarchical *adv*]

0 commit comments

Comments
 (0)