Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
HDL
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RTSD
HDL
Commits
08089d3d
Commit
08089d3d
authored
9 years ago
by
Kenneth Hiemstra
Browse files
Options
Downloads
Patches
Plain Diff
address corrections
parent
8008ef14
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libraries/io/i2c/src/vhdl/i2c_dev_unb2_pkg.vhd
+17
-16
17 additions, 16 deletions
libraries/io/i2c/src/vhdl/i2c_dev_unb2_pkg.vhd
with
17 additions
and
16 deletions
libraries/io/i2c/src/vhdl/i2c_dev_unb2_pkg.vhd
+
17
−
16
View file @
08089d3d
...
...
@@ -36,21 +36,21 @@ PACKAGE i2c_dev_unb2_pkg IS
CONSTANT
I2C_UNB2_SENS_TEMP_MAX1617_ADR
:
NATURAL
:
=
MAX1617_ADR_MID_LOW
;
-- temperature sensor, slave address is 0x29
CONSTANT
I2C_UNB2_SENS_DCDC_BMR456_ADR
:
NATURAL
:
=
16
#
2
C
#
;
-- dc/dc converter, slave address is 0x2c
CONSTANT
I2C_UNB2_SENS_PIM_PIM4328PD_ADR
:
NATURAL
:
=
16
#
2
b
#
;
-- power input module, slave address is 0x2b
CONSTANT
I2C_UNB2_SENS_1V2_BMR461_ADR
:
NATURAL
:
=
16
#
0
f
#
;
-- 1.2V power supply, slave address is 0x0f
CONSTANT
I2C_UNB2_SENS_3V3_BMR461_ADR
:
NATURAL
:
=
16
#
0
e
#
;
-- 3.3V power supply, slave address is 0x0e
CONSTANT
I2C_UNB2_SENS_CLK_BMR461_ADR
:
NATURAL
:
=
16
#
0
d
#
;
-- clock power supply, slave address is 0x0d
CONSTANT
I2C_UNB2_SENS_QSFP0_BMR464_ADR
:
NATURAL
:
=
16
#
0
2
#
;
-- qsfp0 power supply, slave address is 0x0
2
CONSTANT
I2C_UNB2_SENS_QSFP1_BMR464_ADR
:
NATURAL
:
=
16
#
0
1
#
;
-- qsfp1 power supply, slave address is 0x0
1
CONSTANT
I2C_UNB2_SENS_EEPROM_CAT24C02_ADR
:
NATURAL
:
=
16
#
a
0
#
;
-- eeprom , slave address is 0x
a0
CONSTANT
I2C_UNB2_SENS_TEMP_TMP451_ADR
:
NATURAL
:
=
16
#
a
c
#
;
-- temperature sensor, slave address is 0x4c
CONSTANT
I2C_UNB2_SENS_1V2_BMR461_ADR
:
NATURAL
:
=
16
#
0
f
#
;
-- 1.2V power supply, slave address is 0x0f
(CHECKED OK: ONLY on FN2)
CONSTANT
I2C_UNB2_SENS_3V3_BMR461_ADR
:
NATURAL
:
=
16
#
0
e
#
;
-- 3.3V power supply, slave address is 0x0e
(CHECKED OK: ONLY on FN2)
CONSTANT
I2C_UNB2_SENS_CLK_BMR461_ADR
:
NATURAL
:
=
16
#
0
d
#
;
-- clock power supply, slave address is 0x0d
(CHECKED OK: ONLY on FN2)
CONSTANT
I2C_UNB2_SENS_QSFP0_BMR464_ADR
:
NATURAL
:
=
16
#
0
1
#
;
-- qsfp0 power supply, slave address is 0x0
1 (CHECKED OK: ONLY on FN2)
CONSTANT
I2C_UNB2_SENS_QSFP1_BMR464_ADR
:
NATURAL
:
=
16
#
0
2
#
;
-- qsfp1 power supply, slave address is 0x0
2 (CHECKED OK: ONLY on FN2)
CONSTANT
I2C_UNB2_SENS_EEPROM_CAT24C02_ADR
:
NATURAL
:
=
16
#
5
0
#
;
-- eeprom , slave address is 0x
50 (CHECKED OK: on all nodes)
CONSTANT
I2C_UNB2_SENS_TEMP_TMP451_ADR
:
NATURAL
:
=
16
#
4
c
#
;
-- temperature sensor, slave address is 0x4c
(CHECKED OK: ONLY on FN2)
-- I2C slave addresses of the devices on the I2C pm bus on UniBoard2
CONSTANT
I2C_UNB2_PMB_CORE_BMR464_ADR
:
NATURAL
:
=
16
#
01
#
;
-- core supply, slave address is 0x01
CONSTANT
I2C_UNB2_PMB_VCCRAM_BMR461_ADR
:
NATURAL
:
=
16
#
0
d
#
;
-- vcc ram supply, slave address is 0x0d
CONSTANT
I2C_UNB2_PMB_TCVR0_BMR461_ADR
:
NATURAL
:
=
16
#
0
e
#
;
-- transceiver0 supply, slave address is 0x0e
CONSTANT
I2C_UNB2_PMB_TCVR1_BMR461_ADR
:
NATURAL
:
=
16
#
0
f
#
;
-- transceiver1 supply, slave address is 0x0f
CONSTANT
I2C_UNB2_PMB_CTRL_BMR461_ADR
:
NATURAL
:
=
16
#
10
#
;
-- control supply, slave address is 0x10
CONSTANT
I2C_UNB2_PMB_FPGAIO_BMR461_ADR
:
NATURAL
:
=
16
#
11
#
;
-- fpga io supply, slave address is 0x11
CONSTANT
I2C_UNB2_PMB_CORE_BMR464_ADR
:
NATURAL
:
=
16
#
01
#
;
-- core supply, slave address is 0x01
(CHECKED OK)
CONSTANT
I2C_UNB2_PMB_VCCRAM_BMR461_ADR
:
NATURAL
:
=
16
#
0
d
#
;
-- vcc ram supply, slave address is 0x0d
(CHECKED OK)
CONSTANT
I2C_UNB2_PMB_TCVR0_BMR461_ADR
:
NATURAL
:
=
16
#
0
e
#
;
-- transceiver0 supply, slave address is 0x0e
(CHECKED OK)
CONSTANT
I2C_UNB2_PMB_TCVR1_BMR461_ADR
:
NATURAL
:
=
16
#
0
f
#
;
-- transceiver1 supply, slave address is 0x0f
(CHECKED OK)
CONSTANT
I2C_UNB2_PMB_CTRL_BMR461_ADR
:
NATURAL
:
=
16
#
10
#
;
-- control supply, slave address is 0x10
(CHECKED OK)
CONSTANT
I2C_UNB2_PMB_FPGAIO_BMR461_ADR
:
NATURAL
:
=
16
#
11
#
;
-- fpga io supply, slave address is 0x11
(CHECKED OK)
-- I2C slave addresses of the devices on the I2C ddr4 memory bus on UniBoard2
CONSTANT
I2C_UNB2_MB_I_DDR4_ADR
:
NATURAL
:
=
16
#
18
#
;
-- ddr4 module I, slave address is 0x18
...
...
@@ -60,11 +60,12 @@ PACKAGE i2c_dev_unb2_pkg IS
-- commands
-- these can later go into device specific packages
CONSTANT
PMBUS_REG_READ_VOUT_MODE
:
NATURAL
:
=
16
#
20
#
;
-- common to all PMB devices (CHECKED OK)
CONSTANT
PMBUS_REG_READ_VIN
:
NATURAL
:
=
16
#
88
#
;
-- common to all PMB devices
CONSTANT
PMBUS_REG_READ_VCAP
:
NATURAL
:
=
16
#
8
a
#
;
-- used in the PIM4328PD
CONSTANT
PMBUS_REG_READ_VOUT
:
NATURAL
:
=
16
#
8
b
#
;
-- common to all PMB devices
CONSTANT
PMBUS_REG_READ_IOUT
:
NATURAL
:
=
16
#
8
c
#
;
-- common to all PMB devices
CONSTANT
PMBUS_REG_READ_TE
m
P
:
NATURAL
:
=
16
#
8
d
#
;
-- common to all PMB devices
CONSTANT
PMBUS_REG_READ_VOUT
:
NATURAL
:
=
16
#
8
b
#
;
-- common to all PMB devices
(CHECKED OK)
CONSTANT
PMBUS_REG_READ_IOUT
:
NATURAL
:
=
16
#
8
c
#
;
-- common to all PMB devices
(CHECKED OK)
CONSTANT
PMBUS_REG_READ_TE
M
P
:
NATURAL
:
=
16
#
8
d
#
;
-- common to all PMB devices
(CHECKED OK)
CONSTANT
c_i2c_unb2_nof_protocol_lists
:
NATURAL
:
=
4
;
-- for now we allow four protocol lists for each i2c interface
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment