remove gate ffi struct

This commit is contained in:
Redo 2022-11-04 15:06:50 -06:00
parent a9ac30920e
commit b1c5eb1479

View File

@ -28,7 +28,7 @@ function Gate.setportstate(gate, index, state)
if state ~= gate.port_states[index] then
local group = gate.port_nets[index]
group.state_num = group.state_num - gate.port_states[index] + state
gate.ports_states[index] = state
gate.port_states[index] = state
if ((group.state_num>0) ~= (group.state==1)) and (group.in_queue==0) then
Simulation.queuegroup(GSim, group)