Visible to Intel only — GUID: kni1634154174199
Ixiasoft
The MCDMA BAS programming sequence consists of the following steps defined in the following sections:
Using Traffic Generator (Write in Host Memory)
The following is the programming sequence:
Note: All addresses in the programming sequence needs to shift by a particular offset:
- In case of x8, it needs to shift by 5 bits.
- In case of x16, it needs to shift by 6 bits.
- Allocate DMA-able memory in the host system.
- Program the base address with the write_map_table with the physical address of the table.
- Set the write address register with the offset in the block where the Traffic generator needs to write the data.
- Set how many number of bursts BAS should write in the host memory in the WRITE_COUNT register.
- Set enable bit to start traffic generation.
Using Traffic Checker (Reads from Host Memory)
The following belongs to Traffic checker:
Note: All addresses in the programming sequence needs to shift by a particular offset:
- In case of x8, it needs to shift by 5 bits.
- In case of x16, it needs to shift by 6 bits.
- Allocate DMA-able memory in the host system.
- Program the base address with the read_map_table with the physical address of the host memory.
- Set the read address register with the offset in the block where the Traffic generator needs to read the data.
- Set how many number of bursts BAS should read in the host memory in the READ_COUNT register.
- Set enable bit to start traffic generation.