wiremod / wirebox

Wire for S&Box. Early WIP.
MIT License
37 stars 8 forks source link

Added memory gates for handling state #32

Closed Nixaries closed 1 year ago

Nixaries commented 1 year ago

You may want to change some of the names of the inputs to the gates to your liking as well as maybe renaming the D-Latch to something else, unless we do that at a later date when we come up with something.

Slightly strange behaviour due to getting a fire on bool input every time the value is changed even if something is true, meaning that edge triggered things trigger on everything other than 0.

A temporary fix could be done inside of the gates or it could be left as it is and the boolean inputs be changed if that is not what we want to happen.