Instruction processor write buffer emulation using embedded emulation control instructions
First Claim
1. A processor-based method comprising:
- processing an emulation control instruction with an emulated instruction processor to set a state of a pre-fetch control bit within the emulated instruction processor, wherein the emulated instruction processor has a write buffer interface and a memory interface; and
processing a write instruction with the emulated processor to selectively output a write request via the write buffer interface or the memory interface based on the state of the pre-fetch control bit.
12 Assignments
0 Petitions
Accused Products
Abstract
Techniques are described for accurately and efficiently emulating an instruction processor having a write buffer. The described techniques may be utilized to quickly develop an emulated instruction processor that provides a fully-functional write buffer interface in an efficient and elegant manner. For example, a system is described that includes a computing system that provides an emulation environment, and software executing within the emulation environment that emulates an instruction processor having a write buffer interface and a memory interface. The software emulates the instruction processor by selectively outputting a write request on the write buffer interface or the memory interface in response to an emulation control instruction embedded within an instruction stream.
-
Citations
27 Claims
-
1. A processor-based method comprising:
-
processing an emulation control instruction with an emulated instruction processor to set a state of a pre-fetch control bit within the emulated instruction processor, wherein the emulated instruction processor has a write buffer interface and a memory interface; and processing a write instruction with the emulated processor to selectively output a write request via the write buffer interface or the memory interface based on the state of the pre-fetch control bit. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A processor-based method comprising:
-
compiling test software to output an instruction stream for execution by for an emulated instruction processor; processing the instruction stream during compilation to insert one or more instructions into the instruction stream to direct the emulated instruction processor to output pre-fetch write requests out a write buffer interface upon execution of the instruction stream. - View Dependent Claims (15, 16)
-
-
13. The method of clam 12, wherein processing the instruction stream during compilation comprises:
-
identifying a first write instruction within the instruction stream; generating a set of instructions including; (a) a first emulator control instruction to enable a pre-fetch mode of the emulated processor; (b) a second write instruction following the first emulator control instruction to cause the emulated instruction processor to output a write request out the write buffer interface, and (c) a second emulator control instruction following the second write instruction to disable the pre-fetch mode; inserting the generated set of instructions within the instruction stream prior to the first write instruction. - View Dependent Claims (14)
-
-
17. The method of clam 12, wherein processing the instruction stream during compilation comprises:
-
identifying a group of write instructions within the instruction stream; inserting an emulator control instruction within the instruction stream prior to the group of write instructions to enable a pre-fetch mode of the emulated processor and direct the emulated processor to output write requests associated with the write instructions out the write buffer interface; and inserting a branching type instruction within the instruction stream following the group of write instructions to direct the emulated instruction processor to re-execute the emulator control instruction and the group of write instructions to output the write requests associated with the write instructions out the memory interface.
-
-
18. A computer-implemented system for emulating write buffer operation comprising:
-
a computing system to provide an emulation environment; and software executing within the emulation environment to emulate an instruction processor having a write buffer interface and a memory interface, wherein the software emulates the instruction processor by selectively outputting a write request on the write buffer interface or the memory interface in response to an emulation control instruction embedded within an instruction stream. - View Dependent Claims (19, 20, 21, 22, 23, 24)
-
-
25. A computer-implemented system for emulating write buffer operation comprising:
-
computing means for providing an emulation environment; compiling means for compiling a test script to produce an instruction stream having at least one write instruction; and processor emulating means for emulating an instruction processor having a write buffer interface and a memory interface, wherein the processor emulating means includes selecting means for outputting a write request on the write buffer interface or the memory interface in response to an emulation control instruction embedded within an instruction stream. - View Dependent Claims (26, 27)
-
Specification