Comments (8)
我尽快加入这些功能
from xiangshan.
#43 该PR中加入了指定log时间范围的功能, 通过在emu中加入-b和-e选项控制log的开始和结束时间。
from xiangshan.
针对特定模块进行log控制的功能尚未实现
from xiangshan.
#44 该PR中加入了在emu中指定log level的功能,只通过emu的-v参数就可以修改log level,不需要重新编译chisel到verilog
from xiangshan.
需要添加在处理器状态错误时, 无视当前处理器设置输出所有调试信息的代码.
在后期运行复杂的测试/操作系统时, 需要仿真很久才能触发bug. 这些测试的指令量很大, 一直生成log会由于IO瓶颈导致仿真缓慢. 而关闭log运行的话, 在测试发现问题时无法输出处理器的内部信息.
from xiangshan.
[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.
[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.
[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)
- How can I conveniently add Xiangshan as a submodule?(怎么方便的将xiangshan作为子模块)
- Got an error when compiling xiangshan emu HOT 3
- Fails to Raise Illegal Instruction Exception for Undefined CSR Registers in S-Mode HOT 2
- question for sta/std in diaptchR2s HOT 1
- Confusion about the result of `csrr` when pmpaddr is not set. HOT 3
- question about the allowEnqueue signal for DispatchQueue.scala HOT 1
- S
- Is there a restriction for core number in nanhu? HOT 2
- Can core0 and core1 be configured asynchronously? HOT 4
- DCacheTest failed HOT 2
- outstanding Capability of nanhu v2 uncache access HOT 2
- a question about fdip HOT 2
- Ensuring RVWMO Compliance for XS: Missing aq/rl Annotation Implementations? HOT 4
- suffix missing in python code HOT 5
- Incorrect Rounding Mode Handling for Specific Cases HOT 2
- Correct NEMU version for nanhu branch of XiangShan HOT 4
- Assertion failed when running EMU on nanhu-G branch HOT 8
- make emu error - Exception in thread "main" java.util.NoSuchElementException: NOOP_HOME HOT 1
- the logic of tlbBundle privilege in dmode HOT 3
- How to use profile function of verilator in XiangShan environment HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xiangshan.