FAA just found a new safety risk on 737 MAX

So, its a sim…could the bug just be in the sim and not a problem in the actual plane or does the sim run all the same code? Obviously how the hardware reacts can’t be reproduce 100% accurately in a sim. Just curious if they know for sure the problem is not only in the sim. [I don’t know how this works, just curious]