Skip to content

Commit 8096aed

Browse files
committed
Minor
1 parent 53a8f3a commit 8096aed

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

resource/init.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ function state() { img.state(); }
2626
function annot(fileName) { img.annot(fileName); }
2727

2828
// Callback for keys that are not handled by the image view
29-
// You can show the values of (code,ctrl) if you hold down the Alt key while pressing your key combination
29+
// You can show the values of (code,ctrl) if you hold down the Alt key while pressing a key combination in question
3030
function key(code, ctrl)
3131
{
3232
// Few useful image layer presets
@@ -95,6 +95,7 @@ function help()
9595
print("mon.writeMem(addr,value) - Writes a byte to the simulated memory");
9696
print("mon.readIO(addr) - Reads a byte from the simulated IO space");
9797
print("mon.writeIO(addr,value) - Writes a byte to the simulated IO space");
98+
print("mon.getHCycle() - Returns the current half-cycle simulation value");
9899
print("mon.stopAt(hcycle) - Stops the simulation at a given half-cycle number");
99100
print("mon.breakWhen(net,value) - Stops the simulation when a given net number becomes 0 or 1");
100101
print("mon.set(\"name\",value) - Sets an output pin (\"int\",...) to a value");

0 commit comments

Comments
 (0)