Paul Pan
7b33e4213a
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
36 lines
1.2 KiB
Plaintext
36 lines
1.2 KiB
Plaintext
本目录是大赛提供的功能测试程序的目录,包括编译所需的源代码和目标文件。
|
||
|
||
本目录需要在Linux环境下,运行终端,进入本目录,执行Makefile脚本进行编译。
|
||
|
||
|
||
1. 目录的结构如下:
|
||
|
||
+--./ : 功能测试编译目录
|
||
|
|
||
|--inst/ : 89个功能点源码
|
||
|
|
||
|--include/ : 编译所需的头文件目录
|
||
|
|
||
|--obj/ : 编译生成的目标文件目录
|
||
|
|
||
|--bin.lds.S : 链接脚本生成文件
|
||
|
|
||
|--convert.c : RAM初始化文件的转换代码
|
||
|
|
||
|--start.S : 测试程序的启动代码
|
||
|
|
||
|--Makefile : 编译脚本
|
||
|
|
||
|--rules.make : 编译规则,供Makefile调用
|
||
|
|
||
|--Readme_first.txt : 本文档
|
||
|
||
|
||
2. 编译方法
|
||
|
||
(1) 编译前,请保证已经配置好交叉编译环境。
|
||
|
||
(2) 在当前目录下打开终端,执行make,即可在obj目录下生成测试所需的所有文件。
|
||
|
||
(3) 想清除所有编译文件请执行make clean或者make reset。
|