Coder Social home page Coder Social logo

Comments (8)

ljwljwljwljw avatar ljwljwljwljw commented on August 21, 2024

我尽快加入这些功能

from xiangshan.

ljwljwljwljw avatar ljwljwljwljw commented on August 21, 2024

#43 该PR中加入了指定log时间范围的功能, 通过在emu中加入-b和-e选项控制log的开始和结束时间。

from xiangshan.

ljwljwljwljw avatar ljwljwljwljw commented on August 21, 2024

针对特定模块进行log控制的功能尚未实现

from xiangshan.

ljwljwljwljw avatar ljwljwljwljw commented on August 21, 2024

#44 该PR中加入了在emu中指定log level的功能,只通过emu的-v参数就可以修改log level,不需要重新编译chisel到verilog

from xiangshan.

AugustusWillisWang avatar AugustusWillisWang commented on August 21, 2024

需要添加在处理器状态错误时, 无视当前处理器设置输出所有调试信息的代码.

在后期运行复杂的测试/操作系统时, 需要仿真很久才能触发bug. 这些测试的指令量很大, 一直生成log会由于IO瓶颈导致仿真缓慢. 而关闭log运行的话, 在测试发现问题时无法输出处理器的内部信息.

from xiangshan.

biquanha avatar biquanha commented on August 21, 2024

[translate]:(1) You need to support log printing within a specific time range. In
terms of implementation, you only need to add conditions to cond in XSlog

(2) It needs to support the printing of specific module logs, select some modules in the only place in the code for printing, and be able to switch the printing of each module.
In terms of specific implementation, it can be done through the selection of modules.

from xiangshan.

biquanha avatar biquanha commented on August 21, 2024

[translate]:#43 This PR adds the ability to specify the log time range, and controls the start and end times of the log by adding -b and -e options to the emu.

from xiangshan.

biquanha avatar biquanha commented on August 21, 2024

[translate]:You need to add code that ignores the current processor settings and outputs all debug information when the processor state is wrong.

When running complex tests/operating systems at a later stage, it takes a long time to emit bugs. These tests have a large number of instructions, and the constant generation of logs will cause the simulation to be slow due to IO bottlenecks. If you turn off the log, you will not be able to output the internal information of the processor when the test finds a problem.

from xiangshan.

Related Issues (20)

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.