Wire Color implementation #272
Replies: 3 comments 2 replies
-
You can change whatever you want! My suggestion would be to feel free to dig in and change things to try out different ways of conditionally coloring the different wires based on your existing changes, and the wire-change-logic already present in VSRTL. Once prototyped, we can then consider how this kind of functionality can be upstreamed. |
Beta Was this translation helpful? Give feedback.
-
Thank you for your reply Yes I change a lot of things on VSRTL. Now it is working fine but I want to color some part of the wire like the pictures below Do you know if is it possible with VSRTL implementation to do this thing? |
Beta Was this translation helpful? Give feedback.
-
Hello again Morten |
Beta Was this translation helpful? Give feedback.
-
Hello,
I am trying to implement MIPS simulation on Ripes. The simulation is almost finished but now I need to change the way that the vsrtl colors the wires. What I need to do is to color the active path and I want the color to stay active (like the signal wires).
Now some of the lines on the active path are colored with the correct color.
The issue now is that the lines that are on the active path, which the values are not changed, are not colored.
You told me that the pen color will be updated whenever the underlying port changes value:
(https://github.com/mortbopet/VSRTL/blob/8fd0bce6f5fcf27b89b33cf995b0428b8436ccdf/graphics/vsrtl_portgraphic.cpp#L295-L299)
Can we change this and send every line to the method updatePenColor()?
For example, the line(on the attached picture) "Instruction 20-16" is on the active path but because the value of this line did not change from the previous cycle, is not colored
Thank you in advance
Beta Was this translation helpful? Give feedback.
All reactions