Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
Converter Common Gateware
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
Converter Common Gateware
Commits
0c9c6def
Commit
0c9c6def
authored
Aug 04, 2014
by
Theodor-Adrian Stana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed switch interface to be logic high
parent
6e1a5f9e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
11 deletions
+7
-11
conv_common_gw.vhd
top/conv_common_gw.vhd
+4
-8
conv_common_gw_pkg.vhd
top/conv_common_gw_pkg.vhd
+3
-3
No files found.
top/conv_common_gw.vhd
View file @
0c9c6def
...
...
@@ -154,8 +154,8 @@ entity conv_common_gw is
led_i2c_err_o
:
out
std_logic
;
-- Switch inputs (for readout from converter status register)
sw_gp_
n_i
:
in
std_logic_vector
(
7
downto
0
);
sw_multicast_
n_i
:
in
std_logic_vector
(
3
downto
0
);
sw_gp_
i
:
in
std_logic_vector
(
7
downto
0
);
sw_multicast_
i
:
in
std_logic_vector
(
3
downto
0
);
-- RTM lines
rtmm_i
:
in
std_logic_vector
(
2
downto
0
);
...
...
@@ -604,10 +604,6 @@ begin
--============================================================================
-- Converter board registers
--============================================================================
-- Make switches readout as '1' for ON, instead of '0'
sw_gp
<=
not
sw_gp_n_i
;
sw_multicast
<=
not
sw_multicast_n_i
;
-- RTM lines combo
rtm_lines
<=
rtmp_i
&
rtmm_i
;
...
...
@@ -630,7 +626,7 @@ begin
reg_bidr_i
=>
g_board_id
,
reg_sr_gwvers_i
=>
g_gwvers
,
reg_sr_switches_i
=>
sw_gp
,
reg_sr_switches_i
=>
sw_gp
_i
,
reg_sr_rtm_i
=>
rtm_lines
,
reg_sr_i2c_wdto_o
=>
i2c_wdto_bit_rst
,
reg_sr_i2c_wdto_i
=>
i2c_wdto_bit
,
...
...
@@ -715,7 +711,7 @@ begin
reg_lsr_rear_i
=>
line_rear_i
,
reg_lsr_fs_i
=>
line_rear_fs_i
,
reg_mswr_bit_i
=>
sw_multicast
reg_mswr_bit_i
=>
sw_multicast
_i
);
-- Implement the RST_UNLOCK bit
...
...
top/conv_common_gw_pkg.vhd
View file @
0c9c6def
...
...
@@ -144,9 +144,9 @@ package conv_common_gw_pkg is
led_i2c_err_o
:
out
std_logic
;
-- Switch inputs (for readout from converter status register)
sw_gp_
n_i
:
in
std_logic_vector
(
7
downto
0
);
sw_multicast_
n_i
:
in
std_logic_vector
(
3
downto
0
);
sw_gp_
i
:
in
std_logic_vector
(
7
downto
0
);
sw_multicast_
i
:
in
std_logic_vector
(
3
downto
0
);
-- RTM lines
rtmm_i
:
in
std_logic_vector
(
2
downto
0
);
rtmp_i
:
in
std_logic_vector
(
2
downto
0
);
...
...
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