看到了有文章提到软核Risc-V在FPGA上的DMIPS数据, 0.464 DMIPS/MHz。
使用手上现有的MicroBlaze工程,顺手测试了MicroBlaze的DMIPS数据。
使用的单板是AC701, 芯片是7A200T。MicroBlaze配置128KB Local Memory, 8KB I-Cache 和 D-Cache。
Dhrystones程序在Local Memory运行时,数据如下:
Dhrystone Benchmark, Version 2.1 (Language: C)
Number_Of_Runs set to 160000
Microseconds for one run through Dhrystone: 4.4000
Dhrystones per Second: 214748.3647
DMIPS/Sec: 129.3527
DMIPS/MHz: 1.2935
Dhrystones程序在DDR 运行时,数据如下:
Dhrystone Benchmark, Version 2.1 (Language: C)
Number_Of_Runs set to 160000
Microseconds for one run through Dhrystone: 4.5200
Dhrystones per Second: 214748.3647
DMIPS/Sec: 125.9184
DMIPS/MHz: 1.2592
可以看到,MicroBlaze DMIPS性能,都远好于软核Risc-V在FPGA上的性能。
标签:DMIPS,Dhrystone,MHz,MicroBlaze,数据,Dhrystones From: https://www.cnblogs.com/hankfu/p/17392790.html