rename some variables and begin compiled sim c code
This commit is contained in:
@@ -38,14 +38,14 @@ function Port.isrising(port)
|
||||
if port.group == nil then
|
||||
return false
|
||||
end
|
||||
return port.group.state and (port.group.updatetick == GSim.currenttick)
|
||||
return port.group.state and (port.group.update_tick == GSim.current_tick)
|
||||
end
|
||||
|
||||
function Port.isfalling(port)
|
||||
if port.group == nil then
|
||||
return false
|
||||
end
|
||||
return port.group.state == false and (port.updatetick == GSim.currenttick)
|
||||
return port.group.state == false and (port.group.update_tick == GSim.current_tick)
|
||||
end
|
||||
|
||||
function Port.getgate(port)
|
||||
|
||||
Reference in New Issue
Block a user