regtoga / LogicThursday

A novice programmers logic simulator
1 stars 0 forks source link

There is a bug with the TTG thinker where it can output simply incorrect results. #1

Closed regtoga closed 4 months ago

regtoga commented 4 months ago

image

Take this into TTG: F(A,B,C,D,E,F,G) = Z'm(18,19,21,22,24,25,28,31,40,44,45,58,59,62,63,66,67,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,86,87,88,89,92,93,96,97,100,101,114,115,118,119,120,121,124,125) and when you take it out in the GTT it will be incorrect.

regtoga commented 4 months ago

it has to do with the prime implicant table and how you select the proper answers.

regtoga commented 4 months ago

V1.7.1 fixed this major bug, as far as i can tell the outputs are correct now. To learn about how i found this bug refer to this separate journey: 2BitALU TruthTable.docx

I guess i should also add that i don't actually know if the results are still minimal!, i tried to make it happen, but depending on how many inputs would have been missing before this change, i am assuming it might be off. haven't quite tested it that far yet though, so if you find anything, make Shure to speak up!