Commits
User selector
Commit history
Commits on Nov 18, 2021
- committed
Sebastien Sikora - committed
Sebastien Sikora - committed
Sebastien Sikora
Commits on Nov 15, 2021
- committed
Sebastien Sikora
Commits on Nov 13, 2021
Finished sorting out pretty-printing in verbose mode, such that the messages logged by each Solve() process are filtered and printed collated and in-order at the end of each Tick(). Adding the mute…
Show description for 49d9c81committed
Sebastien Sikora
Commits on Nov 12, 2021
Once we have more than one solution thread running at the same time the messages printed to the console during solution with m_verbose_flag = true all get jumbled-up. To be able to sort them so the…
Show description for 6f3445bcommitted
Sebastien Sikora
Commits on Nov 11, 2021
Printing runtime messages straight to std::cout was fine until solving in multiple threads - The messages from the different threads end up co-mingled. Even if we pre-compose the message strings, t…
Show description for 2802fc6committed
Sebastien Sikora
Commits on Nov 8, 2021
Revised folder structure. Componsed an elementary makefile to allow easier compilation of the demos.
committed
Sebastien Sikora
Commits on Nov 7, 2021
Put together the really_long_inverter_chain to start trying to determine how big a device has to be before it's worth solving it in it's own thread. Found that deleting the Simulation took a *reall…
Show description for 4c544eacommitted
Sebastien Sikora
Commits on Nov 6, 2021
Finalised threaded solver. We can now set an optional argument in the Simulation class constructor, a struct comprising a boolean flag to turn on the threaded solver and an int that gives the nesti…
Show description for 4528a66committed
Sebastien Sikora
Commits on Nov 5, 2021
- committed
Sebastien Sikora
Commits on Nov 4, 2021
First draft of the game of life demo up and running. Every 18 ticks of the clock (9 true-false transitions) the cells change state. The cells are numbered row-wise, so if you change the dimensions …
Show description for ab13578committed
Sebastien Sikora
Commits on Nov 2, 2021
- committed
Sebastien Sikora
Commits on Nov 1, 2021
- committed
Sebastien Sikora Found a design flaw in the various binary counter models whereby I had improperly implemented the 'run' control input. I had missed the necessary first and gate out, so if the 0th flip-flop q = tru…
Show description for 557bb88committed
Sebastien Sikora
Commits on Oct 31, 2021
Re-worked the internals of the ram MagicDevice, it's now quite a bit quicker. Realised that using Probes slows things down quite a bit while doing this, as went from ~2600msec to write and read 12 …
Show description for f43148acommitted
Sebastien Sikora
Commits on Oct 29, 2021
Commits on Oct 27, 2021
Backing up changes. A number of small alterations didn't work in ways that eventually indicated that the order of solution did not proceed sensibly. We no-longer propagate Device in and out pins wi…
Show description for ee785a1committed
Sebastien Sikora
Commits on Oct 25, 2021
Fixed Component search so it runs from the top-level irrespective of the caller. Created a reset pins method that gets called over the whole component tree in the same way. Hopefully we can now del…
Show description for c435b3ecommitted
Sebastien Sikora
Commits on Oct 24, 2021
- committed
Sebastien Sikora - committed
Sebastien Sikora - committed
Sebastien Sikora Finished initial prototype of destructors for all simulator objects with the exception of MagicEngines. At the moment all of the tidy-up logic is in each object's Purge***() method. To delete the o…
Show description for 6ecadf8committed
Sebastien Sikora
Commits on Oct 23, 2021
Continuing to build-towards having working destructors for all objects. So far we can cleanly 'Purge' and delete Components *Gates, Devices and Simulations*, which internally takes care of deleting…
Show description for e459c54committed
Sebastien Sikora
Commits on Oct 22, 2021
- committed
Sebastien Sikora Finally getting round to working on code for Component destructors. We can now search for a Component by full name to return a pointer to it, then we pass that pointer as an argument to it's paren…
Show description for 1f3ce4bcommitted
Sebastien Sikora
Commits on Oct 21, 2021
Broke Stabilise() by removing the Initialise() call from Devices. Device out pins *need* to be propagated following initialisation. We achieve this by ensuring the pin.state_changed flag is set to …
Show description for 247d3ffcommitted
Sebastien SikoraInitialise() is now only a method of Gate(s). Realised that Devices don't need to be initialised in the same way. If any of their in pins are Set(), they will already be on the m_propagate_next lis…
Show description for 6224f08committed
Sebastien SikoraAttempt to make Device.Solve() safe to execute in a separate thread. Inside Solve(), Set() calls on Device out pins no longer directly call into the parent's AddToPropagateNext() method. Once we en…
Show description for cfef691committed
Sebastien Sikora
Commits on Oct 19, 2021
- committed
Sebastien Sikora More tweaks. Made further efforts to add build-time checks on as many methods as possible. When these checks fail errors are appended to the Simulations m_build_errors. This has made debugging a fa…
Show description for d307c9fcommitted
Sebastien SikoraRevised the way in which the 'connectedness' of pins is tracked and checked. Each pin struct now has a drive field {bool, bool}, which describes if there is a drive into the pin, and out of the pin…
Show description for 91c29dfcommitted
Sebastien Sikora
Commits on Oct 17, 2021
Updated README.md and tidied up and corrected a few comments elsewhere. Implemented hidden_out_pins to allow me to reimplement the Device 'all_stop' output as a hidden out pin. Hidden out pins are …
Show description for be50758committed
Sebastien Sikora
Commits on Oct 16, 2021
Finished the switch-over from unordered_map(s) to vectors as main container for Probes, Clocks, Components. Components are assigned a local_index upon instantiation which corresponds to their index…
Show description for ae12947committed
Sebastien Sikora- committed
Sebastien Sikora