Mention the "first-fit bin packing" algorithm of RGBLINK

This commit is contained in:
Rangi42
2025-08-18 11:51:01 -04:00
parent a16dcc0ea5
commit 77a105e189

View File

@@ -178,8 +178,10 @@ When making a ROM, note that not using this is not a replacement for
option! option!
.El .El
.Ss Scrambling algorithm .Ss Scrambling algorithm
The default section placement algorithm tries to minimize the number of banks used; The default section placement algorithm tries to place sections into as few banks as possible.
.Dq scrambling (It uses a variation of the "first-fit bin packing" algorithm to do so, although nothing is guaranteed about where it will place any particular section beyond the bank, address, and alignment constraints manually specified for the section.)
.Pp
.Dq Scrambling
instead places sections into a given pool of banks, trying to minimize the number of sections sharing a given bank. instead places sections into a given pool of banks, trying to minimize the number of sections sharing a given bank.
This is useful to catch broken bank assumptions, such as expecting two different sections to land in the same bank (that is not guaranteed unless both are manually assigned the same bank number). This is useful to catch broken bank assumptions, such as expecting two different sections to land in the same bank (that is not guaranteed unless both are manually assigned the same bank number).
.Pp .Pp