APPENDIX A: Registers for PCIe8g3 S5
Registers, Port: Ports 0–3 (SFPs)
EDT, Inc.
2017 January 04
35
0x80003C, 81003C, 82003C, 83003C Demux Bitmask
Access / Notes:
32-bit read-only
Addresses and writes a 192-bit mask which can be used to select timeslots from an SDH / SONET
frame. Writing a 1 to a bit will disable that bit’s timeslot.
0x80003C (Port 0): STRATIX5_REGXL8(STRATIX5_DEMUX_BITMASK, 0)
0x81003C (Port 1): STRATIX5_REGXL8(STRATIX5_DEMUX_BITMASK, 1)
0x82003C (Port 2): STRATIX5_REGXL8(STRATIX5_DEMUX_BITMASK, 2)
0x83003C (Port 3): STRATIX5_REGXL8(STRATIX5_DEMUX_BITMASK, 3)
Bit
Access
Name
Description
31
RW
[no name]
Set to write data in bits 7–0 to address in bits 12–8.
30–13
–
–
Reserved.
12–8
RW
[no name]
Address for a 4-bit or 8-bit section of the mask.
7–0
RW
[no name]
Data to be written to the mask. For OC3 / STM1, OC12 / STM4, and OC48 / STM16, only four bits are
addressed per write; for OC192 / STM64, eight bits are addressed per write.
STM1
STM4
STM16
STM64
The mask is written 4 bits at a
time; only the first 3 bits [0–2] of
the mask are used.
Example:
To select AU-3(1),
the first AU-3, use the
pdb
command...
: wm132 80003C 80000003
The mask is written 4 bits at a
time; only the first 12 bits [0–11]
of the mask are used.
Example:
To select AU-4(1,0),
the first STM1, use the
pdb
commands...
: wm132 80003C 80000007
: wm132 80003C 80000107
: wm132 80003C 80000207
...or to select AU-3(1,1), the first
AU-3, use the commands...
: wm132 80003C 80000007
: wm132 80003C 8000010F
: wm132 80003C 8000020F
The mask is written 4 bits at a
time; only the first 48 bits [0–47]
of the mask are used.
Example:
To select AU-
4(1,1,0), the first STM1, use the
pdb
commands...
: wm132 80003C 80000007
: wm132 80003C 8000010F
: wm132 80003C 8000020F
: wm132 80003C 8000030F
: wm132 80003C 80000407
: wm132 80003C 8000050F
: wm132 80003C 8000060F
: wm132 80003C 8000070F
: wm132 80003C 80000807
: wm132 80003C 8000090F
: wm132 80003C 80000A0F
: wm132 80003C 80000B0F
The mask is written 8 bits at a
time; all 192 bits are used.
Example:
To select AU-
4(1,1,1,0), the first STM1, use
the
pdb
commands...
: wm132 80003C 8000007F
: wm132 80003C 800001FF
: wm132 80003C 800002FF
: wm132 80003C 800003FF
: wm132 80003C 800004FF
: wm132 80003C 800005FF
: wm132 80003C 800006FF
: wm132 80003C 800007FF
: wm132 80003C 8000087F
: wm132 80003C 800009FF
: wm132 80003C 80000AFF
: wm132 80003C 80000BFF
: wm132 80003C 80000CFF
: wm132 80003C 80000DFF
: wm132 80003C 80000EFF
: wm132 80003C 80000FFF
: wm132 80003C 8000107F
: wm132 80003C 800011FF
: wm132 80003C 800012FF
: wm132 80003C 800013FF
: wm132 80003C 800014FF
: wm132 80003C 800015FF
: wm132 80003C 800016FF
: wm132 80003C 800017FF