Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
L
legacy-vme64x-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
legacy-vme64x-core
Commits
2a3af0d6
Commit
2a3af0d6
authored
Apr 03, 2014
by
Cesar Prados
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vme-wb: VHDL 1993 doesn't accept to use output port
in comparisons
parent
63d7dc7c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
6 deletions
+9
-6
VME_Wb_master_eb.vhd
hdl/VME_Wb_master_eb.vhd
+9
-6
No files found.
hdl/VME_Wb_master_eb.vhd
View file @
2a3af0d6
...
...
@@ -85,7 +85,8 @@ architecture Behavioral of VME_Wb_interface is
constant
CTRL_WINDOW
:
std_logic_vector
:
=
"00000010"
;
signal
s_shift_dx
:
std_logic
;
signal
s_funct_sel
:
std_logic_vector
(
7
downto
0
);
signal
s_cyc
:
std_logic
;
signal
s_cyc
:
std_logic
;
signal
s_stb
:
std_logic
;
signal
s_cyc_d
:
std_logic
;
signal
s_AckWithError
:
std_logic
;
signal
s_ack_ctrl
:
std_logic
;
...
...
@@ -135,6 +136,8 @@ begin
locAddr_o
(
r_addr
'range
)
<=
r_addr
;
locAddr_o
(
r_addr
'right
-1
downto
0
)
<=
rel_locAddr_i
(
r_addr
'right
-1
downto
0
);
cyc_o
<=
s_cyc
;
stb_o
<=
s_stb
;
process
(
clk_i
)
...
...
@@ -150,13 +153,13 @@ begin
if
funct_sel
(
0
)
=
'1'
or
(
funct_sel
(
0
)
=
'0'
and
funct_sel
(
1
)
=
'0'
)
then
if
(
memReq_i
=
'1'
and
cardSel_i
=
'1'
and
BERRcondition_i
=
'0'
and
cyc_o
=
'1'
)
then
s
tb_o
<=
'1'
;
elsif
(
s
tb_o
=
'1'
and
stall_i
=
'0'
and
cyc_o
=
'1'
)
then
s
tb_o
<=
'0'
;
if
(
memReq_i
=
'1'
and
cardSel_i
=
'1'
and
BERRcondition_i
=
'0'
and
s_cyc
=
'1'
)
then
s
_stb
<=
'1'
;
elsif
(
s
_stb
=
'1'
and
stall_i
=
'0'
and
s_cyc
=
'1'
)
then
s
_stb
<=
'0'
;
end
if
;
cyc_o
<=
s_cyc_d
;
s_cyc
<=
s_cyc_d
;
-- ack and rw handler
RW_o
<=
RW_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