add net and wire struct; move net update into its file
This commit is contained in:
@@ -2,12 +2,6 @@
|
||||
local ffi = FFI or require("ffi")
|
||||
Simulation = Simulation or {}
|
||||
|
||||
ffi.cdef([[
|
||||
struct Net {
|
||||
|
||||
};
|
||||
]])
|
||||
|
||||
function Simulation.compile(sim)
|
||||
-- assemble a list of all nets
|
||||
local all_nets = {}
|
||||
|
||||
Reference in New Issue
Block a user