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
498b16c7
Commit
498b16c7
authored
7 years ago
by
Tomasz Wlostowski
Committed by
Tristan Gingold
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
axi4: add 512-bit data width AXI4-full record, fixed compilation issue in axi->wb bridge
parent
c8c1553e
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!13
Condition check for Divider value
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
modules/axi/axi4_pkg.vhd
+45
-1
45 additions, 1 deletion
modules/axi/axi4_pkg.vhd
modules/wishbone/wb_axi4lite_bridge/xwb_axi4lite_bridge.vhd
+4
-0
4 additions, 0 deletions
modules/wishbone/wb_axi4lite_bridge/xwb_axi4lite_bridge.vhd
with
49 additions
and
1 deletion
modules/axi/axi4_pkg.vhd
+
45
−
1
View file @
498b16c7
...
...
@@ -140,7 +140,7 @@ package axi4_pkg is
constant
c_AXI4_RESP_SLVERR
:
std_logic_vector
(
1
downto
0
)
:
=
"10"
;
constant
c_AXI4_RESP_DECERR
:
std_logic_vector
(
1
downto
0
)
:
=
"11"
;
function
f_axi4_full_to_lite
(
function
f_axi4_full_to_lite
(
f
:
t_axi4_full_master_out_32
)
return
t_axi4_lite_master_out_32
;
...
...
@@ -198,6 +198,50 @@ package axi4_pkg is
);
end
component
;
-- AXI4-Full interface, master output ports, 512 bits
type
t_axi4_full_master_out_512
is
record
ARVALID
:
std_logic
;
AWVALID
:
std_logic
;
BREADY
:
std_logic
;
RREADY
:
std_logic
;
WLAST
:
std_logic
;
WVALID
:
std_logic
;
ARID
:
std_logic_vector
(
11
downto
0
);
AWID
:
std_logic_vector
(
11
downto
0
);
ARBURST
:
std_logic_vector
(
1
downto
0
);
ARLOCK
:
std_logic
;
ARSIZE
:
std_logic_vector
(
2
downto
0
);
AWBURST
:
std_logic_vector
(
1
downto
0
);
AWLOCK
:
std_logic
;
AWSIZE
:
std_logic_vector
(
2
downto
0
);
ARPROT
:
std_logic_vector
(
2
downto
0
);
AWPROT
:
std_logic_vector
(
2
downto
0
);
ARADDR
:
std_logic_vector
(
31
downto
0
);
AWADDR
:
std_logic_vector
(
31
downto
0
);
WDATA
:
std_logic_vector
(
511
downto
0
);
ARCACHE
:
std_logic_vector
(
3
downto
0
);
ARLEN
:
std_logic_vector
(
7
downto
0
);
ARQOS
:
std_logic_vector
(
3
downto
0
);
AWCACHE
:
std_logic_vector
(
3
downto
0
);
AWLEN
:
std_logic_vector
(
7
downto
0
);
AWQOS
:
std_logic_vector
(
3
downto
0
);
WSTRB
:
std_logic_vector
(
31
downto
0
);
end
record
;
-- AXI4-Full interface, master input ports, 512 bits
type
t_axi4_full_master_in_512
is
record
ARREADY
:
std_logic
;
AWREADY
:
std_logic
;
BVALID
:
std_logic
;
RLAST
:
std_logic
;
RVALID
:
std_logic
;
WREADY
:
std_logic
;
BID
:
std_logic_vector
(
11
downto
0
);
RID
:
std_logic_vector
(
11
downto
0
);
BRESP
:
std_logic_vector
(
1
downto
0
);
RRESP
:
std_logic_vector
(
1
downto
0
);
RDATA
:
std_logic_vector
(
511
downto
0
);
end
record
;
end
package
;
package
body
axi4_pkg
is
...
...
This diff is collapsed.
Click to expand it.
modules/wishbone/wb_axi4lite_bridge/xwb_axi4lite_bridge.vhd
+
4
−
0
View file @
498b16c7
...
...
@@ -179,7 +179,11 @@ begin
state
<=
IDLE
;
end
if
;
<<<<<<<
HEAD
when
RESPONSE_READ
=>
null
;
=======
when
RESPONSE_READ
=>
>>>>>>>
49
d9064
...
axi4
:
add
512
-
bit
data
width
AXI4
-
full
record
,
fixed
compilation
issue
in
axi
->
wb
bridge
if
(
axi4_slave_i
.
RREADY
=
'1'
)
then
axi4_slave_o
.
RVALID
<=
'0'
;
state
<=
IDLE
;
...
...
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