Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
wr-nic
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
white-rabbit
wr-nic
Commits
96418abd
Commit
96418abd
authored
Aug 07, 2013
by
Grzegorz Daniluk
Committed by
Benoit Rat
Oct 10, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wrsw_dio: fix default values of DIO configuration for GM mode
parent
acdfe07a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
xwrsw_dio.vhd
modules/wrsw_dio/xwrsw_dio.vhd
+5
-5
No files found.
modules/wrsw_dio/xwrsw_dio.vhd
View file @
96418abd
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
-- Author : Rafael Rodriguez, Javier Díaz
-- Author : Rafael Rodriguez, Javier Díaz
-- Company : Seven Solutions
-- Company : Seven Solutions
-- Created : 2012-03-03
-- Created : 2012-03-03
-- Last update: 201
2-03-20
-- Last update: 201
3-08-07
-- Platform : FPGA-generic
-- Platform : FPGA-generic
-- Standard : VHDL
-- Standard : VHDL
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
...
@@ -23,8 +23,8 @@
...
@@ -23,8 +23,8 @@
-- Date Version Author Description
-- Date Version Author Description
-- 2012-03-03 0.1 Rafa.r Created
-- 2012-03-03 0.1 Rafa.r Created
-- 2012-03-08 0.1 JDiaz Added wrsw_dio_wb
-- 2012-03-08 0.1 JDiaz Added wrsw_dio_wb
-- 2012-07-05 0.2
JDiaz Modified wrsw_dio_wb, modified interface
-- 2012-07-05 0.2
JDiaz Modified wrsw_dio_wb, modified interface
-- 2012-07-20 0.2
JDiaz Include sdb support
-- 2012-07-20 0.2
JDiaz Include sdb support
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
-- Memory map:
-- Memory map:
-- 0x000: DIO-ONEWIRE
-- 0x000: DIO-ONEWIRE
...
@@ -815,8 +815,8 @@ begin
...
@@ -815,8 +815,8 @@ begin
-- Set default configuration for each channel at reset
-- Set default configuration for each channel at reset
if
rst_n_i
=
'0'
then
if
rst_n_i
=
'0'
then
dio_iomode_reg
(
2
*
c_IOMODE_NB
+
3
downto
2
*
c_IOMODE_NB
)
<=
"0010"
;
-- mode 2 p
dio_iomode_reg
(
2
*
c_IOMODE_NB
+
3
downto
2
*
c_IOMODE_NB
)
<=
"0010"
;
-- mode 2 p
dio_iomode_reg
(
3
*
c_IOMODE_NB
+
3
downto
3
*
c_IOMODE_NB
)
<=
"
1
100"
;
-- mode 3 I
dio_iomode_reg
(
3
*
c_IOMODE_NB
+
3
downto
3
*
c_IOMODE_NB
)
<=
"
0
100"
;
-- mode 3 I
dio_iomode_reg
(
4
*
c_IOMODE_NB
+
3
downto
4
*
c_IOMODE_NB
)
<=
"
1
110"
;
-- mode 4 C
dio_iomode_reg
(
4
*
c_IOMODE_NB
+
3
downto
4
*
c_IOMODE_NB
)
<=
"
0
110"
;
-- mode 4 C
else
else
-- Set up register iomode for each channel
-- Set up register iomode for each channel
for
i
in
0
to
4
loop
for
i
in
0
to
4
loop
...
...
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