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
b2861817
Commit
b2861817
authored
Aug 05, 2014
by
Theodor-Adrian Stana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
led_i2c_err_o is now set high on both I2C address error and WDTO error
parent
223396a3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
conv_common_gw.vhd
top/conv_common_gw.vhd
+2
-2
conv_common_gw_pkg.vhd
top/conv_common_gw_pkg.vhd
+1
-1
No files found.
top/conv_common_gw.vhd
View file @
b2861817
...
...
@@ -121,7 +121,7 @@ entity conv_common_gw is
-- I2C LED signals -- conect to a bicolor LED of choice
-- led_i2c_o pulses four times on I2C transfer
-- led_i2c_err_o
reflects the state of SR.I2C_ERR bit in conv_regs
-- led_i2c_err_o
is high when either SR.I2C_ERR = '1' or SR.I2C_WDTO = '1'
led_i2c_o
:
out
std_logic
;
led_i2c_err_o
:
out
std_logic
;
...
...
@@ -577,7 +577,7 @@ begin
end
process
p_i2c_err_led
;
-- Set the I2C err signal for the LED
led_i2c_err_o
<=
i2c_err_bit
;
led_i2c_err_o
<=
i2c_err_bit
or
i2c_wdto_bit
;
--============================================================================
-- Instantiation and connection of the main Wishbone crossbar
...
...
top/conv_common_gw_pkg.vhd
View file @
b2861817
...
...
@@ -111,7 +111,7 @@ package conv_common_gw_pkg is
-- I2C LED signals -- conect to a bicolor LED of choice
-- led_i2c_o pulses four times on I2C transfer
-- led_i2c_err_o
reflects the state of SR.I2C_ERR bit in conv_regs
-- led_i2c_err_o
is high when either SR.I2C_ERR = '1' or SR.I2C_WDTO = '1'
led_i2c_o
:
out
std_logic
;
led_i2c_err_o
:
out
std_logic
;
...
...
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