USPatent applicationPatented

Method and apparatus for verification of memories at multiple abstraction levels

Granted 25 Jan 2005 · 1 office action

Application· this page
10/327,608
filed 20 Dec 2002
Publication
Not published
not published
Patent
US 6,848,084
granted 25 Jan 2005

Life of the application

9 dated events
⤢ drag to zoom20022004200620082010201220142016201820202022ProsecutionOwnershipTerm & fees
ProsecutionOwnershipTerm & feeshover for detail · click to open

Abstract

This invention relates to method and apparatus for verification of circuit designs containing memories. At a register transfer abstraction level, verification of a circuit design requires showing that the register transfer language (RTL) abstraction of the design is logically equivalent to the design implementation represented at the logic (e.g., gate and/or flip-flop) and/or the transistor (e.g. implementation verification) abstraction levels, as well as logic simulation of the design RTL embedded in a system-level test bench for verification at the system-abstraction level.

Description

6 parts
›CROSS REFERENCE TO RELATED APPLICATION

This application claims benefit of U.S. Provisional Patent Application No. 60/393,623, filed Jul. 2, 2002, and is hereby incorporated herein by reference

›BACKGROUND OF INVENTION

1. Field of Invention

This invention is related to computer-aided design (CAD) logic verification tools, and more specifically to enabling a methodology which allows verification of circuit designs containing memories at multiple abstraction levels. For example, both equivalency checking and system-level verification can be performed efficiently.

2. Background of Invention

Verification of digital circuit designs such as microprocessors, application specific integrated circuits (ASICs), and system-on-a-chip (SOC) designs, conventionally involves two major steps termed as implementation verification and system-level verification.

The goal of implementation verification is to show that a register transfer language (RTL) abstraction of the design is logically equivalent to a low-level design implementation that is represented at the gate-level or the transistor-level (FIG. 1 ). The task of determining logic equivalence verifies that the RTL abstraction and the low-level designs implement equivalent finite state machines. This task is generally performed today by using formal equivalence checkers, and requires a methodology where RTL abstraction and the design implementations have similar state machine encoding, and/or design hierarchy.

The goal of system-level verification is to verify the high-level operations the design has to perform, and the overall functionality of the design in context of the system in which it is used. This task is performed by logic simulation of the design RTL in a system-level testbench (FIG. 1 ).

Today, modern digital systems contain multiple embedded memories of increasing size and complexity which make the tasks of implementation and system-level verification difficult and increases the risks of functional failures in the design. The basic reason for this verification difficulty is that implementation verification via a formal equivalence checker requires that the embedded memories in the RTL have a structure which closely follows that of the low-level design implementation, e.g., both RTL and design implementations should have identical memory cell row-column organization. Furthermore, some circuit behavior cannot be easily described at the RTL-level and may require extensive transistor/logic remodeling in the low-level implementation.

So, to make equivalence checking of embedded memories possible, one may with some effort create an RTL memory model which matches the implementation structure and models its circuit behavior. Unfortunately, such a detailed model is very expensive to simulate as compared to a conventional RTL memory model which does not describe detailed internal memory structure. A need exists for an efficient verification of memory at multiple abstraction levels.

›SUMMARY OF INVENTION

Some embodiments of the invention enable efficient verification of memory at multiple abstraction levels.

Some embodiments of the invention enable efficient implementation verification and system-level verification with a library of parameterized memory models and a verification methodology with design RTL instantiating these parameterized memory models. The parameterized models can contain specific parameters describing memory structural and/or circuit characteristics.

Specifying suitable parameter values corresponding to the implementation structure yields a structural model of the RTL memory block that is structurally similar to the memory design implementation. This allows state point mapping between the structural model and the design implementation, and therefore equivalence checking of the RTL memory block against the gate-level or the transistor-level memory. These parameters can also be used to generate a simulation model of the memory block equivalent to the structural model. This simulation model, which can be simulated more efficiently than models which are structurally similar to memory implementation, is used for system-level simulation.

Some embodiments of the invention have a parameterized memory models library with simulation and structural models, and a verification methodology with design RTL instantiating these parameterized memory models.

›BRIEF DESCRIPTION OF FIGURES

FIG. 1 illustrates the methodology of implementation verification and system-level verification of a digital circuit design.

FIG. 2 illustrates the methodology of implementation and system-level verification where a simulation model and a structural model are used for system-level verification and implementation verification respectively.

FIG. 3 illustrates an example of generation of simulation and structural model from a design RTL containing parameterized memory primitive instance.

FIG. 4 illustrates a flow diagram of a method embodiment.

›DETAILED DESCRIPTION OF THE INVENTION · 1 of 2

This invention relates to method and apparatus for verification of circuit designs containing memories. At a register transfer abstraction level, verification of a circuit design requires showing that the register transfer language (RTL) abstraction of the design is logically equivalent to the design implementation represented at the logic (e.g., gate and/or flip-flop) and/or the transistor (e.g. implementation verification) abstraction levels, as well as logic simulation of the design RTL embedded in a system-level test bench for verification at the system-abstraction level. Some embodiments of the invention enable efficient implementation verification and system-level verification with a library of parameterized memory models and a verification methodology with design RTL instantiating these parameterized memory models. The parameterized models contain specific parameters describing memory structural and/or circuit characteristics. Structural characteristics can include structural design aspects such as memory word size, memory word count, and/or column multiplexing ratio. Circuit characteristics can include circuit logic aspects such as bit-line driver logic circuitry. A parameterized memory model instance with specified parameters generates two models—a structural model and a simulation model. Specifying suitable parameter values corresponding to the implementation structure yields a structural model of the RTL memory block that is structurally similar to the memory design implementation. This allows state point mapping between the structural model and the design implementation, and therefore equivalence checking of the RTL memory block against the gate-level or the transistor-level memory. These parameters are also used to generate a simulation model of the memory block equivalent to the structural model. This simulation model, which can be simulated more efficiently than the structural model, is used for system-level simulation. This method enables both implementation verification and efficient system-level verification for digital circuit designs containing embedded memories. The verification techniques described are general, and apply to all hardware description languages which allow both design descriptions at the behavioral and/or structural abstraction levels, including Verilog and VHDL.

Circuit designs exist at multiple levels of abstraction. The more abstract a circuit design, the more appropriate for “simulation” the description of the circuit design becomes. The less abstract the circuit design, the more “structural” the circuit design becomes. From the most abstract to the least abstract, some examples of abstraction levels of circuit design are: system level, register transfer level, logic level (e.g., gates and/or flip-flops), and transistor level.

Some embodiments of the invention enable efficient implementation verification 202 of a low level design implementation 206 with an equivalence checker 207 , and system-level verification 204 with a system level testbench 280 and a library of parameterized memory models and a verification methodology with design RTL instantiating these parameterized memory models. The verification technique includes a memory compiler (FIG. 2 ), labeled Conformal-MEM memory compiler 210 . This compiler 210 takes as input an RTL design 220 . For every parameterized memory model instance 230 it generates a simulation model 240 , contained in Simulation RTL 250 in FIG. 2 , and a structural model 260 , contained in Formal Verification RTL 270 . In various embodiments, the compiler generates a simulation model and/or a structural model at other abstraction levels. In other embodiments, the compiler can be split into multiple compilers. In other embodiments, models can be part of the compiler. In many embodiments, compilers process a more abstract description into a less abstract description.

The simulation model can include at least one Verilog register transfer level design description. The simulation model may handle address collisions for simultaneous writes to a same address at different ports. The simulation model may handle the X ternary value at primary inputs. The simulation model can include Verilog source text for the corresponding memory.

A structural model represents a design view for equivalency checking. This design view, which represents a logic structure, can be represented by either a hierarchical data structure representing design hierarchy and logic details of design modules, and/or it can include Verilog source text for a model that can be synthesized into a logic netlist suitable for equivalence checking.

There are a number of different types of memory primitives that the memory compiler of FIG. 2 handles. These primitives span from single read/write port to multi-read/write port designs, as well as content addressable memories. Table 1 contains a partial list of memory primitives handled by the Memory compiler. Other embodiments can handle fewer, different, and/or more primitives.

The parameterized memory models contain specific parameters describing memory structural and/or circuit characteristics. The simplest parameters are for defining the storage capacity of a memory, in terms of number of words in the memory, and the number of bits in a work.

Two fundamental parameters for a memory are the number of addressable locations in the memory, and the number of bits in each location of the memory. These two are specified by the parameters addrsize and wordsize. To specify a memory instance with 16 words of 4 bits each, one read port and an independent write port one instantiates the VRAM — 2P — 1R1W — 1 primitive in the RTL as follows:

VRAM — 2P — 1R1W —1 I0(.wadd_clk(..), .radd_clk( . . . ) . . . ); defparam I0.addrsize=16; defparam I0.wordsize=4;

The two parameters above allow instance to be a memory of the desired size. At the implementation level, this 16×4 memory can be created with different memory cell organizations, including an 8×8 memory core, a 16×4 memory core or a 4×16 memory core. Depending on the actual memory organization in the implementation, say an 8×8 memory cell core, one can specify additional parameters for this structural information. In other embodiments, a single value can be mapped to a particular combination of the number of addressable locations in the memory, and the number of bits in each location of the memory. In other embodiments, the number of addressable locations in the memory, and/or the number of bits in each location of the memory can be automatically decided without parameters.

›DETAILED DESCRIPTION OF THE INVENTION · 2 of 2

The parameter colmux specifies that column mux is a ‘colmux’ to 1 multiplexer. For the 8×8 core organization the following parameter value can be set.

defparam I0.colmux=2;

Specifying the above three parameter values suitably yields a structural model of the RTL memory block which is structurally similar to the memory design implementation. This allows state point mapping between the structural model and the design implementation, and therefore makes possible equivalence checking of the RTL memory block against the gate-level or the transistor-level memory. The structural model created by the compiler is in terms of standard HDL primitives and closely follows the memory structure and organization of traditional CMOS static random access memories.

FIG. 3 illustrates an example. Design RTL 320 includes a memory model 330 , in this case a 16×4 memory. The compiler 310 creates the simulation model 340 containing a 16×4 simple memory. In the figure, since colmux has been specified as 2, wordsize is 4, and wordcount is 16, a 8×8 memory core is created, with a 2:1 column multiplexer. The compiler 310 also creates a structural model 360 .

Parameters can also be used to model additional memory behavior variations. These include parameters for describing bitline organization (differential or single-ended), write-drivcr behavior (drives 0 or 1 or Z when no writes). In addition parameters can control whether the memory unit has a set or reset signal and many other structural aspects of the design. There are parameters which can control the generation of simulation model, including detection of write collisions in memories with multiple write ports, and/or modeling and correct handling of memory behavior when one or more inputs are the ternary value X.

The verification techniques described are general, and apply to all industry standard hardware description languages including Verilog and VHDL.

FIG. 4 illustrates a simple flowchart for one method embodiment. In 410 , one or more memory models is accessed. In 420 , a simulation model is created at least partly from the memory models. In 430 , a structural model is created at least partly from the memory models. The flowchart can be rearranged, added to, reduced, and/or changed.

Disclosed are some embodiments only. The invention includes modifications, additions, and deletions apparent to those skilled in the art. Incorporated by reference herein are: U.S. Pat. No. 6,446,243; J. M. Ludden, W. Roesner, G. M. Heiling, J. R. Reysa et.al., Functional verification of the POWER 4 microprocessor and POWER 4 multiprocessor systems, IBM Journal of Research and Development, p. 53, Vol. 46, No. 1, 2002; C. H. Malley and M. Dieudonne, Logic verification methodology for PowerPC microprocessors, in proceedings of Design Automation Conference, pp. 234-240, 1995; N. H. Weste, and K. Eshraghian, Principles of CMOS VLSI Design, 2 nd ed., Addison Wesley Publishing Company, 1994.

›Tables in the description — 1
TABLE 1 — List of parameterized memory models
NAMECONFIGURATION
VRAM_1P_1RW_11 shared read/write port
VRAM_2P_2RW_12 shared read/write ports
VRAM_2P_1R1W_11 read, 1 write independent port
VRAM_3P_2R1W_12 read, 1 write independent port
VRAM_3P_1R2W_11 read, 2 write independent port
VRAM_4P_2R2W_12 read, 2 write independent port
VRAM_2P_1RW1R_11 shared read/write, 1 read port
VRAM_2P_1RW1W_11 shared read/write, 1 write port
VCAM_2P_1R1W_11 read 1 write and a lookup CAM block

Claims as granted

66 claims

Log in to read the claims of this application.

Log in to unlock

Classifications

4 codes
IPC · International Patent Classification
Section G — Physics
  • G06F17/50
USPC · US Patent Classification
716/1716/3716/4

Claim changes

Soon
Coming soonHow the claims changed between publication and grant

See which claims were amended, added or cancelled during examination, with every added and removed word marked.

AmendedAddedCancelledUnchanged

The published claims of this application are not paired with the granted ones in what we hold.

File wrapper

⤢ drag to zoomJan 2003Apr 2003Jul 2003Oct 2003Jan 2004Apr 2004Jul 2004Oct 2004Jan 2005USPTOApplicantNon-final rejectionResponse after non-finalNotice of allowance
USPTOApplicanthover for detail · click to open
Pendency
2.1 y
767 days filing → grant
Office actions
1
non-final + final
Responses
1
no RCE
Examiner
Leigh M. Garbowski
art unit 2825 · TC 2800
Citations: 21 back · 9 forward

See the full prosecution history — every USPTO and applicant action on this file, in order.

Log in to unlock

Documents

Log in to open the documents of this file: the application as filed, every office action and response, the notice of allowance.

Log in to unlock

Chain of title

⤢ drag to zoom2004200620082010201220142016201820202022Owner 2
Titlehover for detail · click to open

See the full assignment history — every owner this patent has passed through, with recordation dates and reel/frame numbers.

Log in to unlock