use get/set for parameters on ports and wires
This commit is contained in:
@@ -14,7 +14,7 @@ end
|
||||
|
||||
function Gate.addport(self, port)
|
||||
self.ports[#self.ports+1] = port
|
||||
port.gate = self
|
||||
Port.setgate(port, self)
|
||||
end
|
||||
|
||||
function Gate.getportstate(self, index)
|
||||
|
||||
Reference in New Issue
Block a user