File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -164,6 +164,7 @@ function DebugUI() {
164164 simulation,
165165 simulationIndex,
166166 initialPC,
167+ placingNode,
167168 } = useSimulationContext ( )
168169
169170 /** Checks if PC Address is outside the scope of the known commands inside executionInfo.
@@ -271,6 +272,15 @@ function DebugUI() {
271272 </ ButtonGroup >
272273 </ TooltipProvider >
273274 </ ButtonGroup >
275+ < div className = "absolute top-10 text-muted-foreground text-nowrap pointer-events-none" >
276+ { placingNode
277+ ? "Click on a wire to place the node on."
278+ : simulationIndex != undefined
279+ ? simulationIndex > 0
280+ ? "Hover over a wire to see its value."
281+ : "Go to the next cycle to execute the next instruction."
282+ : "" }
283+ </ div >
274284 </ div >
275285 )
276286}
You can’t perform that action at this time.
0 commit comments