Skip to content
GitLab
Explore
Sign in
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
56102f69
Commit
56102f69
authored
2 years ago
by
Reinier van der Walle
Browse files
Options
Downloads
Patches
Plain Diff
updated tech lib to support ultrascale ram IPs
parent
d6076466
Branches
Branches containing commit
No related tags found
1 merge request
!327
Resolve HPR-85
Pipeline
#48039
passed
2 years ago
Stage: linting
Stage: simulation
Stage: synthesis
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
libraries/technology/memory/tech_memory_component_pkg.vhd
+22
-2
22 additions, 2 deletions
libraries/technology/memory/tech_memory_component_pkg.vhd
libraries/technology/memory/tech_memory_ram_cr_cw.vhd
+8
-1
8 additions, 1 deletion
libraries/technology/memory/tech_memory_ram_cr_cw.vhd
with
30 additions
and
3 deletions
libraries/technology/memory/tech_memory_component_pkg.vhd
+
22
−
2
View file @
56102f69
...
...
@@ -526,7 +526,7 @@ PACKAGE tech_memory_component_pkg IS
g_dat_w
:
NATURAL
:
=
8
;
g_nof_words
:
NATURAL
:
=
2
**
5
;
g_rd_latency
:
NATURAL
:
=
1
;
-- choose 1 or 2
g_init_file
:
STRING
:
=
"
UNUSED
"
g_init_file
:
STRING
:
=
"
none
"
);
PORT
(
...
...
@@ -542,6 +542,26 @@ PACKAGE tech_memory_component_pkg IS
q_b
:
OUT
STD_LOGIC_VECTOR
(
g_dat_w
-1
DOWNTO
0
)
);
END
COMPONENT
;
COMPONENT
ip_ultrascale_ram_cr_cw
IS
GENERIC
(
g_inferred
:
BOOLEAN
:
=
FALSE
;
g_adr_w
:
NATURAL
:
=
5
;
g_dat_w
:
NATURAL
:
=
8
;
g_nof_words
:
NATURAL
:
=
2
**
5
;
g_rd_latency
:
NATURAL
:
=
1
;
-- choose 1 or 2
g_init_file
:
STRING
:
=
"none"
);
PORT
(
data
:
IN
STD_LOGIC_VECTOR
(
g_dat_w
-1
DOWNTO
0
);
rdaddress
:
IN
STD_LOGIC_VECTOR
(
g_adr_w
-1
DOWNTO
0
);
rdclk
:
IN
STD_LOGIC
;
wraddress
:
IN
STD_LOGIC_VECTOR
(
g_adr_w
-1
DOWNTO
0
);
wrclk
:
IN
STD_LOGIC
:
=
'1'
;
wren
:
IN
STD_LOGIC
:
=
'0'
;
q
:
OUT
STD_LOGIC_VECTOR
(
g_dat_w
-1
DOWNTO
0
)
);
END
COMPONENT
;
END
tech_memory_component_pkg
;
This diff is collapsed.
Click to expand it.
libraries/technology/memory/tech_memory_ram_cr_cw.vhd
+
8
−
1
View file @
56102f69
...
...
@@ -31,6 +31,7 @@ LIBRARY ip_arria10_ram_lib;
LIBRARY
ip_arria10_e3sge3_ram_lib
;
LIBRARY
ip_arria10_e1sg_ram_lib
;
LIBRARY
ip_arria10_e2sg_ram_lib
;
LIBRARY
ip_ultrascale_ram_lib
;
ENTITY
tech_memory_ram_cr_cw
IS
GENERIC
(
...
...
@@ -87,5 +88,11 @@ BEGIN
GENERIC
MAP
(
FALSE
,
g_adr_w
,
g_dat_w
,
g_nof_words
,
g_rd_latency
,
g_init_file
)
PORT
MAP
(
data
,
rdaddress
,
rdclock
,
wraddress
,
wrclock
,
wren
,
q
);
END
GENERATE
;
gen_ip_ultrascale
:
IF
g_technology
=
c_tech_ultrascale
GENERATE
u0
:
ip_ultrascale_ram_cr_cw
GENERIC
MAP
(
FALSE
,
g_adr_w
,
g_dat_w
,
g_nof_words
,
g_rd_latency
,
g_init_file
)
PORT
MAP
(
data
,
rdaddress
,
rdclock
,
wraddress
,
wrclock
,
wren
,
q
);
END
GENERATE
;
END
ARCHITECTURE
;
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