Page 1 of 1

Logic circuit design methods

Posted: Wed Apr 29, 2026 1:26 pm
by TomyTheBest
Hey,

My question is for the experienced and veteran palyers.
Since I'm not a Logic circuit designer guru, I try to look for A.I. platforms to help me figure out the logic circuits and conditions to manage the signals in a way I want.
I just ran into a problem with the tools I have. The AI platforms are hallucinating solutions that not working so how you guys are using AI help for your creations? Or which platforms do you prefer?

Background story:
(This is what I think I want. Currently. That can be change if I figure out this is wrong...)
So, I expect 5 different signals as an input. Lets call them storage level signals. I want to choose one from them (doesn't matter which one) and keep that signal as an output as long as the source signal is alive. That means I want to avoid any signal change from the moment one signal was chosen (from the possible max 5) until that one signal is gone from the source side.
This should be an easy block / latch solution but later on I expect more complex problems in my plan, so I wonder what you guys suggest as a method or long therm solution.

Should I look for a 'Mistery of Logic Circuits' book?

Thank you

Re: Logic circuit design methods

Posted: Wed Apr 29, 2026 2:25 pm
by Tertius
I collected a number of combinator concepts: Combinator cookbook 2.0.

What you're looking for can probably be implemented by using the memory cell from that cookbook, and the set condition is not the S signal but instead one of your input signals or some complex condition with multiple entries, depending on what you actually need. If you make some non trivial condition, keep in mind the set condition needs to be present in both deciders: in one the set condition as it is and in the other combinator the inverse of the condition, so it's guaranteed at all times either the one or the other condition is true but not both at the same time and not none at all.


If you ask for a general approach how to design in general:
You need to know your ingame tools. A tool in this design process is something like one of the generic use cases I present in that cookbook. For example, you can apply some arithmetic operation with the 2 different wires. You can multiply the signals of one wire with the signals of the other wire. This is a tool you use, if you need this operation.

An implicit tool you see throughout the whole cookbook is the usage of the EACH wildcard and to some lesser extend the other wildcards.

If you know your tools, you can analyze the task at hand and see what tools you could use in combination to create some working solution.

The most useful tools in my combinator cook book, in my opinion, are:
  • Math/basic arithmetic operations
  • filter (both include and exclude)
  • clock
  • counter
  • latch
  • lookup table (lut), in this cookbook mentioned as "map item to recipe"
And by far the most useful tool, so useful it's not even mentioned: the implicit adding/merging of signals when you connect outputs with the same wire.