350 likes | 373 Vues
Performance analysis. outline. IP introduction Compare between different kinds of interface Compare between direction and non-direction Compare between different memory hierarchy Using FIFO full-cycles to improve the system SPARK survey. AES. Reed Solomon encoder/decoder.
E N D
outline • IP introduction • Compare between different kinds of interface • Compare between direction and non-direction • Compare between different memory hierarchy • Using FIFO full-cycles to improve the system • SPARK survey
block diagram – input pipeline and output FIFO CPU Memory1 AVALON SWITCH FABRIC output master input pipeline master FIFO FIFO IP core
block diagram – input pipeline and output FIFO CPU Memory1 AVALON SWITCH FABRIC 1 input master FIFO IP core Memory2 FIFO output master AVALON SWITCH FABRIC 2
The compare between direct connection and non-direct connection
Direction connection between IPs CPU Memory1 AVALON SWITCH FABRIC AEScipher RSencoder AESinvcipher RSdecoder
AES-cipher and RS-encoder direct connection simple readmaster system
AES-cipher and RS-encoder direct connection pipeline readmaster system
AES-invcipher and RS-decoder direct connection simple readmaster system
AES-invcipher and RS-decoder direct connection pipeline readmaster system
IPs didn’t connect together CPU Memory1 AVALON SWITCH FABRIC AEScipher RSencoder RSdecoder AESinvcipher
out out input input FIFO FIFO FIFO FIFO IP core IP core Two IPs work concurrently CPU Memory1 AVALON SWITCH FABRIC
Two IPs work concurrently CPU Memory1 AVALON SWITCH FABRIC out input out input FIFO FIFO FIFO FIFO IP core IP core AVALON SWITCH FABRIC Memory2
AES-cipher and RS-encoder AVALON SWITCH FABRIC 22285 Bottleneck FIFO AEScipher FIFO RSencoder FIFO Pipelineinputmaster Outputmaster 22277 0 FIFO_stop : 3 DSIZE : 4128 Average cycles : 28177 over 1024 times
AES-cipher and RS-encoder- increase the data rate AVALON SWITCH FABRIC 0 FIFO AEScipher FIFO RSencoder FIFO Pipelineinputmaster Outputmaster RSencoder 0 0 FIFO_stop : 3 DSIZE : 4128 Average cycles : 19847 over 1024 times
AES-cipher and RS-encoder direct connection 2 RS-encoder simple readmaster
SPARK • I want to prove that the interface is suitable for HLS tool’s result. • SPARK has released their version v1.3. It contains more examples to illustrate how to use the tool. • There is an example min-sort illustrate the usage of array.
SPARK – minsort brief introduction • Input function int a[8]; // array must be declared as an arrayvoid sort(int n){ ...} • Output module portCLOCKRESETN – an 32bit data, in portA – an 8-element array of 32-bit data, inout portDONE
SPARK - signal • RESET is positive edge triggered. After reset the module, the IP start to work. • Once it finish the computation. It will raise the done signal. • The done signal is de-asserted by another reset.
SPARK – minsort reslut CLOCKRESET DONE A – inout arrayN
SPARK - problems • The problem is that the inout port array.