A method and apparatus for generating a test bench for verifying a processor decoder are provided. The method including receiving an architecture description comprising processor decoder information, parsing the received architecture description into information for verifying the processor decoder, and generating the test bench to verify the processor decoder based on the parsed information.
Legal claims defining the scope of protection, as filed with the USPTO.
1. A method of generating a test bench to verify a processor decoder, the method comprising: receiving an architecture description comprising processor decoder information, wherein the architecture description comprises at least one of encoding scheme information, encoding bitmap information, or operation code (op-code) information; parsing the received architecture description into parsed information for verifying the processor decoder; and generating the test bench automatically to verify the processor decoder based on the parsed information.
2. The method of claim 1 , wherein the parsing of the received architecture description comprises acquiring the op-code information, source information, and destination information from the received architecture description.
3. The method of claim 2 , wherein the op-code information comprises an operation code specification, the source information comprises a source length, and the destination information comprises a destination length.
4. The method of claim 1 , wherein the encoding scheme information comprises group code information.
5. The method of claim 1 , wherein the processor decoder is one of a very long instruction word (VLIW) processor decoder or a processor decoder having a coarse grained reconfigurable architecture (CGRA) structure.
6. The method of claim 1 , wherein the test bench comprises a test vector.
7. The method of claim 6 , wherein the test bench comprises a reference model of the processor decoder.
8. The method of claim 7 , further comprising comparing results of inputting the test vector into the reference model and a design under test (DUT) processor decoder.
9. A non-transitory computer-readable recording medium having recorded thereon a computer program for executing the method of claim 1 .
10. An apparatus for generating a test bench to verify a processor decoder, the apparatus comprising: a receiver configured to receive an architecture description comprising processor decoder information, wherein the architecture description comprises at least one of encoding scheme information, encoding bitmap information, or operation code (op-code) information; a parser configured to parse the received architecture description into parsed information for verifying the processor decoder; and a generator configured to generate the test bench automatically to verify the processor decoder based on the parsed information.
11. The apparatus of claim 10 , wherein the parser is further configured to acquire the op-code information, source information, and destination information from the received architecture description.
12. The apparatus of claim 11 , wherein the op-code information comprises an operation code specification, the source information comprises a source length, and the destination information comprises a destination length.
13. The apparatus of claim 10 , wherein the encoding scheme information comprises group code information.
14. The apparatus of claim 10 , wherein the processor decoder is one of a VLIW processor decoder or a processor decoder having a CGRA structure.
15. The apparatus of claim 10 , wherein the test bench comprises a test vector.
16. The apparatus of claim 15 , wherein the test bench comprises a reference model of the processor decoder.
17. The apparatus of claim 16 , further comprising: a comparator configured to compare results of inputting the test vector into the reference model and a design under test (DUT) processor decoder.
Cooperative Patent Classification codes for this invention. Click any code to explore related patents in that topic.
April 23, 2014
September 26, 2017
Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.