The packet bridge
You will learn
How the packet bridge moves work between buses, and what its buffers cost.
The packet bridge moves work between buses as packets: RX and TX buffers of 256 bytes each, an SPI buffer of 64, MAX_PACKET_SIZE 128, PACKET_TIMEOUT 10,000 cycles, and opcodes OP_MAC_MUL, OP_MAC_MAC and OP_MAC_MACC for the work it carries. bridge_buffer_count_wrap and bridge_buffer_count_wrap2 check the arithmetic at the seam. The recording lowers the bridge spec to synthesizable Verilog.