I am finding a way to connecting QEMU to a timing model of my CPU. All I need is find out a way to catch all instruction trace and the result of each instruction, and send them to a FIFO which connects to my timing model.
Could anyone tell me where should I insert my code to catch these info? Thanks.