[dev]add singlestepping functions (no UI)

This commit is contained in:
BigEd 2010-10-06 20:59:43 +00:00
parent 971bbd03e3
commit a83cb1533e

View File

@ -64,6 +64,21 @@ function go(){
}
}
function goUntilSync(){
halfStep();
while(!isNodeHigh(nodenames['sync']) || isNodeHigh(nodenames['clk0']))
halfStep();
}
function goUntilSyncOrWrite(){
halfStep();
while(
!isNodeHigh(nodenames['clk0']) ||
( !isNodeHigh(nodenames['sync']) && isNodeHigh(nodenames['rw']) )
)
halfStep();
}
function testNMI(n){
initChip();