No clock message for alf #276
-
Hi, I am creating my own alf file for Helios, and I noticed that I get a "#NO! clock" message where the cycle count should be: Is there a way I can fix this? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
Wondering if you can provide a little detail. Can you share part of the ALF? |
Beta Was this translation helpful? Give feedback.
-
I have attached my ALF and .cmd files. In my simulation I have connected two Sparta Units together (each on their own ResourceTreeNode), and those two Units are connected to the root node. I should definitely have a clock object since I see my simulation complete successfully and it also prints out stats for root clock cycles. |
Beta Was this translation helpful? Give feedback.
-
Ok, I see how this works. @TopChangwatchaiSiFive would understand this best, but your ROB name is different from what's hard-coded in the perl script: map/helios/pipeViewer/scripts/gen_alf/gen_alf Line 691 in 95d7126 Specifically, I think you need to change I'm not 100% sure why you need to use the ROB entry for the cycle count, but that seems to be the problem. Maybe Top would be able to answer that... |
Beta Was this translation helpful? Give feedback.
-
Thanks for looking into this. This was more of an annoyance more than anything - it wasn't affecting functionality since the bottom most cycle controls were still working. |
Beta Was this translation helpful? Give feedback.
Ok, I see how this works. @TopChangwatchaiSiFive would understand this best, but your ROB name is different from what's hard-coded in the perl script:
map/helios/pipeViewer/scripts/gen_alf/gen_alf
Line 691 in 95d7126
Specifically, I think you need to change
LOC.rob.ReorderBuffer.ReorderBuffer0
ingen_alf
toROBBuffer_age_ordered.ROBBuffer_age_ordered0
(or something to that effect).I'm not 100% sure why you need to use the ROB entry for the cycle count, but that seems to be the problem. Maybe Top would be able to answer that...