Yunru Posted January 6, 2019 Share Posted January 6, 2019 Ignore the title, this is more about gate building. Although depending on your number of inputs, you might save resources . First, the OR "gate" a.k.a. connected wires. That's literally it. Second, the NOT gate. No way around this one, just gotta build it; and without it we can't make any of the others below. The buffer gate: Comprised of two NOT gates, this stops a signal flowing backwards. The AND gate: Each input connects to it's own NOT gate. All of them then feed into a single NOT gate. Link to comment https://forums.kleientertainment.com/forums/topic/101521-gates-on-a-budget/ Share on other sites More sharing options...
chemie Posted January 6, 2019 Share Posted January 6, 2019 how are three NOT gates better than one AND? Link to comment https://forums.kleientertainment.com/forums/topic/101521-gates-on-a-budget/#findComment-1140346 Share on other sites More sharing options...
Yunru Posted January 6, 2019 Author Share Posted January 6, 2019 23 minutes ago, chemie said: how are three NOT gates better than one AND? It's not. But it uses less wire per input, so at higher levels it's cheaper. It's also far more compact. For N inputs, AND gates take up 4(N-1) spaces, vs. 2(N+1) spaces, to say nothing of the amount of wire taking up space. Link to comment https://forums.kleientertainment.com/forums/topic/101521-gates-on-a-budget/#findComment-1140350 Share on other sites More sharing options...
Saturnus Posted January 6, 2019 Share Posted January 6, 2019 I posted a thread about a similar topic a while back Link to comment https://forums.kleientertainment.com/forums/topic/101521-gates-on-a-budget/#findComment-1140359 Share on other sites More sharing options...
Arcus2611 Posted January 6, 2019 Share Posted January 6, 2019 2 hours ago, Yunru said: The buffer gate: Comprised of two NOT gates, this stops a signal flowing backwards. Personally I just use a single buffer or filter gate in cases like this. If you don't mind the short delay it's more compact. 2 hours ago, Yunru said: The AND gate: Each input connects to it's own NOT gate. All of them then feed into a single NOT gate. If you're using sensors, you can actually make do with a single NOT gate in many cases. For example, I have an aquatuner that I want to disable when the ambient temperature goes over 95 degrees or the coolant goes under 20 degrees--I just hook both sensors up to the same NOT gate and flip the active conditions on the sensors. This is technically a NOR gate but practically achieves the same effect as an AND gate. Link to comment https://forums.kleientertainment.com/forums/topic/101521-gates-on-a-budget/#findComment-1140389 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.
Please be aware that the content of this thread may be outdated and no longer applicable.