- Asked 2/29
- 2081 Baisakh · 8 marks
TSI in random read, sequential write mode
Short answer
In sequential-write random-read mode, incoming samples are written into speech memory sequentially by a time-slot counter. A control memory stores the input slot address for each output slot; during readout, the control memory value addresses the speech memory, swapping the sample to the desired output slot, with a delay up to one frame (125 µs).
Describe the working principle of TSI or Time switch in random read, sequential write mode.
A time switch or Time Slot Interchanger (TSI) moves the speech sample (PCM byte) in one time slot of an incoming TDM frame into a different time slot of the outgoing frame. In sequential write, random read mode (also called output-associated control), samples are written into memory in order and read out in the order set by a control memory.
Main parts
- Speech (data) memory, SM: locations, one per time slot, each 8 bits wide (one PCM sample). For a 32-channel PCM frame, .
- Control (connection) memory, CM: locations, each holding an SM address ( bits, 5 bits for 32 slots).
- Time-slot counter: a modulo- counter driven by the channel clock. It gives the current slot number .
- Write/read control logic and the processor interface that loads the CM when a call is set up.
Input TDM Output TDM
frame frame
----->+---------------------+--------->
| Speech memory |
| (c x 8 bits) |
+---------------------+
write addr ^ ^ read addr
(sequential) | | (random)
+-------------+ +------------+
| Time-slot |->| Control |
| counter | | memory |
+-------------+ +------------+
^
processor (call set-up)
Working principle
- Write phase (sequential): in time slot of the incoming frame, the sample is written into SM location . The write address comes straight from the time-slot counter, so SM fills in order 0, 1, 2, ... every frame.
- Read phase (random): in output time slot , the counter addresses CM location . CM() contains the SM address of the input slot that must go out in slot . That SM location is read and placed in output slot .
- When a call is set up, the processor writes the input slot number into the CM location of the wanted output slot. When the call is released, the entry is cleared.
- Each slot needs one write and one read, so in every slot time the memory is accessed twice.
Example
Connect input TS3 to output TS7 (32-slot frame):
- In TS3 the sample is written into SM(3).
- The processor has stored CM(7) = 3.
- In TS7 the logic reads CM(7) = 3, then reads SM(3) and sends it in output slot 7.
- The sample is delayed by slots. If the output slot comes before the input slot, the sample goes out in the next frame (delay up to one frame, 125 µs).
Timing limit
Frame time is 125 µs, so slot time is µs. Since there are two accesses per slot, the memory cycle time must satisfy
For : µs. Faster memory allows more channels per TSI.
Features
- Strictly non-blocking: any input slot can go to any free output slot.
- Gives a fixed delay of less than one frame per stage.
- Size is limited by memory speed, so large exchanges combine T stages with S stages (TST).
- Broadcasting is easy: several CM locations can hold the same SM address, so one input can feed several outputs.
✓ Answer checked by Claude Opus 5.5 (high effort)
Related questions
- TSI in sequential read, random write mode · Telecommunications, chapter 4 · asked 2×
- Compare TSI write/read modes · Telecommunications, chapter 4