Altera Corporation 3
AIRbus Interface Functional Specification
Development
13
Tools
Bus Signals
The clock (clk) is input to all blocks on the AIRbus
In multi-synchronous mode there are multiple clocks
The data bus is either 8, 16 or 32 bits wide. All lines are used on all
cycles. Byte and halfword writes are not possible in the 16- and 32-bit
AIRbuses.
The least significant bit of addr is:
–0ifrdata and wdata are 8 bits
–1iftheyare16bits.addr [0]isconsideredtobe0andisnot
connected
–2 if they are 32 bits. addr [1:0] are considered to be 0 and are not
connected
The most significant bit of addr depends on the number of bytes of
address space required. Thus, 8 registers on the 32-bit AIRbus require
32 bytes of address space. addr would then use bits 5:2.
Bus Protocol Four-Way Handshake
The bus cycles proceed as follows:
1. Master sets wdata (if the cycle is a write), read,andaddr
appropriately and asserts sel. The address decoder generates the
appropriate slave select.
2. Slave observes sel asserted and performs its internal read or write
operation.
3. Upon completing the read or write, the slave drives rdata if the
cycleisaread,andassertsitsdtack.
Table 1. Bus Signals
Signal
name
Description Width Direction
(master)
Direction
(slave)
clk Clock 1Input Input
sel Indicates cycle is in progress 1Output Input
addr byte to address of target application
specific
Output Input
read set high during read cycles, low
during write
1Output Input
wdata write data 32/16/8 Output Input
rdata data from read 32/16/8 Input Output
dtack data transfer acknowledge 1Input Output
irq interrupt request 1Input Output