Giter VIP home page Giter VIP logo

nexus-am's Issues

Verilator和VCS仿真结果不一致

amtest -> mp test 多核仿真结果不一致,修改__barrier代码实现后一致了,是为什么?

这是修改之前的仿真结果:
e3be1d919ae4907e08447d977439ee83

这是修改后的代码(上面的是原来的,后面的是我写的)以及仿真结果(vcs和verilator完全一致):

image

6593baa268b561ea6eff0d8ef999c95f

关于cacheoptest下的dcache/icache是不是有部分自定义寄存器没有使用

dcache_tag_case1:
1.调用clear_cop_csrs标签(将控制状态寄存器清零)
2.写任意数据(0x233)入cop_tag_data(0x5cd)
3.写特定数据入cop_level(0x5c7,1)、cop_way(0x5c8,0x1)、cop_index(0x5c9,0x1),写数据COP_WRITE_TAG(6)入cop_op(0x5c5)
4.调用wait_until_cop_finish_or_timeout(li t1, 0x0;li t0, 0x100)标签,等待寄存器cop_finish的值由0变1
5.调用clear_cop_csrs标签(将控制状态寄存器清零)
6.写与步骤3相同的特定数据入cop_level(1)、cop_way(0x1)、cop_index(0x1),写数据COP_READ_TAG(2)入cop_op
7.调用wait_until_cop_finish_or_timeout标签,等待寄存器cop_finish的值由0变1
8.读寄存器cop_tag_data,如果读值与步骤2所写的数据(0x233)不相等,就报错
您好:请问关于dcache/icache中0x5c5、0x5c7-0x5c9、0x5cd,这几个自定义读写寄存器你们emu是怎么设置的,我跑了你们的case,但是csrw对这几个寄存器写0x0失败;

make workload problems

我在使用 AM 的环境生成 coremark workload的过程中发现应该使用make ARCH=riscv64-xs ,不是文档中说明的make ISA=riscv64-xs

make ISA=riscv64-xs
make ARCH=riscv64-xs -j8

image
image

注:目前仅在coremark发现这个问题,其他加不加**-j**均不影响

NEMU运行coremark,想打checkpoint做分析

我使用apps/coremark的代码,编译命令是make ARCH=riscv64-xs,编译出来以后做了bbl,使用NEMU运行失败
image

怀疑是负载编译有问题,能帮助解决一下么,感谢!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.