Difference: TrbNetHub (1 vs. 17)

Revision 17
07 Jan 2010 - Main.JanMichel
Line: 1 to 1
 
META TOPICPARENT name="TrbNetEntities"

General information

A hub is, like in any other network, a logical unit that merges the data coming in on different lines and sends it out on every other line.
Line: 25 to 25
 
8C-8F STAT HUB_STAT_ACK status for all init obufs: set if obuf is waiting for two acknowledges
90-9F STAT HUB_ERROR_BITS 0-7:LVL1 0-7, 8-15:LVL1 23-16, 16-23:IPU 0-7, 24-31:IPU 23-16
A0-A3 STAT HUB_STAT_ERROR status & error bits per channel
Changed:
<
<
>
>
A4 STAT HUB_SCTRL_ERROR combination of errorbits 1,3,6 in slow control channel per port
 

Address Direction Name Description
C0 CTRL HUB_CTRL_SWITCH_PORTS_CH0 Switch port logically off on channel 0
Revision 16
07 Jan 2010 - Main.JanMichel
Line: 1 to 1
 
META TOPICPARENT name="TrbNetEntities"

General information

A hub is, like in any other network, a logical unit that merges the data coming in on different lines and sends it out on every other line.
Line: 23 to 23
 
87 STAT IPU_STATUS IPU status register
88-8B STAT HUB_STAT_TIMEOUT timeout of a connected endpoint, one register for each channel. Status is cleared after read
8C-8F STAT HUB_STAT_ACK status for all init obufs: set if obuf is waiting for two acknowledges
Changed:
<
<
90-9C STAT HUB_ERROR_BITS 0-7:LVL1 0-7, 8-15:LVL1 23-16, 16-23:IPU 0-7, 24-31:IPU 23-16
9D STAT HUB_STAT_ERROR status & error bits LVL1
9E STAT HUB_STAT_ERROR status & error bits IPU
9F STAT HUB_STAT_ERROR status & error bits Slowcontrol
>
>
90-9F STAT HUB_ERROR_BITS 0-7:LVL1 0-7, 8-15:LVL1 23-16, 16-23:IPU 0-7, 24-31:IPU 23-16
A0-A3 STAT HUB_STAT_ERROR status & error bits per channel
 

Address Direction Name Description
Revision 15
06 Jan 2010 - Main.JanMichel
Line: 1 to 1
 
META TOPICPARENT name="TrbNetEntities"

General information

A hub is, like in any other network, a logical unit that merges the data coming in on different lines and sends it out on every other line.
Line: 20 to 20
 
84 STAT HUB_STAT_active_points 1 bit per port - '1' when link is active, '0' when link is not operational
85 CFG HUB_UPLINKS Lists all uplinks
86 CFG HUB_DOWNLINKS Lists all downlinks
Added:
>
>
87 STAT IPU_STATUS IPU status register
 
88-8B STAT HUB_STAT_TIMEOUT timeout of a connected endpoint, one register for each channel. Status is cleared after read
8C-8F STAT HUB_STAT_ACK status for all init obufs: set if obuf is waiting for two acknowledges
Changed:
<
<
90-93 STAT HUB_STAT_ERROR status & error bits
94 STAT IPU_STATUS IPU status register
>
>
90-9C STAT HUB_ERROR_BITS 0-7:LVL1 0-7, 8-15:LVL1 23-16, 16-23:IPU 0-7, 24-31:IPU 23-16
9D STAT HUB_STAT_ERROR status & error bits LVL1
9E STAT HUB_STAT_ERROR status & error bits IPU
9F STAT HUB_STAT_ERROR status & error bits Slowcontrol
 

Address Direction Name Description
Revision 14
05 Jan 2010 - Main.JanMichel
Line: 1 to 1
 
META TOPICPARENT name="TrbNetEntities"

General information

A hub is, like in any other network, a logical unit that merges the data coming in on different lines and sends it out on every other line.
Line: 16 to 16
  Every hub has its own network address and one slow control interface. This is used to retrieve information about the current status, to switch off unused interfaces or to solve an error condition.

Address Direction Name Description
Changed:
<
<
80 STAT HUB_STAT_locked_ch0 1 bit per port. '1' when waiting for TRM, '0' otherwise
81 STAT HUB_STAT_locked_ch1 see above
82 STAT HUB_STAT_locked_ch2 see above
83 STAT HUB_STAT_locked_ch3 see above
>
>
80-83 STAT HUB_STAT_locked 1 bit per port. '1' when waiting for TRM, '0' otherwise
 
84 STAT HUB_STAT_active_points 1 bit per port - '1' when link is active, '0' when link is not operational
85 CFG HUB_UPLINKS Lists all uplinks
86 CFG HUB_DOWNLINKS Lists all downlinks
88-8B STAT HUB_STAT_TIMEOUT timeout of a connected endpoint, one register for each channel. Status is cleared after read
8C-8F STAT HUB_STAT_ACK status for all init obufs: set if obuf is waiting for two acknowledges
Added:
>
>
90-93 STAT HUB_STAT_ERROR status & error bits
94 STAT IPU_STATUS IPU status register
 
Changed:
<
<
>
>
Address Direction Name Description
 
C0 CTRL HUB_CTRL_SWITCH_PORTS_CH0 Switch port logically off on channel 0
C1 CTRL HUB_CTRL_SWITCH_PORTS_CH1 see above
C2 CTRL HUB_CTRL_SWITCH_PORTS_CH2 see above
Revision 13
07 Dec 2009 - Main.JanMichel
Line: 1 to 1
 
META TOPICPARENT name="TrbNetEntities"

General information

A hub is, like in any other network, a logical unit that merges the data coming in on different lines and sends it out on every other line.
Line: 16 to 16
  Every hub has its own network address and one slow control interface. This is used to retrieve information about the current status, to switch off unused interfaces or to solve an error condition.

Address Direction Name Description
Changed:
<
<
80 STAT HUB_STAT_locked_ch0 1 bit per port. Between transfers: '1' when port is active, '0' when inactive. While a transfer is running: '1' when waiting for TRM, '0' when TRM has been received
>
>
80 STAT HUB_STAT_locked_ch0 1 bit per port. '1' when waiting for TRM, '0' otherwise
 
81 STAT HUB_STAT_locked_ch1 see above
82 STAT HUB_STAT_locked_ch2 see above
83 STAT HUB_STAT_locked_ch3 see above
Revision 12
18 Nov 2009 - Main.MichaelTraxler
Line: 1 to 1
 
META TOPICPARENT name="TrbNetEntities"

General information

A hub is, like in any other network, a logical unit that merges the data coming in on different lines and sends it out on every other line.

Hub logic: Example of operation

Changed:
<
<
Let's assume, we have a hub with 5 interfaces. (Whether they are media independent interfaces or application interfaces does not matter, they are al treated the same inside the hub logic)
>
>
Let's assume, we have a hub with 5 interfaces. (Whether they are media independent interfaces or application interfaces does not matter, they are all treated the same inside the hub logic).
  A data transmission is coming in on the init channel of line 1. This data is copied to the init channel of all other lines.
Changed:
<
<
Now we have to wait for the answers on all four channels. Lines 2 and 3 react immediatly with a TRM on the reply channel. These TRM are stored until all interfaces have send their answers. Lines 4 and 5 send back some data. First the data of line 4 is passed to line 1, who initiated the transfer. After the TRM of line 4 is received, the data of line 5 is read and sent to line 1. Now all interfaces have sent their TRM, so the merged TRM of all interfaces is sent to line 1. The transfer is finished and the hub goes back to idle mode.
>
>
Now, we have to wait for the answers on all four channels. Lines 2 and 3 react immediately with a TRM on the reply channel. These TRM are stored until all interfaces have sent their answers. Lines 4 and 5 send back some data. First the data of line 4 is passed to line 1, who initiated the transfer. After the TRM of line 4 is received, the data of line 5 is read and sent to line 1. Now all interfaces have sent their TRM, so the merged TRM of all interfaces is sent to line 1. The transfer is finished and the hub goes back to idle mode.
 

Configuration

Each hub can be configured by a large number of generics. The complete table can be found in TrbNetConfiguration.
Revision 11
17 Nov 2009 - Main.JanMichel
Line: 1 to 1
 
META TOPICPARENT name="TrbNetEntities"

General information

A hub is, like in any other network, a logical unit that merges the data coming in on different lines and sends it out on every other line.
Line: 33 to 34
 
C3 CTRL HUB_CTRL_SWITCH_PORTS_CH3 see above
C4 CTRL HUB_CTRL_SWITCH_INTERFACE completely switch off port (currently: Do NOT use)
C5 CTRL HUB_TIMEOUT_TIME set timeout delay for each channel (4 bits per channel) *
Added:
>
>
C6 CTRL LOCAL_NETWORK_RESET reset part of network connected to this link
 
Changed:
<
<
*)Timeout time is a 4 bit value which determines the time the downlink has to answer until a timeout occurs. Time = (2**(value+16))/Clock_freq = 0.66ms * 2**value
>
>
*)Timeout time is a 4 bit value which determines the time the downlink has to answer until a timeout occurs. Time = (2**(value+16))/Clock_freq = 0.66ms * 2**value. 0 switches timeout off.
 

META FILEATTACHMENT attr="" comment="TrbNetHub (red: multiplexer, orange: iobuf, blue: api, purple: hub_logic, gray: hub_base)" date="1196165360" name="trbnethub.png" path="trbnethub.png" size="29780" user="JanMichel" version="1.1"
Revision 10
12 Nov 2009 - Main.JanMichel
Line: 1 to 1
 
META TOPICPARENT name="TrbNetEntities"

General information

A hub is, like in any other network, a logical unit that merges the data coming in on different lines and sends it out on every other line.
Line: 24 to 24
 
85 CFG HUB_UPLINKS Lists all uplinks
86 CFG HUB_DOWNLINKS Lists all downlinks
88-8B STAT HUB_STAT_TIMEOUT timeout of a connected endpoint, one register for each channel. Status is cleared after read
Added:
>
>
8C-8F STAT HUB_STAT_ACK status for all init obufs: set if obuf is waiting for two acknowledges
 

C0 CTRL HUB_CTRL_SWITCH_PORTS_CH0 Switch port logically off on channel 0
C1 CTRL HUB_CTRL_SWITCH_PORTS_CH1 see above
Revision 9
06 Nov 2009 - Main.JanMichel
Line: 1 to 1
 
META TOPICPARENT name="TrbNetEntities"

General information

A hub is, like in any other network, a logical unit that merges the data coming in on different lines and sends it out on every other line.
Line: 30 to 30
 
C2 CTRL HUB_CTRL_SWITCH_PORTS_CH2 see above
C3 CTRL HUB_CTRL_SWITCH_PORTS_CH3 see above
C4 CTRL HUB_CTRL_SWITCH_INTERFACE completely switch off port (currently: Do NOT use)
Added:
>
>
C5 CTRL HUB_TIMEOUT_TIME set timeout delay for each channel (4 bits per channel) *
 
Added:
>
>
*)Timeout time is a 4 bit value which determines the time the downlink has to answer until a timeout occurs. Time = (2**(value+16))/Clock_freq = 0.66ms * 2**value
 

META FILEATTACHMENT attr="" comment="TrbNetHub (red: multiplexer, orange: iobuf, blue: api, purple: hub_logic, gray: hub_base)" date="1196165360" name="trbnethub.png" path="trbnethub.png" size="29780" user="JanMichel" version="1.1"
Revision 8
27 Oct 2009 - Main.JanMichel
Line: 1 to 1
 
META TOPICPARENT name="TrbNetEntities"

General information

A hub is, like in any other network, a logical unit that merges the data coming in on different lines and sends it out on every other line.
Line: 21 to 21
 
82 STAT HUB_STAT_locked_ch2 see above
83 STAT HUB_STAT_locked_ch3 see above
84 STAT HUB_STAT_active_points 1 bit per port - '1' when link is active, '0' when link is not operational
Added:
>
>
85 CFG HUB_UPLINKS Lists all uplinks
86 CFG HUB_DOWNLINKS Lists all downlinks
 
88-8B STAT HUB_STAT_TIMEOUT timeout of a connected endpoint, one register for each channel. Status is cleared after read

C0 CTRL HUB_CTRL_SWITCH_PORTS_CH0 Switch port logically off on channel 0
Revision 7
22 Sep 2009 - Main.JanMichel
Line: 1 to 1
 
META TOPICPARENT name="TrbNetEntities"

General information

A hub is, like in any other network, a logical unit that merges the data coming in on different lines and sends it out on every other line.
Line: 21 to 21
 
82 STAT HUB_STAT_locked_ch2 see above
83 STAT HUB_STAT_locked_ch3 see above
84 STAT HUB_STAT_active_points 1 bit per port - '1' when link is active, '0' when link is not operational
Changed:
<
<
88-8B STAT HUB_STAT_TIMEOUT timeout of a connected endpoint
>
>
88-8B STAT HUB_STAT_TIMEOUT timeout of a connected endpoint, one register for each channel. Status is cleared after read
 

C0 CTRL HUB_CTRL_SWITCH_PORTS_CH0 Switch port logically off on channel 0
C1 CTRL HUB_CTRL_SWITCH_PORTS_CH1 see above
C2 CTRL HUB_CTRL_SWITCH_PORTS_CH2 see above
C3 CTRL HUB_CTRL_SWITCH_PORTS_CH3 see above
Changed:
<
<
C4 CTRL HUB_CTRL_SWITCH_INTERFACE completely switch off port
>
>
C4 CTRL HUB_CTRL_SWITCH_INTERFACE completely switch off port (currently: Do NOT use)
 

META FILEATTACHMENT attr="" comment="TrbNetHub (red: multiplexer, orange: iobuf, blue: api, purple: hub_logic, gray: hub_base)" date="1196165360" name="trbnethub.png" path="trbnethub.png" size="29780" user="JanMichel" version="1.1"
Revision 6
22 Sep 2009 - Main.JanMichel
Line: 1 to 1
 
META TOPICPARENT name="TrbNetEntities"

General information

A hub is, like in any other network, a logical unit that merges the data coming in on different lines and sends it out on every other line.
Line: 21 to 21
 
82 STAT HUB_STAT_locked_ch2 see above
83 STAT HUB_STAT_locked_ch3 see above
84 STAT HUB_STAT_active_points 1 bit per port - '1' when link is active, '0' when link is not operational
Added:
>
>
88-8B STAT HUB_STAT_TIMEOUT timeout of a connected endpoint
 
C0 CTRL HUB_CTRL_SWITCH_PORTS_CH0 Switch port logically off on channel 0
C1 CTRL HUB_CTRL_SWITCH_PORTS_CH1 see above
C2 CTRL HUB_CTRL_SWITCH_PORTS_CH2 see above
Revision 5
06 Jul 2009 - Main.JanMichel
Line: 1 to 1
 
META TOPICPARENT name="TrbNetEntities"

General information

A hub is, like in any other network, a logical unit that merges the data coming in on different lines and sends it out on every other line.
Line: 15 to 15
 

Control registers

Every hub has its own network address and one slow control interface. This is used to retrieve information about the current status, to switch off unused interfaces or to solve an error condition.
Changed:
<
<
Address Direction Name Description Usage
0 STAT HUB_STAT_GEN Hub status overview tbd
1 STAT      
2 STAT HUB_STAT_CHANNEL Hub channel status (15..0) Channel 0
(31..16) Channel 1
3 STAT HUB_STAT_CHANNEL Hub channel status (15..0) Channel 2
(31..16) Channel 3
4 STAT      
5 STAT      
6 STAT      
7 STAT      
8 CTRL HUB_ADDRESS Address of the hub control logic (15..0) is the address, (16) shows if set or not
9 CTRL HUB_CTRL_GEN Hub control tbd
10 CTRL HUB_CTRL_CHANNEL Hub channel status (15..0) Channel 0
(31..16) Channel 1
11 CTRL HUB_CTRL_CHANNEL Hub channel status (15..0) Channel 2
(31..16) Channel 3
12 CTRL HUB_CTRL_activepoints0 Hub point control switch interfaces on/off on channel 0
13 CTRL HUB_CTRL_activepoints1 Hub point control switch interfaces on/off on channel 1
14 CTRL HUB_CTRL_activepoints2 Hub point control switch interfaces on/off on channel 2
15 CTRL HUB_CTRL_activepoints3 Hub point control switch interfaces on/off on channel 3

-- JanMichel - 30 Nov 2007
>
>
Address Direction Name Description
80 STAT HUB_STAT_locked_ch0 1 bit per port. Between transfers: '1' when port is active, '0' when inactive. While a transfer is running: '1' when waiting for TRM, '0' when TRM has been received
81 STAT HUB_STAT_locked_ch1 see above
82 STAT HUB_STAT_locked_ch2 see above
83 STAT HUB_STAT_locked_ch3 see above
84 STAT HUB_STAT_active_points 1 bit per port - '1' when link is active, '0' when link is not operational
C0 CTRL HUB_CTRL_SWITCH_PORTS_CH0 Switch port logically off on channel 0
C1 CTRL HUB_CTRL_SWITCH_PORTS_CH1 see above
C2 CTRL HUB_CTRL_SWITCH_PORTS_CH2 see above
C3 CTRL HUB_CTRL_SWITCH_PORTS_CH3 see above
C4 CTRL HUB_CTRL_SWITCH_INTERFACE completely switch off port
 

META FILEATTACHMENT attr="" comment="TrbNetHub (red: multiplexer, orange: iobuf, blue: api, purple: hub_logic, gray: hub_base)" date="1196165360" name="trbnethub.png" path="trbnethub.png" size="29780" user="JanMichel" version="1.1"
Revision 4
28 Dec 2007 - Main.JanMichel
Line: 1 to 1
 
META TOPICPARENT name="TrbNetEntities"

General information

A hub is, like in any other network, a logical unit that merges the data coming in on different lines and sends it out on every other line.
Line: 16 to 16
  Every hub has its own network address and one slow control interface. This is used to retrieve information about the current status, to switch off unused interfaces or to solve an error condition.

Address Direction Name Description Usage
Changed:
<
<
1 STAT HUB_STAT_GEN Hub status overview tbd
>
>
0 STAT HUB_STAT_GEN Hub status overview tbd
1 STAT      
 
2 STAT HUB_STAT_CHANNEL Hub channel status (15..0) Channel 0
(31..16) Channel 1
3 STAT HUB_STAT_CHANNEL Hub channel status (15..0) Channel 2
(31..16) Channel 3
4 STAT      
5 STAT      
6 STAT      
7 STAT      
Changed:
<
<
8 CTRL HUB_CTRL_GEN Hub control tbd
9 CTRL HUB_CTRL_CHANNEL Hub channel status (15..0) Channel 0
(31..16) Channel 1
10 CTRL HUB_CTRL_CHANNEL Hub channel status (15..0) Channel 2
(31..16) Channel 3
11 CTRL      
>
>
8 CTRL HUB_ADDRESS Address of the hub control logic (15..0) is the address, (16) shows if set or not
9 CTRL HUB_CTRL_GEN Hub control tbd
10 CTRL HUB_CTRL_CHANNEL Hub channel status (15..0) Channel 0
(31..16) Channel 1
11 CTRL HUB_CTRL_CHANNEL Hub channel status (15..0) Channel 2
(31..16) Channel 3
 
12 CTRL HUB_CTRL_activepoints0 Hub point control switch interfaces on/off on channel 0
13 CTRL HUB_CTRL_activepoints1 Hub point control switch interfaces on/off on channel 1
14 CTRL HUB_CTRL_activepoints2 Hub point control switch interfaces on/off on channel 2
Revision 3
19 Dec 2007 - Main.JanMichel
Line: 1 to 1
 
META TOPICPARENT name="TrbNetEntities"

General information

A hub is, like in any other network, a logical unit that merges the data coming in on different lines and sends it out on every other line.
Line: 9 to 9
  Now we have to wait for the answers on all four channels. Lines 2 and 3 react immediatly with a TRM on the reply channel. These TRM are stored until all interfaces have send their answers. Lines 4 and 5 send back some data. First the data of line 4 is passed to line 1, who initiated the transfer. After the TRM of line 4 is received, the data of line 5 is read and sent to line 1. Now all interfaces have sent their TRM, so the merged TRM of all interfaces is sent to line 1. The transfer is finished and the hub goes back to idle mode.

Configuration

Changed:
<
<
Each hub can be configured by a large number of generics. The following table lists the hub specific generics only - for others see TrbNet16BitInfo#Endpoint_configuration.

Name Description
HUB_ADDRESS The address of the configuration endpoint of the hub
HUB_CTRL_CHANNELNUM Channel, the configuration endpoint is connected to
HUB_CTRL_DEPTH Fifo depth for configuration endpoint
MII_NUMBER Number of media independet interfaces
MII_INIT_DEPTH Fifo depth for all init_ibufs. Each line configures one media independent interface. The first value of each line corresponds to channel 0, the last one to the highest channel number
MII_REPLY_DEPTH Fifo depth for all reply_ibuf
API_NUMBER Number of application interfaces
API_CHANNELS Channel, each api is connected to
API_TYPE Type (active or passive) of the apis
API_FIFO_TO_INT_DEPTH Fifo depth for apl to api path
API_FIFO_TO_APL_DEPTH Fifo depth for api to apl path
TRG_NUMBER Number of trigger receiving interfaces
TRG_CHANNELS Channels the trigger receivers are connected to

Unused values inside the arrays are ignored.
>
>
Each hub can be configured by a large number of generics. The complete table can be found in TrbNetConfiguration.
 

Control registers

Revision 2
30 Nov 2007 - Main.JanMichel
Line: 1 to 1
 
META TOPICPARENT name="TrbNetEntities"

General information

A hub is, like in any other network, a logical unit that merges the data coming in on different lines and sends it out on every other line.
Line: 31 to 31
 

Control registers

Every hub has its own network address and one slow control interface. This is used to retrieve information about the current status, to switch off unused interfaces or to solve an error condition.
Deleted:
<
<
The register map is not defined yet.
 
Added:
>
>
Address Direction Name Description Usage
1 STAT HUB_STAT_GEN Hub status overview tbd
2 STAT HUB_STAT_CHANNEL Hub channel status (15..0) Channel 0
(31..16) Channel 1
3 STAT HUB_STAT_CHANNEL Hub channel status (15..0) Channel 2
(31..16) Channel 3
4 STAT      
5 STAT      
6 STAT      
7 STAT      
8 CTRL HUB_CTRL_GEN Hub control tbd
9 CTRL HUB_CTRL_CHANNEL Hub channel status (15..0) Channel 0
(31..16) Channel 1
10 CTRL HUB_CTRL_CHANNEL Hub channel status (15..0) Channel 2
(31..16) Channel 3
11 CTRL      
12 CTRL HUB_CTRL_activepoints0 Hub point control switch interfaces on/off on channel 0
13 CTRL HUB_CTRL_activepoints1 Hub point control switch interfaces on/off on channel 1
14 CTRL HUB_CTRL_activepoints2 Hub point control switch interfaces on/off on channel 2
15 CTRL HUB_CTRL_activepoints3 Hub point control switch interfaces on/off on channel 3
 
Changed:
<
<
-- JanMichel - 27 Nov 2007
>
>

-- JanMichel - 30 Nov 2007
 

META FILEATTACHMENT attr="" comment="TrbNetHub (red: multiplexer, orange: iobuf, blue: api, purple: hub_logic, gray: hub_base)" date="1196165360" name="trbnethub.png" path="trbnethub.png" size="29780" user="JanMichel" version="1.1"
 
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Hades Wiki? Send feedback
Imprint (in German)
Privacy Policy (in German)