Your request sounds a bit strange. Since the 8051 and the AVR represent different hardware sets it would seem that each would require its own simulator. I know of no software product that simulates processors with different architectures. Where did you even get the idea that this was possible or probable?