Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
M
Mock Turtle
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Mock Turtle
Commits
5ce1aa6d
Commit
5ce1aa6d
authored
Jul 27, 2018
by
Dimitris Lampridis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hdl: add attributes to help with declaring timing constraints
parent
27e6198c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
mt_cpu_cb.vhd
hdl/rtl/cpu/mt_cpu_cb.vhd
+7
-2
No files found.
hdl/rtl/cpu/mt_cpu_cb.vhd
View file @
5ce1aa6d
...
...
@@ -133,6 +133,11 @@ architecture arch of mt_cpu_cb is
alias
a_hmq_config
:
t_mt_mqueue_config
is
g_CPU_CONFIG
.
hmq_config
;
constant
c_HMQ_COUNT
:
natural
:
=
a_hmq_config
.
slot_count
;
-- necessary to relax timing on p_tm_cross process
attribute
keep
:
string
;
attribute
keep
of
tm_p_sys
:
signal
is
"true"
;
begin
-- arch
gen_with_wr_1
:
if
g_WITH_WHITE_RABBIT
generate
...
...
@@ -184,7 +189,7 @@ begin -- arch
end
if
;
end
process
;
process
(
clk_sys_i
)
p
_tm_cross
:
p
rocess
(
clk_sys_i
)
begin
if
rising_edge
(
clk_sys_i
)
then
if
tm_p_sys
=
'1'
then
...
...
@@ -193,7 +198,7 @@ begin -- arch
end
if
;
cycles_sys_d0
<=
cycles_sys
;
end
if
;
end
process
;
end
process
p_tm_cross
;
-- ugly hack!
process
(
clk_sys_i
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment