Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
White Rabbit Switch - Gateware
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
12
Issues
12
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Projects
White Rabbit Switch - Gateware
Commits
04745eee
Commit
04745eee
authored
Jul 17, 2012
by
Tomasz Wlostowski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wrsw_swcore/mpm/mpm_fifo_mem_cell: force implementation on distributed RAM on Xilinx
parent
9d74f21f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
mpm_fifo_mem_cell.vhd
modules/wrsw_swcore/mpm/mpm_fifo_mem_cell.vhd
+5
-2
No files found.
modules/wrsw_swcore/mpm/mpm_fifo_mem_cell.vhd
View file @
04745eee
...
...
@@ -48,8 +48,8 @@ use work.genram_pkg.all;
entity
mpm_fifo_mem_cell
is
generic
(
g_width
:
integer
;
g_size
:
integer
);
g_width
:
integer
:
=
128
;
g_size
:
integer
:
=
8
);
port
(
-- write port clock
...
...
@@ -68,6 +68,9 @@ architecture rtl of mpm_fifo_mem_cell is
type
t_mem_array
is
array
(
0
to
g_size
-1
)
of
std_logic_vector
(
g_width
-1
downto
0
);
signal
mem
:
t_mem_array
;
attribute
ram_style
:
string
;
attribute
ram_style
of
mem
:
signal
is
"distributed"
;
begin
-- rtl
rd_o
<=
mem
(
to_integer
(
unsigned
(
ra_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