fix gate get port state
This commit is contained in:
parent
b1c5eb1479
commit
7823e413ee
@ -20,7 +20,7 @@ end
|
||||
|
||||
-- Logic Critical
|
||||
function Gate.getportstate(gate, index)
|
||||
return gate.port_states[index]
|
||||
return gate.port_nets[index].state
|
||||
end
|
||||
|
||||
-- Logic Critical
|
||||
|
@ -49,7 +49,6 @@ end
|
||||
|
||||
function Port.setgroup(port, group)
|
||||
port.group = group
|
||||
--Port.getgate(port)[port.idx*2] = group
|
||||
Port.getgate(port).port_nets[port.idx] = group
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user