Skip to main content

Compare TSI write/read modes

Short answer

Sequential write, random read uses the counter for writing and CM indexed by output slot for reading, so broadcast is possible. Random write, sequential read uses CM indexed by input slot for writing and the counter for reading, so broadcast is not possible. Both need the same memory size and are non-blocking for one frame.

In the case of a Time Slot Interchanger (TSI), compare the working mechanisms between Sequential Write and Random Read with Random Write and Sequential Read.

A TSI has a speech memory (SM) holding one PCM sample per time slot and a control memory (CM) set by the processor. The two modes differ in which access (write or read) the CM controls.

Sequential write, random read (output-associated control)

  • Input sample in slot ii is written into SM(ii), using the time-slot counter as address.
  • In output slot jj, CM(jj) gives the SM address to read; the sample of that input slot is sent out.
  • To connect input ii to output jj: set CM(jj) = ii.

Random write, sequential read (input-associated control)

  • In input slot ii, CM(ii) gives the SM address jj where the sample is written.
  • SM is read in order, so SM(jj) goes out in output slot jj.
  • To connect input ii to output jj: set CM(ii) = jj.
 SW-RR:  in --> SM[counter]      SM[CM[counter]] --> out
 RW-SR:  in --> SM[CM[counter]]  SM[counter]     --> out

Example: input TS4 to output TS10. SW-RR: sample stored in SM(4), CM(10) = 4. RW-SR: CM(4) = 10, sample stored in SM(10). Output is the same in both.

PointSequential write, random readRandom write, sequential read
Write addressFrom time-slot counterFrom control memory
Read addressFrom control memoryFrom time-slot counter
CM indexed byOutput slotInput slot
Control typeOutput-associatedInput-associated
Broadcast (one input to many outputs)PossibleNot possible
Common use in TSTInput time stageOutput time stage
DelayLess than one frameLess than one frame
Memory speed neededt≤125/2ct \le 125/2c µsSame

Both modes need the same memory size (c×8c \times 8 bits SM, c×log⁡2cc \times \log_2 c bits CM) and are non-blocking for one frame. They are often used together in a TST switch (SW-RR at the input stage, RW-SR at the output stage), because then the control memories of all three stages are addressed by the same internal slot number xx.

✓ Answer checked by Claude Opus 5.5 (high effort)

All Telecommunications chapter 4 questions →