make net tqueue use c structs
This commit is contained in:
@@ -58,8 +58,9 @@ function Gate.setportstate(gate, index, state)
|
||||
gate.port_states[index] = state
|
||||
|
||||
if ((gate.port_net_state_num[index][0]>0) ~= (gate.port_net_state[index][0]==1)) and (gate.port_net_in_queue[index][0]==0) then
|
||||
local group = gate.port_nets[index]
|
||||
Simulation.queuegroup(GSim, group)
|
||||
local net = gate.port_nets[index]
|
||||
local cnet = net.c
|
||||
Simulation.queuegroup_c(GSim, cnet)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user