[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[tlaplus] Verifying instruction trace decoding with TLA+



An idle thought, and may not be possible, but I was wondering if one could in theory verify an instruction trace decoder with TLA+?

If you have an input program to the test chip (let's call that Y), and then you generate a trace, and decode it, you'll get an output allegedly showing all the instructions actually executed (let's call that X).

How do you know that the instructions were correctly decoded? Is there some way in TLA+ to model Y, and then check that X is a valid implementation? 

I guess one would have to assume that any discrepancy was introduced due to inaccurate decoding, not an issue with the chip though...

--
You received this message because you are subscribed to the Google Groups "tlaplus" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tlaplus+unsubscribe@xxxxxxxxxxxxxxxx.
To view this discussion on the web visit https://groups.google.com/d/msgid/tlaplus/975af696-81da-404b-ba99-0ab6d351ac08n%40googlegroups.com.