Generation of tests used in simulating an electronic circuit design
First Claim
1. A processor-implemented method for generating input data to a hardware driver that drives inputs of a simulated electronic circuit design, comprising:
- generating a test generator program from a main program that uses a test generator class library, wherein the test generator class library includes a software driver class corresponding to the hardware driver, and the software driver class includes a storage class corresponding to each memory within the hardware driver, a first set including at least one method for writing function codes to a first object of the storage class, and a second set including at least one method for writing data to a second object of the storage class;
writing function codes to the first object of the storage class in response to a call by the test generator program to a method in the first set, wherein a function code is decodable by the hardware driver and designates an operation for performance by the driver; and
writing data of a first type to the second object of the storage class in response to a call by the test generator program to a method in the second set, wherein the data of the first type is data provided by the driver as input to the simulated circuit design.
7 Assignments
0 Petitions
Accused Products
Abstract
Various approaches for generating input data for simulating a circuit design are disclosed. In one approach, a test generator program is generated from a main program that uses a test generator class library. The test generator class library includes a software driver class corresponding to the hardware driver, and the software driver class includes a storage class corresponding to each memory within the hardware driver, a first set including at least one method for writing function codes to a first object of the storage class, and a second set including at least one method for writing data to a second object of the storage class. Function codes are written to the first object of the storage class in response to a call by the test generator program to a method in the first set. Data of a first type is written to the second object of the storage class in response to a call by the test generator program to a method in the second set, wherein the data of the first type is data to be provided by the driver as input to the simulated circuit design.
-
Citations
12 Claims
-
1. A processor-implemented method for generating input data to a hardware driver that drives inputs of a simulated electronic circuit design, comprising:
-
generating a test generator program from a main program that uses a test generator class library, wherein the test generator class library includes a software driver class corresponding to the hardware driver, and the software driver class includes a storage class corresponding to each memory within the hardware driver, a first set including at least one method for writing function codes to a first object of the storage class, and a second set including at least one method for writing data to a second object of the storage class; writing function codes to the first object of the storage class in response to a call by the test generator program to a method in the first set, wherein a function code is decodable by the hardware driver and designates an operation for performance by the driver; and writing data of a first type to the second object of the storage class in response to a call by the test generator program to a method in the second set, wherein the data of the first type is data provided by the driver as input to the simulated circuit design. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A system for generating input data to a hardware driver that drives inputs of a simulated electronic circuit design, comprising:
-
means for translating a programmatic specification of functions for performance by the hardware driver into function codes input to the hardware driver; means for translating a programmatic specification of input data for the hardware driver into a first format recognized by the hardware driver; means for translating a programmatic specification of mask values into a second format recognized by the hardware driver; means for storing the function codes; means for storing the input data of the first format; and means for storing the mask values in the second format.
-
Specification