Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
general-cores
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
DAQ
Externals
general-cores
Commits
a47a6bb9
Commit
a47a6bb9
authored
6 years ago
by
Dimitris Lampridis
Browse files
Options
Downloads
Patches
Plain Diff
xwb_clock_crossing: add some clarifications in comments
parent
f9b70d78
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/wishbone/wb_clock_crossing/xwb_clock_crossing.vhd
+5
-0
5 additions, 0 deletions
modules/wishbone/wb_clock_crossing/xwb_clock_crossing.vhd
with
5 additions
and
0 deletions
modules/wishbone/wb_clock_crossing/xwb_clock_crossing.vhd
+
5
−
0
View file @
a47a6bb9
...
...
@@ -90,6 +90,10 @@ architecture rtl of xwb_clock_crossing is
-- The slave pops them immediately from the mfifo and queues them itself.
-- Suddenly, the slave can do work and answers all pending requests.
-- The slow master is unable to read the sfifo fast enough and it overflows.
--
-- Therefore, we monitor the number of sent requests through MFIFO, versus
-- the acknowledgements received through SFIFO and we block if there are
-- g_SIZE pending requests, even if MFIFO is actually not full (or even empty).
subtype
t_count
is
unsigned
(
f_ceil_log2
(
g_size
+
1
)
-1
downto
0
);
...
...
@@ -199,6 +203,7 @@ begin
mr_en
<=
not
mr_empty
and
(
not
mrecv
.
CYC
or
not
master_o_STB
or
not
master_i
.
STALL
);
master_o
.
CYC
<=
mrecv
.
CYC
;
master_o
.
STB
<=
master_o_STB
;
-- is high outside of CYC. that's ok; it should be ignored.
-- ** NOTE: violates Wishbone B4 Rule 3.25 **
master_o
.
ADR
<=
mrecv
.
ADR
;
master_o
.
WE
<=
mrecv
.
WE
;
master_o
.
SEL
<=
mrecv
.
SEL
;
...
...
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