Address decode
You will learn
How many address bits a peripheral count costs, and what the bench of the bridge checks.
Addressing on APB is a question of bits: how many servants sit behind the bridge decides how many address bits the decode spends. The spec answers by count -- addr_bits_for_1_peripheral, addr_bits_for_4_peripherals, addr_bits_for_8_peripherals -- and its testbench drives the result: test_reset_state, test_apb_write, test_apb_read, test_write_read_roundtrip, test_multiple_apb_writes, eight tests. The recording lowers the APB bridge testbench spec to Verilog.