Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
FMC DIO 5ch TTL a
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
6
Issues
6
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
FMC DIO 5ch TTL a
Commits
5bbf887a
Commit
5bbf887a
authored
Aug 07, 2013
by
Grzegorz Daniluk
Committed by
Miguel Jimenez Lopez
Apr 03, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wrsw_dio: fix default values of DIO configuration for GM mode
parent
166ad540
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 @
5bbf887a
...
@@ -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