23 Commits

Author SHA1 Message Date
Redo
5aa11f9e43 make gates use net state pointers 2022-11-04 15:50:45 -06:00
Redo
9e0c196b63 make net states pointers 2022-11-04 15:39:08 -06:00
Redo
7823e413ee fix gate get port state 2022-11-04 15:11:59 -06:00
Redo
a9056df54d remove gate ffi struct 2022-11-04 15:04:49 -06:00
Redo
cdbf3ed089 make gates use cdata for critical logic 2022-11-04 13:10:10 -06:00
Redo0
bfa1190cfe mark logic critical sections in tables 2021-06-05 19:38:45 -05:00
Redo0
19d2e36fd6 more optimizations: move port states into gates, inline net queue checks 2021-06-05 18:41:50 -05:00
Redo0
5b8a1ea850 add various optimizations 2021-06-05 17:37:52 -05:00
Redo0
8bb4ff4421 make states numbers instead of booleans 2021-05-29 13:13:26 -05:00
Redo0
968613a3fc rename some variables and begin compiled sim c code 2021-05-25 21:23:51 -05:00
Redo0
09e65faec4 inline Port.setstate; remove unused network codes 2021-05-25 20:37:29 -05:00
Redo0
c62d7340b0 make nets keep list of updated gates instead of ports 2021-05-25 20:22:02 -05:00
Redo0
e92cc50186 stop setting metatables on objects 2021-05-25 17:28:54 -05:00
Redo0
d25893566e make sim global; make nonessential queues optional 2021-05-25 17:11:48 -05:00
Redo0
53e9423ab1 make groups only update update-causing ports 2021-05-25 16:08:58 -05:00
Redo0
d151ab688c add net and wire struct; move net update into its file 2021-05-25 15:13:03 -05:00
Redo0
8561940777 start adding c structs for gates and ports 2021-05-25 14:54:26 -05:00
Redo0
be2df1ef33 make sim use proper OOP 2021-05-25 14:18:13 -05:00
Redo0
569e79ab96 make simulation non-global 2021-05-23 15:36:40 -05:00
Redo0
6c997a36fa fix more oop and bugs 2021-05-22 18:45:04 -05:00
Redo
54f45520c0 use get/set for parameters on ports and wires 2021-02-03 09:32:05 -06:00
Redo
941348002b remove colon syntax from oop 2021-02-03 09:17:33 -06:00
Eagle517
b3176c4ccf Initial commit 2019-04-18 23:00:32 -06:00