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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RTSD
HDL
Commits
dfad601e
Commit
dfad601e
authored
1 year ago
by
David Brouwer
Browse files
Options
Downloads
Patches
Plain Diff
RTSD-181
: Added severity error for Agilex7, when two different clocks are used.
parent
9ba7d997
No related branches found
No related tags found
1 merge request
!376
RTSD-181: Continuation of porting RAM for Intel Agilex 7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
libraries/technology/memory/tech_memory_ram_crw_crw.vhd
+7
-2
7 additions, 2 deletions
libraries/technology/memory/tech_memory_ram_crw_crw.vhd
with
7 additions
and
2 deletions
libraries/technology/memory/tech_memory_ram_crw_crw.vhd
+
7
−
2
View file @
dfad601e
-- -----------------------------------------------------------------------------
-- -----------------------------------------------------------------------------
--
--
-- Copyright 2014-202
3
-- Copyright 2014-202
4
-- ASTRON (Netherlands Institute for Radio Astronomy) <http://www.astron.nl/>
-- ASTRON (Netherlands Institute for Radio Astronomy) <http://www.astron.nl/>
-- P.O.Box 2, 7990 AA Dwingeloo, The Netherlands
-- P.O.Box 2, 7990 AA Dwingeloo, The Netherlands
--
--
...
@@ -58,7 +58,7 @@ entity tech_memory_ram_crw_crw is
...
@@ -58,7 +58,7 @@ entity tech_memory_ram_crw_crw is
address_a
:
in
std_logic_vector
(
g_adr_w
-
1
downto
0
);
address_a
:
in
std_logic_vector
(
g_adr_w
-
1
downto
0
);
address_b
:
in
std_logic_vector
(
g_adr_w
-
1
downto
0
);
address_b
:
in
std_logic_vector
(
g_adr_w
-
1
downto
0
);
clock_a
:
in
std_logic
:
=
'1'
;
clock_a
:
in
std_logic
:
=
'1'
;
clock_b
:
in
std_logic
;
clock_b
:
in
std_logic
:
=
'1'
;
data_a
:
in
std_logic_vector
(
g_dat_w
-
1
downto
0
);
data_a
:
in
std_logic_vector
(
g_dat_w
-
1
downto
0
);
data_b
:
in
std_logic_vector
(
g_dat_w
-
1
downto
0
);
data_b
:
in
std_logic_vector
(
g_dat_w
-
1
downto
0
);
enable_a
:
in
std_logic
:
=
'1'
;
enable_a
:
in
std_logic
:
=
'1'
;
...
@@ -110,6 +110,10 @@ begin
...
@@ -110,6 +110,10 @@ begin
port
map
(
address_a
,
address_b
,
clock_a
,
clock_b
,
data_a
,
data_b
,
wren_a
,
wren_b
,
q_a
,
q_b
);
port
map
(
address_a
,
address_b
,
clock_a
,
clock_b
,
data_a
,
data_b
,
wren_a
,
wren_b
,
q_a
,
q_b
);
end
generate
;
end
generate
;
assert
not
(
g_technology
=
c_tech_agi027_xxxx
and
clock_a
/=
clock_b
)
report
"tech_memory_ram_crw_crw, utilizing ip_agi027_xxxx_ram_rw_rw : only supports one clock domain (use clock_b)"
severity
FAILURE
;
gen_ip_agi027_xxxx
:
if
g_technology
=
c_tech_agi027_xxxx
generate
gen_ip_agi027_xxxx
:
if
g_technology
=
c_tech_agi027_xxxx
generate
u0
:
ip_agi027_xxxx_ram_rw_rw
u0
:
ip_agi027_xxxx_ram_rw_rw
generic
map
(
false
,
g_adr_w
,
g_dat_w
,
g_nof_words
,
g_rd_latency
,
g_init_file
)
generic
map
(
false
,
g_adr_w
,
g_dat_w
,
g_nof_words
,
g_rd_latency
,
g_init_file
)
...
@@ -117,3 +121,4 @@ begin
...
@@ -117,3 +121,4 @@ begin
end
generate
;
end
generate
;
end
architecture
;
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