Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Platform-independent core collection
Manage
Activity
Members
Labels
Plan
Issues
15
Issue boards
Milestones
Wiki
Code
Merge requests
5
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor 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
Projects
Platform-independent core collection
Commits
2cfc0bb4
Commit
2cfc0bb4
authored
12 years ago
by
Wesley W. Terpstra
Browse files
Options
Downloads
Patches
Plain Diff
Disable a very poor Quartus "optimization"!
parent
661d9484
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/common/gc_wfifo.vhd
+6
-0
6 additions, 0 deletions
modules/common/gc_wfifo.vhd
with
6 additions
and
0 deletions
modules/common/gc_wfifo.vhd
+
6
−
0
View file @
2cfc0bb4
...
...
@@ -43,6 +43,12 @@ architecture rtl of gc_wfifo is
signal
r_idx_shift_a
:
counter_shift
;
-- r_idx_gray in a_clk
signal
w_idx_shift_r
:
counter_shift
;
-- w_idx_gray in r_clk
attribute
altera_attribute
:
string
;
-- Quartus 11 sometimes goes crazy and infers an altshift_taps! Stop it.
attribute
altera_attribute
of
r_idx_shift_w
:
signal
is
"-name AUTO_SHIFT_REGISTER_RECOGNITION OFF"
;
attribute
altera_attribute
of
r_idx_shift_a
:
signal
is
"-name AUTO_SHIFT_REGISTER_RECOGNITION OFF"
;
attribute
altera_attribute
of
w_idx_shift_r
:
signal
is
"-name AUTO_SHIFT_REGISTER_RECOGNITION OFF"
;
function
bin2gray
(
a
:
unsigned
)
return
unsigned
is
variable
o
:
unsigned
(
a
'length
downto
0
);
begin
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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