add net and wire struct; move net update into its file
This commit is contained in:
@@ -1,6 +1,15 @@
|
||||
|
||||
Wire = {}
|
||||
|
||||
FFI.cdef[[
|
||||
struct Wire {
|
||||
int objref;
|
||||
int layer;
|
||||
struct Net* group;
|
||||
int bounds[6];
|
||||
};
|
||||
]]
|
||||
|
||||
function Wire.new(self, objref, layer, bounds, sim)
|
||||
local o = {
|
||||
objref = objref,
|
||||
|
||||
Reference in New Issue
Block a user