MIPS/resources/soft/perf_func/Readme_first.txt
Paul Pan 7b33e4213a a big update
1. add test soft
2. modify verilator (TODO: crossbar need to replace)
3. fix CP0: now CU0 is always 1
4. Controller: cacheop
5. Controller: fix TEN
6. mycpu_top fix CP0_i
7. fix AXI.sv
8. fix AXIReader.sv
9. fix AXIWriter.sv: getting the correct data and length
10. MU: fix cache writeback, fix mem data mux, fix writer address, fix read request
2022-07-29 18:25:58 +08:00

39 lines
1.6 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

本目录是大赛提供的性能测试程序的目录,包括编译所需的源代码和目标文件。
1. 目录的结构如下:
+--./ : 性能测试目录
|
|--bench/ : 测试程序的源代码目录
|
|--include/ : 编译所需的头文件目录
|
|--lib/ : 编译所需的库文件目录
|
|--obj/ : 编译生成的目标文件目录
|
|--bin.lds.S : 链接脚本生成文件
|
|--convert.c : RAM初始化文件的转换代码
|
|--start.S : 测试程序的启动代码
|
|--Makefile : 编译脚本
|
|--Readme_First.txt : 本文件
2. 编译方法
(1) 编译前,请保证已经配置好交叉编译环境。
(2) 在当前目录下执行make即可在obj目录下生成测试所需的所有文件。如果只想编译某一个测试程序请执行make [程序名]例如make bitcount。想清除所有编译文件请执行make clean。
(3) 关于obj目录。
a. obj下的子目录以测试程序的名字命名的为独立编译的结果。
b. obj下的子目录以allbench名字命名的为10个测试程序联合编译的结果。
c. 子目录下main.elf, inst_data.bin包含代码段和数据段是中间文件。test.s是程序的反汇编文件。axi_ram.coe和axi_ram.mif是RAM的初始化配置文件。