1 # PartitionedSignal nmigen-aware Repl
3 * <https://bugs.libre-soc.org/show_bug.cgi?id=458>
5 Partitioned Repl is very similar to [[cat]] and
6 [[assign]]. The output completely changes depending
9 Take a PartitionedSignal and a repeat quantity of 2:
11 partition: p p p (3 bits)
12 a : A3 A2 A1 A0 (32 bits)
14 The output will be 64 bit in length. However
15 when the partitions are 32-bit, the output is:
17 partition: p p p (3 bits)
18 out : A3 A2 A1 A0 A3 A2 A1 A0 (64 bits)
20 When 2x16, the top half of A is replicated,
21 and likewise the lower:
23 partition: p p p (3 bits)
24 out : A3 A2 A3 A2 A1 A0 A1 A0 (64 bits)
26 Finally when 4x8, each byte is concatenated:
28 partition: p p p (3 bits)
29 out : A3 A3 A2 A2 A1 A1 A0 A0 (64 bits)