USPatent applicationPatented

Apparatus and method for automatically generating circuit designs that meet user output requirements

Granted 25 Mar 2003 · 1 office action

Current assignee: Xilinx · originally Advanced Micro Devices, Inc

Law firm: Law firm · Log in to unlock

Attorney: Attorney · Log in to unlock

Inventors: David W. Bennett · Examiner: Don Wong · AU 2821 · TC 2800

Application· this page
9809597
filed 14 Mar 2001
Publication
Not published
not published
Patent
US 6,539,534
granted 25 Mar 2003

Life of the application

8 dated events
⤢ drag to zoom200020022004200620082010201220142016201820202022ProsecutionOwnershipTerm & fees
ProsecutionOwnershipTerm & feeshover for detail · click to open

Abstract

A method for generating a circuit design using specified input characteristics and desired output characteristics. An algorithm is used to generate candidate circuits from the desired circuit characteristics. The candidate circuit is tested with a stimulating test apparatus to provide actual output characteristics in response to the specified input characteristics. If the actual and desired output characteristics do not match, the candidate circuit is modified and re-tested. The design process may be automated or manual.

Description

6 parts
›RELATED APPLICATION

This application claims priority to U.S. provisional application Ser. No. 60/228,256 entitled “Apparatus and Method for Automatically Generating Circuit Designs that Meet User Output Requirements” filed Aug. 25, 2000.

›FIELD OF THE INVENTION

The present invention relates to programmable logic devices (PLDs) and particularly to design methods for PLDs.

›BACKGROUND OF THE INVENTION

FIG. 1 is a flow diagram illustrating a conventional circuit design process that is used to design circuits implemented on PLDs, and also to design application specific integrated circuits (ASICs).

The conventional circuit design process begins in step 101 by defining a desired circuit using known schematic capture tools or hardware description languages (HDL) such as VHDL and Verilog. In addition, the circuit definition step requires defining a set of input signals and associated desired output signals that are to be generated by the circuit design. Because conventional circuit schematic capture and HDL are often cryptic and complex, the step of defining the desired circuit is often time consuming.

After the desired circuit is defined in step 101 , the circuit definition is then synthesized using known software tools (step 102 ), and then simulated (step 103 ) in software. If bugs are detected in the circuit simulation, i.e., the synthesized circuit definition fails to generate the desired output signals in response to the defined input signals (Bugs Found in step 104 ), then the circuit definition is manually modified (step 105 ), synthesized (step 102 ) and simulated ( 103 ) until a suitable finalized circuit design is achieved (step 106 ). Note that, in step 105 , the circuit designer must manually alter the design definition to fix the bugs. Most of the design time in the conventional circuit design process is spent in debugging the circuit design (step 104 ) and manually fixing bugs (step 105 ) to generate a finalized circuit design (step 106 ). In the case of circuit designs implemented on PLDs, the finalized circuit design is then converted into a bitstream (step 107 ) that can be loaded into a target PLD.

As mentioned above, the conventional circuit design process is complex and time consuming because the logic performed by the desired circuit must be defined using, for example, a schematic capture tool. In addition, the process of debugging a circuit definition often requires significant time and resources.

Third party vendors are presently attempting to address the complexity of the conventional circuit design process by providing software tools that generate a circuit design based only on the desired circuit behavior (i.e. predefined output signals are associated with a given set of input signals) without the use of a logic description defined using schematic capture or HDL. One such method is entitled “Method for Converting a Hardware Independent User Description of a Logic Circuit into Hardware Components” by Gregory et al., U.S. Pat. No. 5,530,841. These attempts use a single pass through a software algorithm to generate a single candidate circuit based on the desired circuit behavior. A bitstream is then generated from this single candidate circuit to finalize this conventional design without hardware verification. Although the resulting circuit design process is much less time consuming than the conventional design process, a problem arises in that the behavior characteristics of the candidate circuit generated may not match the characteristics of the desired circuit.

What is needed is an automatic method of generating a circuit design using desired circuit behavior that is guaranteed to operate in its target device, for example, a target PLD.

›SUMMARY OF THE INVENTION

The present invention is directed to an apparatus and a method for designing a circuit having desired output characteristics by iteratively evaluating the hardware implementations of intermediate designs. The initial circuit is defined in response to specified input characteristics. By using only the input and output characteristics of the desired circuit, the cryptic and complex methods of circuit description, such as schematic capture or HDL, is prevented. As a result, the process of design definition takes less time and is significantly simplified, and the most time consuming steps of debugging and bug fixing are fully automated.

Desired circuit characteristics are defined at the beginning of the design process. An algorithm is used to generate a candidate circuit from the desired circuit characteristics. This candidate circuit may be recursively modified to ensure that the final circuit behavior matches the desired circuit characteristics.

In contrast with the conventional software-only approach, the present invention programs a PLD with a bitstream generated from the candidate circuit. The programmed PLD is tested with a hardware stimulating test apparatus to provide actual output characteristics in response to the specified input characteristics. This stimulating test apparatus stimulates the PLD and records the actual PLD response characteristics. If the actual PLD response characteristics and the desired circuit characteristics do not match, then the candidate circuit is modified and re-tested recursively until a final circuit solution is obtained based solely on characteristic behavior. This recursive process may be accomplished automatically or manually. In this way, the final circuit output characteristics match the desired output characteristics.

›BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a flow diagram of a conventional circuit design method.

FIG. 2 is a flow diagram of a method for generating a circuit design in accordance with the present invention.

FIG. 3 is a block diagram of an apparatus for generating a circuit design in accordance with the present invention.

›DETAILED DESCRIPTION OF THE INVENTION

FIG. 2 is a flow diagram of a method for automatically generating a circuit design based on desired circuit behavior in accordance with the present invention.

The desired circuit behavior is defined in step 201 as the output characteristics of the desired circuit in response to specified input characteristics. As stated above, this information is also required during conventional methods. In a first embodiment of the present invention, this desired circuit behavior is described as a set of input waveforms and the expected output waveforms. In another embodiment of the present invention, this desired circuit behavior is defined as a test bench in VHDL. A testbench is HDL code written for a simulator that instantiates the design netlist(s), initializes the design, and then applies stimuli to verify the functionality of the design. The testbench can also be set up to display the desired simulation output characteristics to a file, waveform, or screen. A testbench allows repeatable simulation throughout the design process and also provides documentation of the test conditions. Other embodiments may use other available methods for describing this desired behavior.

A candidate circuit is generated in step 202 by an algorithm. In a particular embodiment, the algorithm used is a logic synthesis algorithm attempting to generate the desired behavior. An example of such a logic synthesis algorithm is described in Gregory et al., U.S. Pat. No. 5,530,841. In another embodiment, the algorithm used is a genetic algorithm generating a random circuit that will later be evolved to perform the desired behavior. A genetic algorithm is described by Levi and Guccione in U.S. patent application Ser. No. 09/335,862 entitled “Method And Apparatus For Evolving Configuration Bitstreams”, which is incorporated herein by reference. The generated candidate circuit may or may not exactly perform the desired behavior.

A bitstream is formed from the candidate circuit in step 203 . This bitstream is used to program a programmable logic device (PLD). Using a stimulating test apparatus, the inputs of the PLD are stimulated to simulate the input characteristics defining the desired circuit behavior in step 201 . This stimulating test apparatus monitors the output characteristics in response to these input characteristics.

In step 206 , the output characteristics generated in step 205 are compared to the desired circuit behavior defined in step 201 . If the desired output characteristics and the actual output characteristics match, the candidate circuit is finalized in step 209 . The bitstream generated in step 203 is used in finalized design step 209 .

In step 206 , if the output characteristics generated in step 205 do not match the actual output characteristics, then the initial candidate circuit is modified in some way in step 208 . The modification of the candidate circuit in step 208 may be accomplished in several ways. These ways include, but are not limited to, resynthesizing the circuit with the aforementioned logic synthesis algorithm, using a genetic algorithm to evolve the circuit toward a more fit circuit, and using simulated annealing to slightly modify the circuit until a correct result is produced.

Step 203 creates a bitstream from the modified circuit of step 208 and re-programs the PLD. This process is followed until the desired output characteristics are generated by the candidate circuit and the design is finalized in step 209 . The entire process may be automated such that a user needs only to input the desired input and output characteristics and wait for the recursive process to generate a correct finalized design having those characteristics.

FIG. 3 is a block diagram of a circuit design generator 300 in accordance with an embodiment of the present invention. Circuit design generator includes design platform 301 , PLD board 305 and stimulation hardware 307 . Design platform 301 includes circuit generation tool 302 , characteristic versus actual output comparison tool 303 and circuit adaptation tool 304 . PLD board 305 includes PLD 306 .

Referring to FIGS. 2 and 3, circuit generation tool 302 provides the candidate circuit and associated bitstream of steps 202 - 203 . This bitstream is used to program PLD 306 on PLD board 305 . Stimulation hardware 307 is used to accomplish step 205 . Comparison tool 303 is used to accomplish steps 206 A- 206 B. In a particular embodiment, comparison tool 303 is the SoftSell VersaTest system. Circuit adaptation tool 304 accomplishes the modification of the candidate circuit in step 208 and the generation of the associated bitstream in step 203 .

Although the invention has been described in connection with one embodiment, it is understood that this invention is not limited to the embodiment disclosed, but is capable of various modifications which would be apparent to a person skilled in the art. For example, another stimulating test apparatus besides the Softsell VersaTest board may be used to stimulate the PLD in step 205 . Thus, the invention is limited only by the following claims.

Claims as granted

20 claims

Log in to read the claims of this application.

Log in to unlock

Classifications

3 codes
IPC · International Patent Classification
Section G — Physics
  • G06F17/50
USPC · US Patent Classification
716/17716/16

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 zoomApr 2001Jul 2001Oct 2001Jan 2002Apr 2002Jul 2002Oct 2002Jan 2003Apr 2003USPTOApplicantNon-final rejectionResponse after non-final
USPTOApplicanthover for detail · click to open
Pendency
2.0 y
741 days filing → grant
Office actions
1
non-final + final
Responses
1
no RCE
Examiner
Don Wong
art unit 2821 · TC 2800
Citations: 7 back · 60 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 zoom20022004200620082010201220142016201820202022Owner 1
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