Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
HDL
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RTSD
HDL
Commits
213aad03
Commit
213aad03
authored
10 years ago
by
Kenneth Hiemstra
Browse files
Options
Downloads
Patches
Plain Diff
using a CLKBUF in betweekn input clock and PLL
parent
e9926a07
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
boards/uniboard2/libraries/unb2_board/src/vhdl/unb2_board_clk125_pll.vhd
+56
-15
56 additions, 15 deletions
...2/libraries/unb2_board/src/vhdl/unb2_board_clk125_pll.vhd
with
56 additions
and
15 deletions
boards/uniboard2/libraries/unb2_board/src/vhdl/unb2_board_clk125_pll.vhd
+
56
−
15
View file @
213aad03
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
--
--
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
LIBRARY
IEEE
,
common_lib
,
technology_lib
,
tech_pll_lib
;
LIBRARY
IEEE
,
common_lib
,
technology_lib
,
tech_
clkbuf_lib
,
tech_pll_lib
,
tech_fractional_
pll_lib
;
USE
IEEE
.
STD_LOGIC_1164
.
ALL
;
USE
IEEE
.
STD_LOGIC_1164
.
ALL
;
USE
common_lib
.
common_pkg
.
ALL
;
USE
common_lib
.
common_pkg
.
ALL
;
USE
technology_lib
.
technology_pkg
.
ALL
;
USE
technology_lib
.
technology_pkg
.
ALL
;
...
@@ -35,7 +35,9 @@ USE technology_lib.technology_pkg.ALL;
...
@@ -35,7 +35,9 @@ USE technology_lib.technology_pkg.ALL;
ENTITY
unb2_board_clk125_pll
IS
ENTITY
unb2_board_clk125_pll
IS
GENERIC
(
GENERIC
(
g_technology
:
NATURAL
:
=
c_tech_arria10
g_technology
:
NATURAL
:
=
c_tech_arria10
;
g_use_clkbuf
:
BOOLEAN
:
=
TRUE
;
g_use_fpll
:
BOOLEAN
:
=
FALSE
);
);
PORT
(
PORT
(
arst
:
IN
STD_LOGIC
:
=
'0'
;
arst
:
IN
STD_LOGIC
:
=
'0'
;
...
@@ -51,19 +53,58 @@ END unb2_board_clk125_pll;
...
@@ -51,19 +53,58 @@ END unb2_board_clk125_pll;
ARCHITECTURE
arria10
OF
unb2_board_clk125_pll
IS
ARCHITECTURE
arria10
OF
unb2_board_clk125_pll
IS
SIGNAL
clk125buf
:
STD_LOGIC
;
BEGIN
BEGIN
no_clkbuf
:
IF
g_use_clkbuf
=
FALSE
GENERATE
clk125buf
<=
clk125
;
END
GENERATE
;
gen_clkbuf
:
IF
g_use_clkbuf
=
TRUE
GENERATE
u_clkbuf
:
ENTITY
tech_clkbuf_lib
.
tech_clkbuf
GENERIC
MAP
(
g_technology
=>
g_technology
,
g_clock_net
=>
"GLOBAL"
)
PORT
MAP
(
inclk
=>
clk125
,
outclk
=>
clk125buf
);
END
GENERATE
;
gen_pll
:
IF
g_use_fpll
=
FALSE
GENERATE
u_pll
:
ENTITY
tech_pll_lib
.
tech_pll_clk125
u_pll
:
ENTITY
tech_pll_lib
.
tech_pll_clk125
GENERIC
MAP
(
GENERIC
MAP
(
g_technology
=>
g_technology
g_technology
=>
g_technology
)
)
PORT
MAP
(
PORT
MAP
(
areset
=>
arst
,
areset
=>
arst
,
inclk0
=>
clk125
,
inclk0
=>
clk125
buf
,
c0
=>
c0_clk20
,
c0
=>
c0_clk20
,
c1
=>
c1_clk50
,
c1
=>
c1_clk50
,
c2
=>
c2_clk100
,
c2
=>
c2_clk100
,
c3
=>
c3_clk125
,
c3
=>
c3_clk125
,
locked
=>
pll_locked
locked
=>
pll_locked
);
);
END
GENERATE
;
--gen_fractional_pll : IF g_use_fpll=TRUE GENERATE
-- u_pll : ENTITY tech_pll_lib.tech_pll_clk125
-- GENERIC MAP (
-- g_technology => g_technology
-- )
-- PORT MAP (
-- areset => arst,
-- inclk0 => clk125buf,
-- c0 => c0_clk20,
-- c1 => c1_clk50,
-- c2 => c2_clk100,
-- c3 => c3_clk125,
-- locked => pll_locked
-- );
--END GENERATE;
END
arria10
;
END
arria10
;
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment