Jump to content

Memory Bank: Difference between revisions

No edit summary
No edit summary
Line 121: Line 121:
You can copy the number below and paste it, if you like.
You can copy the number below and paste it, if you like.


||F0000000000000000F0000000000000000F0000000000000000F0000000000000000F0000000000000000F0000000000000000F0000000000000000F0000000000000000F0000000000000000F0000000000000000F0000000000000000F0000000000000000F0000000000000000F0000000000000000F0000000000000000F||
F0000000000000000F0000000000000000F0000000000000000F0000000000000000F0000000000000000F0000000000000000F0000000000000000F0000000000000000F0000000000000000F0000000000000000F0000000000000000F0000000000000000F0000000000000000F0000000000000000F0000000000000000F


This same circuit can be used for other compare functions, such as "less than" or "greater or equal" by simply changing the memory's 'matrix'. With more complicated programming, you could even have a "close-to" function output. This could be something like, "the output is 'F' when the inputs are exactly the same and it is '8' if the difference is 1 or '4' if the difference is 2 or '0' if it's more". That's just one example of a more complicated compare function and is usually called 'fuzzy' math.
This same circuit can be used for other compare functions, such as "less than" or "greater or equal" by simply changing the memory's 'matrix'. With more complicated programming, you could even have a "close-to" function output. This could be something like, "the output is 'F' when the inputs are exactly the same and it is '8' if the difference is 1 or '4' if the difference is 2 or '0' if it's more". That's just one example of a more complicated compare function and is usually called 'fuzzy' math.