fix: draw the 74158 internal logic diagram #3222
Thanks for proposing an internal logic diagram for TTL 74158! After a quick look to the data sheet and comparing it to the diagram, my concern is mostly that the selection and enable control inputs cannot be clearly distinguished from the A and B data inputs. Especially, their position varies between the top and bottom multiplexers. I would recommend to adopt the symbol of Logisim's Multiplexer component with "Include Enable?" set to Yes and and adding the low-active circles as necessary. What do you think?
This pull request is paused until we decide whether TTL internal diagrams should be drawn through one shared class. That question is #3237.
@maehne suggested factoring the drawing helpers into a common class in the review of #3220: https://github.com/logisim-evolution/logisim-evolution/pull/3220#pullrequestreview-6036461837
This pull request draws the internal diagram without that class. I will not continue it until the library question is settled. The pull request stays open.
maehne
Vadimatorik
Grok 4.7
This pull request was prepared by Grok 4.7.
Summary
Draws the internal logic diagram of the existing TTL
74158.propagateTtlis unchanged.Related to https://github.com/logisim-evolution/logisim-evolution/issues/3164
Merging this pull request leaves issue 3164 open. That issue tracks the whole TTL drawing effort, and this change is only the 74158.
NO_TICKET
Test plan
propagateTtlMade with Cursor