So I have been wondering why bit flags don't properly get shown in gtkview if multiple bits are set. Hence I thought that is the perfect usecase for the playground: https://amaranth-lang.org/play/#eyJhdiI6InYwLjUuMSIsInMiOiJpbXBvcnQgYW1hcmFudGgubGliLmVudW1cbmZyb20gYW1hcmFudGggaW1wb3J0IFNpZ25hbCwgTW9kdWxlXG5mcm9tIGFtYXJhbnRoLnNpbSBpbXBvcnQgU2ltdWxhdG9yXG5mcm9tIGFtYXJhbnRoLmJhY2sgaW1wb3J0IHJ0bGlsLCB2ZXJpbG9nXG5pbXBvcnQgYW1hcmFudGhfcGxheWdyb3VuZFxuXG5jbGFzcyBGbGFncyhhbWFyYW50aC5saWIuZW51bS5JbnRGbGFnKTpcbiAgICBaRVJPID0gMSA8PCAwXG4gICAgT05FID0gMSA8PCAxXG4gICAgVFdPID0gMSA8PCAyXG4gICAgVEhSRUUgPSAxIDw8IDNcblxuXG5jb3VudCA9IFNpZ25hbChyYW5nZShsZW4oRmxhZ3MpKzEpKVxuZmxhZ19yZWcgPSBTaWduYWwoRmxhZ3MpXG5tID0gTW9kdWxlKClcbndpdGggbS5JZihjb3VudCA8IGxlbihGbGFncykpOlxuICAgIG0uZC5zeW5jICs9IGZsYWdfcmVnLmVxKGZsYWdfcmVnIDw8IDEgfCAxKVxuICAgIG0uZC5zeW5jICs9IGNvdW50LmVxKGNvdW50ICsgMSlcblxuXG5hc3luYyBkZWYgdGVzdGJlbmNoKGN0eCk6XG4gICAgZm9yIF8gaW4gcmFuZ2UoMTApOlxuICAgICAgICBhd2FpdCBjdHgudGljaygpXG4gICAgICAgIHByaW50KGZcImNvdW50OiB7Y3R4LmdldChjb3VudCl9XCIpXG5cbnNpbSA9IFNpbXVsYXRvcihtKVxuc2ltLmFkZF9jbG9jaygxZS02KVxuc2ltLmFkZF90ZXN0YmVuY2godGVzdGJlbmNoKVxud2l0aCBhbWFyYW50aF9wbGF5Z3JvdW5kLnNob3dfd2F2ZWZvcm1zKHNpbSk6XG4gICAgc2ltLnJ1big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