Commit Graph

  • 68562d4d66 add math gates, fix 32-bit shifters master Redo 2025-02-19 10:15:56 -07:00
  • a571ac5f3c add dump to gitignore Redo 2022-11-19 15:48:06 -06:00
  • 10462e5a6e add ram bricks Redo 2022-11-15 13:52:24 -06:00
  • 5ae87d926c add basic gates c func Redo 2022-11-15 11:46:09 -06:00
  • ef99073b23 fix adder cout Redo 2022-11-15 11:37:37 -06:00
  • 10b25b3da8 debug prints Redo 2022-11-15 11:33:25 -06:00
  • 063f6c0d02 add adders to c func Redo 2022-11-14 14:32:32 -06:00
  • c9a42b15e2 debug verification in gatedef transmit Redo 2022-11-14 14:32:17 -06:00
  • 293ed331bd add adders to c func Redo 2022-11-14 14:30:12 -06:00
  • 5ddbb464d5 fix getword/setword Redo 2022-11-14 13:48:18 -06:00
  • 7b168dd25b fix 1x rom names Redo 2022-11-14 13:45:35 -06:00
  • ff20fdb2d6 add mux, demux, rom Redo 2022-11-14 13:43:24 -06:00
  • 8ccf6db9b8 fix ref to c data info Redo 2022-11-14 12:49:07 -06:00
  • d3ecd34b26 add bus bricks to c logic Redo 2022-11-14 12:48:05 -06:00
  • 1787444b72 fix bug and remove prints Redo 2022-11-14 11:54:54 -06:00
  • 042503d87d debug Redo 2022-11-14 11:52:12 -06:00
  • 4bd4283929 add debug prints to c logic Redo 2022-11-14 11:48:39 -06:00
  • a2df8dbf96 add debug prints to c logic Redo 2022-11-14 11:45:03 -06:00
  • 8c16498ec6 fix Redo 2022-11-13 22:51:12 -06:00
  • f5b9e12076 fix Redo 2022-11-13 22:49:31 -06:00
  • 4465621b44 fix require in includes Redo 2022-11-13 22:45:56 -06:00
  • bcebfed077 remove c logic and data from network, more work on compiled gate funcs Redo 2022-11-13 22:43:36 -06:00
  • 1eba4bb2fa replace dllexport with linux-compatibleE Redo 2022-11-09 13:25:20 -06:00
  • 2389252698 use const where appropriate Redo 2022-11-09 13:22:06 -06:00
  • 75299209b8 add c func and data Redo 2022-11-05 13:01:07 -06:00
  • f347d1f17d fix ffi absent in gatedef Redo 2022-11-05 12:35:40 -06:00
  • 4d874d4f7f add native linux compile sh Redo 2022-11-05 12:34:30 -06:00
  • a6cc4bbea8 add os detection for lib loading Redo 2022-11-05 12:27:47 -06:00
  • 7829193f1f add linux compiled sim Redo 2022-11-05 12:25:53 -06:00
  • f18b3fae5f use global socket Redo 2022-11-05 12:22:57 -06:00
  • bbb6afd684 use path for sim dll Redo 2022-11-05 12:20:38 -06:00
  • e294641558 add libcompiled_sim Redo 2022-11-05 02:16:20 -06:00
  • ec5714bfc4 make socket and ffi nonlocal Redo 2022-11-05 02:12:45 -06:00
  • 02bfb84cb5 add c gate sim Redo 2022-11-05 02:11:48 -06:00
  • 1d465b09f7 compile sim with ofast Redo 2022-11-05 00:41:38 -06:00
  • c73fea8cca make net updates c Redo 2022-11-04 23:23:44 -06:00
  • 17edf2a782 make current tick c Redo 2022-11-04 23:07:43 -06:00
  • cbfc8fd42e fix queue types Redo 2022-11-04 22:58:26 -06:00
  • 2cf3040aa2 make queues c arrays Redo 2022-11-04 22:57:28 -06:00
  • e35d0aa5f5 fix queue 0 index Redo 2022-11-04 19:04:30 -06:00
  • a83f4f8f8e make queues 0 indexed Redo 2022-11-04 19:03:19 -06:00
  • 2376154957 make gate update use net c structT Redo 2022-11-04 18:51:18 -06:00
  • 4b69ea3055 make net tqueue use c structs Redo 2022-11-04 18:48:13 -06:00
  • 4f2b9f4e6d make gate queue use c structs Redo 2022-11-04 18:43:50 -06:00
  • 5e0d779600 fix cgate ref Redo 2022-11-04 18:36:11 -06:00
  • e8208b2f34 use c structs around queues Redo 2022-11-04 18:35:15 -06:00
  • 9744345219 fix sim ref in net update Redo 2022-11-04 18:07:17 -06:00
  • 7d0dcc53a2 make net update use c structT Redo 2022-11-04 18:06:36 -06:00
  • bb66be2083 remove group fx queue 2 Redo 2022-11-04 18:03:54 -06:00
  • ddccf0171f remove fx queue Redo 2022-11-04 18:00:40 -06:00
  • 0f35ee4d36 fix net c struct ref Redo 2022-11-04 17:40:14 -06:00
  • 0cb1ef5540 undo c struct queues Redo 2022-11-04 17:22:51 -06:00
  • 898726af35 fix off by one segfault Redo 2022-11-04 17:13:27 -06:00
  • eb05504252 add num gates to net struct Redo 2022-11-04 17:08:05 -06:00
  • 85aabd8dcf make sim queues use c objs Redo 2022-11-04 17:06:57 -06:00
  • 658bcc6ad8 add gate/net pointer lists Redo 2022-11-04 16:29:11 -06:00
  • 5aa11f9e43 make gates use net state pointers Redo 2022-11-04 15:50:45 -06:00
  • caa9ed5de3 make net states pointers - fix Redo 2022-11-04 15:40:32 -06:00
  • 9e0c196b63 make net states pointers Redo 2022-11-04 15:39:08 -06:00
  • 20b05812df fix typo Redo 2022-11-04 15:33:06 -06:00
  • f1b909279c make in_queue int tptre Redo 2022-11-04 15:32:30 -06:00
  • 7823e413ee fix gate get port state Redo 2022-11-04 15:11:59 -06:00
  • b1c5eb1479 remove gate ffi struct Redo 2022-11-04 15:06:50 -06:00
  • a9ac30920e fix typo Redo 2022-11-04 15:06:01 -06:00
  • a9056df54d remove gate ffi struct Redo 2022-11-04 15:04:49 -06:00
  • 5438de0adf fix gate struct sizing Redo 2022-11-04 13:21:41 -06:00
  • 7e19e20caf remove unused call from gate init Redo 2022-11-04 13:16:30 -06:00
  • d95447b55d remove code field from gatedef Redo 2022-11-04 13:15:55 -06:00
  • 7b0dcb8fd7 remove code field from gatedef Redo 2022-11-04 13:15:24 -06:00
  • 0ac3f3e495 fix errors Redo 2022-11-04 13:14:05 -06:00
  • cdbf3ed089 make gates use cdata for critical logic Redo 2022-11-04 13:10:10 -06:00
  • 07b3decc45 remove debug luaijt arg Redo 2022-10-05 15:44:23 -06:00
  • bcc39d9f20 make input queue stack again Redo0 2021-07-24 15:35:00 -05:00
  • 7109dd70a2 add rainbow wires Redo0 2021-06-07 15:38:25 -05:00
  • bfa1190cfe mark logic critical sections in tables Redo0 2021-06-05 19:38:45 -05:00
  • 00dc81948d fix bugs with queue inlining; inline gate queue as well Redo0 2021-06-05 19:12:21 -05:00
  • d3d03ce9a7 stop clearing queue arrays Redo0 2021-06-05 19:02:28 -05:00
  • 19d2e36fd6 more optimizations: move port states into gates, inline net queue checks Redo0 2021-06-05 18:41:50 -05:00
  • 14c61e35d1 move network functionality to new file Redo0 2021-06-05 17:49:58 -05:00
  • 5b8a1ea850 add various optimizations Redo0 2021-06-05 17:37:52 -05:00
  • bdcf2b384a remove some error prints Redo0 2021-06-05 17:05:22 -05:00
  • 7157957d71 separate logic and init/input ticks; make inputs stack Redo0 2021-05-29 20:21:30 -05:00
  • 8bb4ff4421 make states numbers instead of booleans Redo0 2021-05-29 13:13:26 -05:00
  • ebc9a7f108 fix port info messages Redo0 2021-05-28 22:15:57 -05:00
  • 968613a3fc rename some variables and begin compiled sim c code Redo0 2021-05-25 21:23:51 -05:00
  • 09e65faec4 inline Port.setstate; remove unused network codes Redo0 2021-05-25 20:37:29 -05:00
  • c62d7340b0 make nets keep list of updated gates instead of ports Redo0 2021-05-25 20:22:02 -05:00
  • e92cc50186 stop setting metatables on objects Redo0 2021-05-25 17:28:54 -05:00
  • 4cf2231a01 stop using self in class functions Redo0 2021-05-25 17:25:34 -05:00
  • 730ca3fd64 make net in port lists arrays Redo0 2021-05-25 17:18:57 -05:00
  • d25893566e make sim global; make nonessential queues optional Redo0 2021-05-25 17:11:48 -05:00
  • 53e9423ab1 make groups only update update-causing ports Redo0 2021-05-25 16:08:58 -05:00
  • 8fe789eade make net info show ports on Redo0 2021-05-25 15:17:03 -05:00
  • d151ab688c add net and wire struct; move net update into its file Redo0 2021-05-25 15:13:03 -05:00
  • 8561940777 start adding c structs for gates and ports Redo0 2021-05-25 14:54:26 -05:00
  • be2df1ef33 make sim use proper OOP Redo0 2021-05-25 14:18:13 -05:00
  • 0963ef8ca8 make sim local; start circuit compiler Redo0 2021-05-25 05:26:06 -05:00
  • 569e79ab96 make simulation non-global Redo0 2021-05-23 15:36:40 -05:00
  • 6c997a36fa fix more oop and bugs Redo0 2021-05-22 18:45:04 -05:00
  • db7e2d06ad add os library to iosafe Redo 2021-05-19 18:49:04 -05:00