mortbopet / Ripes

A graphical processor simulator and assembly editor for the RISC-V ISA

Home Page:https://ripes.me/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"Clock the circuit with the selected frequency" (F6) never stops

gamberoillecito opened this issue · comments

Ripes version: v2.2.5-10-g976190d
Bug description: running any program pressing the green arrow leaves the program in a state where it is always "re-run" from the beginning as soon as the .s file is edited. Furthermore most of the controls stop working.

After pressing the green arrow the only way I found to get the program back to normal is to restart it.

See the video below

Untitled.video.-.Made.with.Clipchamp.mp4

I'm observing the same problem! I was able to hit pause while the code was in a loop to get it out of this behavior, but for straight-through code this isn't possible.

@stevenbell the best solution I found so far is the following (sort of GTA cheat code, i.e. you need to press the buttons really fast):
"<" 🔄🔄⏸️⏸️🔄 or with the keyboard F4, F3, F3, F6, F6, F3
I was able to reset the processor even for a program with 4 instructions @ 30ms

I'm able to reproduce this for v2.2.6, but it doesn't seem to reproduce for the continuous release nor on WASM so it might have been fixed in the meantime. Would you mind trying out one of those to check if the issue is still there?

Indeed, it seems to be fixed in g027e678 !

@mortbopet it seems to be solved in 8780873