-
Notifications
You must be signed in to change notification settings - Fork 416
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CV32E40P_TRACE_EXECUTION #1028
Comments
Hi, You can have a look in cv32e40p git repo in bhv/cv32e40p_tb_wrapper.sv how it is connected. Anyway not sure this behavioural tracer can be added if you want to generate/use a verilator model... |
Based on what I see in the cv32e40p_tb_wrapper.sv, I see some conditional 'ifdef s in which I think if we just insert 'define CV32E40P_TRACER_EXECUTION it should instantiate if I am not wrong. (I am not a sverilog expert!) However, then I should simulate the cv32e40p_tb_wrapper.sv, shouldn't I? |
There are 2 different cv32e40p_tb_wrapper.sv files:
|
And the define is CV32E40P_TRACE_EXECUTION, not CV32E40P_TRACER_EXECUTION. |
The CV32E40P_TRACE_EXECUTION is correct. You are right; it was a typo when I wrote it here. |
Ok I see. In the process of going to CV32E40Pv2 (from tag v1.0.0 to v1.8.3), it seems this tb has been partly updated but not finalized as some cv32e40p_top parameters names are not correct. |
Ok great, I started modifying the top_tb.sv in "./example_tb/core/top_tb.sv". |
No. It maybe needs some kind of hierarchical level parametrization to allow it to work on both core-v-verif UVM and simple core test-bench. |
-I have been trying to enable the core tracer log file to check the instruction execution time, PC, instruction itself, and so on. According to the documentation, I should define CV32E40P_TRACER_EXECUTION in the simulation, and for this reason, I added "'define CV32E40P_TRACER_EXECUTION" at the beginning of the tb_top.sv.
However, I am still not getting the trace_core_.log file.
Can anyone help me with how I can enable the tracer?
The text was updated successfully, but these errors were encountered: