1. Field of the Invention
This invention relates generally to encryption. More specifically, this invention relates to implementing a soft key for use with a hard encryption core in programmable logic devices and similar configurable devices.
2. Description of Related Art
A programmable logic device (PLD) is a programmable integrated circuit that allows the user of the circuit, using software control, to customize the logic functions the circuit will perform. Programmable logic devices supplied by integrated circuit manufacturers like Altera Corporation of San Jose, Calif. are not inherently capable of performing any specific function. The user, in conjunction with software supplied by the PLD manufacturer, can program the PLD to perform the specific function or functions required by the user's application. The PLD then can function like a dedicated logic chip.
A typical PLD consists of an array of logic cells that can be individually programmed and interconnected to each other to provide internal input and output signals, thus permitting the performance of highly complex combinational and sequential logic functions. Users typically prepare electronic designs for a PLD using electronic design automation (EDA) software tools, usually provided by the chip vendor, to do technology mapping, partitioning and placement, routing and binary configuration data output generation. The resulting binary configuration data (representing the electronic design) can be programmed into a ROM connected to the PLD or downloaded to the PLD from a connected computer.
By the time the electronic design is created, it typically represents significant time, money and effort. To encourage individuals and companies to continue to invest in the research and development of new electronic designs, and to protect the investment represented by existing completed designs, it is desirable to provide some method of protecting the electronic designs from illegal or otherwise unauthorized copying or use, which has become a more acute problem in the field.
To make an illegal copy of the electronic design intended for a PLD, one need only make a copy of the binary configuration data. This can be done by copying the bit stream transmitted externally between the PLD and the device installing the configuration data, and then using the copied bit stream with a similar PLD. Thus, the copied electronic design can be illegally used with other programmable devices. It therefore is desirable to make it as difficult as possible to copy the binary configuration data that represents the electronic design.
Several techniques have been developed to address the illegal copying of programmable device electronic designs by users of PLDs. The goal of these techniques is to make it impossible (or at least much more difficult) to illegally copy electronic designs and other proprietary information or data. While these efforts have met with some success, they have some shortcomings. For example, some security mechanisms (e.g., encryption algorithms) have been implemented in soft logic where they are more susceptible to attack by reverse engineering from the exposed pins of the programmable device. As such, the binary configuration data can be modified to either remove a disable signal or to change the key to the encryption algorithm.
A technique that permits full use of an electronic design while protecting the proprietary interests of the owners of the intellectual property incorporated in such a design would represent a significant advancement in the art.
To achieve the foregoing, and in accordance with the purpose of the present invention, a technique for integrating a protection circuit with an associated key embedded together with a user's electronic design is provided that makes it impossible (or at least much more difficult) to illegally copy an electronic design and other proprietary information or data associated with a configurable device. For example, a volatile soft key and a hard or soft protection circuit (e.g., a sequence generator, an encryption core, or authorization means) are implemented on a programmable device such that the placement and routing of the key with respect to the protection circuit and user's electronic design are obfuscated.
One aspect of the present invention provides a method for implementing a key associated with a protection circuit for a user electronic design. The user electronic design is received. An assignment to add the protection circuit to the user electronic design is also received. Furthermore, the key associated with the protection circuit is received. The key is combined with the user electronic design in forming a combined design. Configurable data is generated for programming a configurable device with the combined design.
Another aspect of the present invention provides a method for accessing a key associated with a protection circuit for a user electronic design. A configurable device is powered up. The configurable device is coupled to a secure device. The configurable device is programmed with configurable data. The configurable data is generated from a process that includes: (a) receiving the user electronic design; (b) receiving an assignment to add the protection circuit to the user electronic design; (c) receiving the key associated with the protection circuit; (d) combining the key with the user electronic design in forming a combined design; and (e) generating the configurable data with the combined design. The key is accessed. The key is authenticated with the secure device.
Another aspect of the present invention provides a system. The system includes a configurable device, a protection circuit, a configuration block, a secure device, and a communication link between the configurable device and the secure device. The configurable device includes a first key that is combined with a user electronic design and implemented as soft logic on the configurable device. The protection circuit includes a first encryption core. The protection circuit is implemented on the configurable device and arranged to return a first result of the first key operating on the first encryption core. The configuration block is implemented on the configurable device. The configuration block includes binary configuration data for the user electronic design. The secure device includes a second key implemented as hard logic on the secure device and a second encryption core that is identical to the first encryption core. The secure device is external to the configurable device and is arranged to return a second result of the second key operating on the second encryption core. The communication link is arranged to transmit the second result of the secure device to the protection circuit.
Accordingly, aspects of the present invention can be used for creating a secure application in a configurable device that does not have the ability to store the key in a non-volatile manner. In addition, the present invention can be used in situations where reprogramming the key is sought, such as to allow the configurable device to be used in other applications. Further details and advantages of the invention are provided in the following Detailed Description and the associated Figures.
The present invention will be readily understood by the following detailed description in conjunction with the accompanying drawings, wherein like reference numerals designate like structural elements, and in which:
The following detailed description of the invention will refer to one or more embodiments of the invention, but is not limited to such embodiments. The detailed description is intended only to be illustrative. Those skilled in the art will readily appreciate that the detailed description given herein with respect to the Figures is provided for explanatory purposes as the invention extends beyond these limited embodiments.
Embodiments of the present invention will be explained in connection with various specific devices, circuits, applications, etc., herein. These references, however, are for purposes of illustration only and are not intended to limit the present invention in any way. For example, one or more embodiments of the present invention will be explained using programmable logic devices (PLDs) to illustrate the present invention. However, the invention is widely applicable to other devices and in other environments. Moreover, embodiments of the present invention may be used in a wide variety of functions and applications.
Techniques and mechanisms for implementing a cryptographic key and a protection circuit in a configurable device are described herein. According to various embodiments, a soft cryptographic key associated with a protection circuit is combined with a user's electronic design in generating binary configuration data for download onto the configurable device. The placement and routing of the soft key is pseudo-randomly arranged with respect to the user's electronic design such that its placement and/or routing on the configurable device is substantially different for each time binary configuration data is generated, thus effectively hiding the soft key and its connections to the protection circuit and assisting in protecting user electronic designs and other proprietary information.
In this disclosure, a “configurable device” is a programmable logic device that ultimately contains user logic (that is, a user electronic design). Typically, such a device has a volatile memory and must be programmed upon each power-up, though not every configurable device must possess these characteristics. Examples of configurable devices include SRAM PLDs and RAM-based PLDs (for example, Altera FLEX and STRATIX devices).
A “secure device” is a non-volatile programmable device, a custom logic device, a microprocessor or other similar device from which an electronic design cannot be directly determined or read out (such as an Altera MAX device), and which installs user logic and possibly other functionalities into a configurable device from a configuration data memory (a “storage device”). A storage device may be a component separate and distinct from a secure device or the two devices may be integrated to some degree in a single component. Where a storage device and a secure device are distinct, the two devices are connected by a secure link to prevent copying of data transferred between the two devices.
The term “electronic design” generally refers to the logical structure of an integrated circuit or a portion of the circuit. During the design and development effort, an electronic design exists in various states or stages. These include a high level Boolean representation (encoded in a hardware design language for example), a schematic or circuit representation, or any other form representing the logical arrangement of a programmable device. In addition to the circuit structure and behavioral descriptions, the electronic design may specify other details such as floor-plan constraints, waveform constraints, timing constraints, fitting constraints, etc. At the gate level, it may exist as a netlist (whether synthesized or not) prior to placement on a target hardware device. In some cases, it may also include completed place and route assignments.
Any quantity that serves as an initialization value, an incremental value, a seed value, or an encryption algorithm unlocking/decoding value for the protection circuit is herein referred to as a key. The key can be implemented as a soft key (i.e., soft logic) or as a hard key (i.e., hard logic). For example, according to various embodiments of the present invention, a soft key is implemented as soft logic in a configurable device whereas a hard key is implemented as hard logic in a secure device.
To use a configurable device (such as an SRAM-based FPGA), a user creates an electronic design and then uses a software tool to convert the design into specific binary configuration data that can be stored in a storage device, such as an EEPROM. Upon startup, the storage device supplies the configuration data to the configurable device, typically under the control of a secure device, enabling the configurable device to perform the function of the programmed electronic design.
In some cases, the configuration data implements user logic to be used by the configurable device. The configuration data may also have other purposes and these are considered to be within the scope of the present invention. For example, either or both of the configurable device and the secure device might include an integrated microprocessor. Part of the configuration data may then be computer code used by the microprocessors. The microprocessors may implement the functionality of random number generators, encryption and decryption circuits, and comparators that might otherwise be implemented with logic. The actual user logic in the configurable device would still be implemented in the normal fashion—only the other configuration security circuits would be implemented with the microprocessors. Any appropriate manner of storing and using configuration data is deemed to fall within the scope of this invention.
To further understand the techniques and mechanisms for implementing a soft key associated with a protection circuit, an understanding of the architecture of a secure system is helpful. Accordingly,
Configuration data 120 may be provided by any suitable source (for example, an EDA tool, ROM, or computer system on which the configuration data is stored), as will be appreciated by those skilled in the art. When embodiments of the present invention are used, portions of configuration data 120 may be openly readable, eliminating a costly and sometimes complicated step or function (for example, encryption of all of the configuration data) found in some earlier systems. Configuration data 120 is used to allocate the key in any number of storage locations (e.g., in a logic element, in a look-up table, or in a logic array block) in soft logic 106, to provide protection circuit 111 access to the key (e.g., by interconnecting the key to protection circuit 111), and to implement the user's electronic design 112 on configurable device 110.
Configurable device 110 contains the user's design 112 in a volatile manner and secure device 130 acts as a non-volatile authenticator. After programming the configurable device 110 (by first downloading configuration data 120 to a configuration block 104 via an EDA tool 116), configurable device 110 (via protection circuit 111) will send and receive messages and responses via communication link 122 to and from secure device 130. If the responses from secure device 130 match the expected values of configurable device 110, configurable device 110 continues to operate. If the wrong response is received, configurable device 110 performs a kill operation via protection circuit 111 and disables itself.
The authentication is kept secure by using encryption algorithms (such as DES or AES) in configurable device 110 and in secure device 130. Secure device 130 is configured to store a copy of the key to the protection circuit in a non-volatile manner while the configurable device stores a copy of the key to the protection circuit in a volatile manner. For more security than the conventional purely soft implementations on configurable devices, a hard protection circuit 111 (e.g., an encryption core, a sequence generator, or authorization means, etc.) is contained within configurable device 110 to control communication to external secure device 130 and to implement the kill control as determined by the protection circuit 111. In order for the hard protection circuit 111 to operate correctly, it has access to the key. For example, the key is provided by the user while creating the electronic design, or the key is accessed after the configuration data containing the key is programmed onto the configurable device. According to various embodiments of the present invention, the key is stored in a non-volatile manner within the users design and routed to ports 113 of protection circuit 111 via interconnects 114. The design flow and technique in which the key is implemented on the configurable device is further described below in
As shown in
Because the configuration data is a bit stream made of millions and millions of bits, it is impractical for an unauthorized user to determine which bits are used to create aspects of the configurable device's protection circuit 111 (for example, connections to the authorization code generator 214 and authorization means 240) and to determine how to subvert embodiments of the present invention using such a configuration. The user electronic design 112 may either be enabled or disabled initially, in which case the authorization means 240 may include means for disabling or enabling operation of the electronic design 112, respectively.
In the embodiment of the present invention shown in
The encryption algorithm used can be any appropriate encryption algorithm, depending on the security needs of the system. Some encryption algorithms that might be useful include DES, triple DES, AES or any other encryption algorithms that can be used in these types of applications. Others are known to those skilled in the art. Depending on the application or use of the system, strong encryption may be desirable, though it is not necessary in every embodiment and environment in which the present invention might be used. In the embodiment shown in
As will be appreciated by those skilled in the art, additional steps may be performed before or after operation of core 218. For example, after the encryption algorithm of core 218 has finished running for a given sequence value, the authorization code generated may be further manipulated in any appropriate way. In the configuration of
A secure device 130 also is provided in the illustrated system of
In the illustrative system of
As an example of operation of one embodiment of the present invention, when a counter is used as the sequence generator, the two sequence generators start with the same seed value and use the same increment value. Similarly, if the sequence generators are LFSRs (linear feedback shift registers), the same start value must be used, too. Moreover, the cores 218, 236 must use the same key or be otherwise related so that their outputs are identical or can otherwise be compared to verify authorization to use the user's electronic design 112. In some embodiments of the present invention, the key for authorization code generator 232 is implemented in hard logic whereas the key for authorization code generator 214 is provided by the user and stored in soft logic. In some embodiments of the present invention, comparison of the devices' authorization codes may simply involve having the authorization means check that they are identical. In other embodiments, additional manipulation and processing of the devices' codes may be performed.
One way to obtain the various identical values needed for the embodiment of the present invention shown in
Like its twin in the configurable device 110, the output of sequence generator 234 is coupled to an encryption core 236 that is identical to core 218. The output of core 236, which is the authorization code for the secure device 130, is transmitted to the authorization means 240. The secure device 130 may also include user logic 238 or any other logic desired.
The configurable device authorization code (that is, the output of the configurable device authorization code generator 214) is transmitted to authorization means 240. The authorization means 240 is coupled to the user's electronic design 112 or any other programmable logic that a user seeks to implement and use on the configurable device 110 and wishes to protect. As mentioned above, in
If the bit streams do not match one another bit for bit, the user electronic design 112 is or remains disabled. This may be done by initially disabling the user electronic design 112 and only enabling it after authorization code verification, or by initially enabling the user electronic design 112 and sending a kill signal from the authorization means 240 if the authorization codes do not match. Specific methods and techniques for disabling a user's electronic design are not discussed in detail here, as those are well known to those skilled in the art.
At operation 302, a user's electronic design along with an assignment to add a security feature to the user's electronic design are received. For example, an EDA tool accepts the user electronic design files necessary to describe an electronic design for a device such as a PLD. These design files specify the design elements for the design. The assignment can be provided by any suitable manner. For instance, the assignment can be provided automatically or manually based on the nature of the electronic design, type of configurable device being used, or the user indicating a desire for such assignment. Once the assignment has been received, the user is queried for a key to the security feature (i.e., to the protection circuit). As such, operation 302 may also include receiving the key. The key will eventually be used to authenticate the authorized use of the electronic design on the configurable device.
At operation 304, a flattened netlist of the user's electronic design is generated. Operation 304 takes the user electronic design files and generates a flattened netlist representation of the user electronic design. In other words, should the design files include a hierarchy, this hierarchy is flattened out so that each entity referenced in the design is duplicated as many times as it is used. The representation of the user electronic design in this step is preferably a synthesized technology-mapped database that will be appreciated by those of skill in the art. It should be noted that this step can also be done after analysis and elaboration stage, but post technology mapping is preferred. At this point in the compile process, a synthesized netlist of the user electronic design has been created in a flattened state. Typically, generation of such a netlist is referred to as a synthesis operation in the compilation process, after elaboration has occurred.
At operation 306, a protection circuit is inserted into the flattened netlist. The insertion of the protection circuit into the flattened netlist can be done automatically (e.g., it can be triggered by the receipt of the assignment to add a security feature in operation 302). According to a preferred embodiment, insertion of the protection circuit includes identifying a protection circuit on the configurable device so that access to the key can be provided. For example, the protection circuit is identified as an atom in the electronic design. As such, generating interconnects between the protection circuit and the key is facilitated during placement and routing in operation 308. It should be noted that the protection circuit could either be a soft protection circuit (i.e., implemented as soft logic) or a hard protection circuit (i.e., implemented as hard logic).
The received key or identification of the protection circuit on the configurable device can be implemented as an encrypted core, which can be automatically inserted into the user's electronic design. Generally, cores are pre-programmed and pre-verified functional blocks for performing defined tasks in the electronic design. According to the various embodiments of the present invention, the core is dynamically generated. For example, one or more cores can be generated to contain the received key or aspects of the protection circuit as soon as the key is received in operation 302. In many cases, cores can be implemented on a target hardware device where they define at least a portion of the electronic design.
Operation 306 may include generating a gate level representation of the protection circuit. The protection circuit may take a wide variety of forms. By way of example, protection circuit 111 of
Operation 306 may also include connecting the gate level representation of the protection circuit to the flattened representation of the user's electronic design. This operation makes the logic connections from the protection circuit to the key stored in the soft logic. The EDA tool is able to combine the key with the user electronic design and to make the appropriate connection between the key and a port of the protection circuit.
At operation 308, placement and routing are performed. Since the inserted core is encrypted, specific flags can be added to the soft logic that will cause the placement and routing tool to hide the contents of the soft key. This means that no information about what is contained in the core will be generated for easy viewing.
For example, RTL & TechMap viewers will not show the logic, equations will not be written out, a Chip Editor will not show the content of those parts of the chip used by the core, and netlists containing the core will not be written out in unencrypted form.
In general, the soft key and the protection circuit should not communicate (or should at least minimize communications) with any of the other logic in the users design. This will make it more difficult for an unscrupulous user to find the key, thereby securing the user electronic design and other proprietary information or data. The placement tool (e.g., the fitter) will place the logic in the device. According to various embodiments, the fitter will be operable to obfuscate the placement of the key within the user electronic design. Any technique may be used to produce such obfuscation. For example, flags on the soft key (e.g., on the core) can force the fitter to deliberately spread the logic out and intermingle the placement with user logic.
After placement, the router is operable to connect the soft key to the protection circuit. The connection can be performed in a manner similar to the logic analyzer soft logic connection to the JTAG controller as described in U.S. patent application Ser. No. 08/958,435, filed Oct. 27, 1997, now U.S. Pat. No. 6,182,247, which is hereby incorporated by reference. According to one embodiment, the ports of the protection circuit are represented as special destinations in the fitter's routing graph for the device. If the protection circuit has several input ports to obscure which one is actually receiving the key, the router can be made to route dummy signals (via interconnects) to the fake inputs. This information would simply be encoded in the routing graph as specific destination types. The soft key would just connect to the appropriate destination types.
In operation 308, the combined design created in operation 306 is placed and routed in a fashion that will be appreciated by those of skill in the art. The output of the place and route operation is then input to operation 310 in which the output file is assembled. This output file (i.e., configuration data) may then be downloaded to a configurable device in order to program it. Once a configurable device has been programmed with this file, a user may begin use of the protection circuit and embedded keys to authenticate the authorized use of the user's electronic design.
Another method according to one embodiment of the present invention is shown in
At operation 404, the hard protection circuit accesses the soft key. Any suitable technique or mechanism for accessing the key may be used. For example, the hard protection circuit may perform a query for the key.
After the key is accessed, the protection circuit begins authentication with the secure device at operation 406. The secure device and configurable device both have authorization code generators that begin authorization code generation at once in this embodiment. Each secure device sequence value is generated. Thereafter, the secure device sequence value is encrypted to generate the secure device authorization code, after which the secure device authorization code is sent to the hard protection circuit on the configurable device.
Similarly, each configurable device sequence value is generated and is encrypted to generate the configurable device authorization code. Using the authorization means (for example, a comparator), the devices' authorization codes (their encrypted sequence values) are compared by verifying that the authorization codes are identical on a bitwise basis. If the codes are identical, then the operation of the configurable device (user electronic design) is authorized and enabled (if disabled initially) or continued (if enabled initially). If, on the other hand, the authorization codes are not identical, then the operation of the configurable device is disabled (if enabled initially) or not allowed to start (if disabled initially).
The techniques and mechanisms of the present invention are applicable to integrated circuits that support programmability. Integrated circuits that are programmable by a user to produce a custom design include programmable logic devices (PLDs). Programmable logic devices refer to any integrated circuit that may be programmed to perform a desired function and include programmable logic arrays (PLAs), programmable array logic (PAL), field programmable gate arrays (FPGA), complex programmable logic devices (CPLDs), and a wide variety of other logic and memory devices that may be programmed. Some application specific integrated circuits (ASICs) also support some degree of programmability. Often, such PLDs are designed and programmed by a design engineer using an electronic design automation tool that takes the form of a software package.
In one example, an input stage 501 often allows selection and parameterization of components to be used on an electronic device. In some examples, components provided to an input stage include intellectual property functions, megafunctions, and intellectual property cores. The components may be stored and retrieved from a library or database. The input stage 501 may be a graphical user interface using wizards for allowing efficient or convenient entry of information. The input stage may also be a text interface or a program reading a data file such as a spreadsheet, database table, or schematic to acquire selection information. The input stage 501 produces an output containing information about the various components selected.
In typical implementations, the generator program 505 can identify the selections and generate a logic description with information for implementing the various components. The generator program 505 can be a Perl script creating HDL files such as Verilog, Abel, VHDL, and AHDL files from the module information entered by a user. According to various embodiments, the generator program 505 also provides information to a synthesis tool 507 to allow HDL files to be automatically synthesized. In some examples, a logic description is provided directly by a designer. The HDL files may contain technology specific code readable only by a synthesis tool. The HDL files at this point may also be passed to a simulation tool.
As will be appreciated by one of skill in the art, the input stage 501, generator program 505, and synthesis tool 507 can be separate programs. The interface between the separate programs can be a database file, a log, or simply messages transmitted between the programs. For example, instead of writing a file to storage, the input stage 501 can send messages directly to the generator program 505 to allow the generator program to create a logic description. Similarly, the generator program can provide information directly to the synthesis tool instead of writing HDL files. On the other hand, input stage 501, generator program 505, and synthesis tool 507 can be integrated into a single program.
For example, SOPC Builder tool available from Altera Corporation, San Jose, Calif. integrates different stages of the electronic device implementation into a single program while implementing various techniques and mechanisms of the present invention. In particular, SOPC Builder tool provides system-level design flows for SOPC architectures. SOPC Builder tool may automatically generate interconnect logic (e.g., Avalon™ switch fabric) connecting components used in SOPC applications. The components include embedded processors that may either be internal or external to the FPGA and peripherals.
A user may select various components and an integrated program can then take the user selections and output a logic description in the form of a synthesized netlist without intermediate files. Any mechanism for depicting the logic to be implemented on an electronic device is referred to herein as a logic description.
According to various embodiments, a logic description is an HDL file such as a VHDL, Abel, AHDL, or Verilog file. A logic description may be in various stages of processing between the user selection of components and parameters to the final configuration of the device. According to other embodiments, a logic description is a synthesized netlist such as an Electronic Design Interchange Format Input File (EDF file). An EDF file is one example of a synthesized netlist file that can be output by the synthesis tool 507.
A synthesis tool 507 can take HDL files and output EDF files. Tools for synthesis allow the implementation of the logic design on an electronic device. Some of the available synthesis tools are Leonardo Spectrum, available from Mentor Graphics Corporation of Wilsonville, Oreg. and Synplify available from Synplicity Corporation of Sunnyvale, Calif. Various synthesized netlist formats will be appreciated by one of skill in the art.
A verification stage 513 typically follows the synthesis stage 507. The verification stage checks the accuracy of the design to ensure that an intermediate or final design realizes the expected requirements. A verification stage typically includes simulation tools and timing analysis tools. Tools for simulation allow the application of inputs and the observation of outputs without having to implement a physical device. Simulation tools provide designers with cost effective and efficient mechanisms for both functional and timing verification of a design. Functional verification involves the circuit's logical operation independent of timing considerations. Parameters such as gate delays are disregarded.
Timing verification involves the analysis of the design's operation with timing delays. Setup, hold, and other timing requirements for sequential devices such as flip-flops are confirmed. Some available simulation tools include Synopsys VCS, VSS, and Scirocco, available from Synopsys Corporation of Sunnyvale, Calif. and Cadence NC-Verilog and NC-VHDL available from Cadence Design Systems of San Jose, Calif. After the verification stage 513, the synthesized netlist file can be provided to physical design tools 519 including place and route and configuration tools. A place and route tool typically locates logic cells on specific logic elements of a target hardware device and connects wires between the inputs and outputs of the various logic elements in accordance with logic required to implement an electronic design. The device can also be physically tested at 523.
It will be appreciated by those skilled in the art that many of techniques/mechanisms of the present invention can be implemented in various design tools/stages. For example, operation 302 may be implemented in the input stage 501. Also, generating a flattened netlist of the user electronic design (operation 304 in
For programmable logic devices, a programmable logic configuration stage can take the output of the place and route tool to program the logic device with the user selected and parameterized components. According to various embodiments, the place and route tool and the logic configuration stage are provided in the Quartus Development Tool, available from Altera Corporation of San Jose, Calif.
As noted above, different stages and programs can be integrated in a variety of manners. According to one embodiment, the input stage 501, the generator program 505, the synthesis tool 507, the verification tools 513, and physical design tools 519 are integrated into a single program. The various stages are automatically run and transparent to a user. The program can receive the user-selected components, generate a logic description depicting logic for implementing the various selected components, and implement the electronic device. As will be appreciated by one of skill in the art, HDL files and EDF files are mere examples of a logic description. Other file formats as well as internal program representations are other examples of a logic description.
The form of a compiled design according to one or more embodiments of the present invention may be further understood with reference to a hypothetical target hardware device having multiple hierarchical levels. Such a hardware device is represented in
Each row of programmable logic device 600 is further subdivided into two “half-rows.” For example, row 602b is shown to contain a half-row 604a and a half-row 604b. The next lower level of the hierarchy is the “logic array block” (LAB). Half-row 604b, for example, contains three LABs: an LAB 606a, an LAB 606b, and an LAB 606c. Finally, at the base of the hierarchy are several logic elements. Each such logic element exists within a single logic array block. For example, LAB 606c includes two logic elements: a logic element 608a and a logic element 608b.
In short, PLD 600 includes four hierarchical levels: (1) rows, (2) half-rows, (3) LABs, and (4) logic elements (LEs). Any logic element within PLD 600 can be uniquely specified (and located) by specifying a value for each of these four levels of the containment hierarchy. For example, logic element 608b can be specified as follows: row (2), half-row (2), LAB (3), LE (2). To fit a logic design onto a target hardware device such as that shown in
Often, a multi-level hardware hierarchy such as that shown in PLD 600 includes multiple levels of routing lines (interconnects). These connect the uniquely placed logic cells to complete circuits, including connecting the soft key to the hard protection device in accordance to various aspects of the present invention. In PLD 600, for example, four levels of interconnect are provided, one for each of the four hierarchy levels. First a local interconnect such as interconnect 612 is employed to connect two logic elements within the same LAB. At the next level, a LAB-to-LAB interconnect such as interconnect 614 is employed to connect two LABs within the same half-row. At the next higher level, a “global horizontal” interconnect is employed to connect logic elements lying in the same row but in different half-rows. An example of a global horizontal interconnect is interconnect 616 shown in row 602b. Another global horizontal interconnect is shown as interconnect 618, linking logic elements within row 602d. Finally, a “global vertical” interconnect is employed to link a logic element in one row with a logic element in a different row. For example, a global vertical interconnect 622 connects a logic element in the first LAB of the second half-row of row 602c to two separate logic elements in row 602d. In the embodiment shown, this is accomplished by providing global vertical interconnect 602 between the above-described logic element in row 602c to global horizontal interconnect 618 in row 602d. Consistent with the architecture of Altera Corporation's FLEX 10K CPLD, global vertical interconnects are directly coupled to the logic element transmitting a signal and indirectly coupled (through a global horizontal interconnect) to the logic elements receiving the transmitted signal.
In a target hardware device, there will be many paths available for routing a given signal line. During the routing stage, these various possible routing paths must be evaluated to determine which is best for the design being fit. The interconnect structure and overall architecture of the Altera FLEX 10K family of PLDs is described in much greater detail in U.S. Pat. No. 5,550,782, issued Aug. 27, 1996, naming Cliff et al. as inventors, and entitled “PROGRAMMABLE LOGIC ARRAY INTEGRATED CIRCUITS.” That patent is incorporated herein by reference for all purposes. Additional discussion of the FLEX 10K and other PLD products may be found in other publications from Altera Corporation of San Jose, Calif.
Briefly, in the FLEX 10K architecture, there are at least three rows, with two half-rows per row, and twelve LABs per half-row. Each LAB includes eight logic elements each of which, in turn, includes a 4-input look-up table, a programmable flip-flop, and dedicated signal paths for carry and cascade functions. The eight logic elements in an LAB can be used to create medium-sized blocks of logic—such as 9-bit counters, address decoders, or state machines—or combined across LABs to create larger logic blocks. According to various embodiments of the present invention, the key provided by the user is stored in one or more look-up tables upon programming the programmable logic device.
It should be understood that the present invention is not limited to the Altera FLEX 10K architecture or any other hardware architecture for that matter. In fact, it is not even limited to programmable logic devices. It may be employed generically in target hardware devices as broadly defined above and preferably in application specific integrated circuit designs. PLDs are just one example of ASICs that can benefit from application of the present invention.
The invention further relates to systems employing such programmable logic devices.
The system 702 can be used in a wide variety of applications, such as computer networking, data networking, instrumentation, video processing, digital signal processing, or any other application where the advantage of using reprogrammable logic is desirable. The PLD 700 can be used to perform a variety of different logic functions.
This invention also relates to using a computer system according to one or more embodiments of the present invention.
A mass storage device 808 also is coupled bi-directionally to CPU 802 and provides additional data storage capacity and may include any of the computer-readable media described above, including a computer program product comprising a machine readable medium on which is provided program instructions according to one or more embodiments of the present invention. The mass storage device 808 may be used to store programs, data and the like and is typically a secondary storage medium such as a hard disk that is slower than primary storage. It will be appreciated that the information retained within the mass storage device 808, may, in appropriate cases, be incorporated in standard fashion as part of primary storage 806 as virtual memory. A specific mass storage device such as a CD-ROM may also pass data uni-directionally to the CPU.
CPU 802 also is coupled to an interface 810 that includes one or more input/output devices such as such as video monitors, track balls, mice, keyboards, microphones, touch-sensitive displays, transducer card readers, magnetic or paper tape readers, tablets, styluses, voice or handwriting recognizers, or other well-known input devices such as, of course, other computers. Finally, CPU 802 optionally may be coupled to a computer or telecommunications network using a network connection as shown generally at 812. With such a network connection, it is contemplated that the CPU might receive information from the network, or might output information to the network in the course of performing the above-described method steps. The above-described devices and materials will be familiar to those of skill in the computer hardware and software arts.
The hardware elements described above may define multiple software modules for performing one or more steps and/or operations according to embodiments of the present invention. For example, instructions for running a design tool (e.g., EDA tool) or any other appropriate program may be stored on mass storage device 808 or 804 and executed on CPU 802 in conjunction with primary memory 806. In synthesizing a design from a simulation version, a user may use a compiler to generate the design for implementation on hardware.
The many features and advantages of the present invention are apparent from the written description, and thus, the appended claims are intended to cover all such features and advantages of the invention. Further, since numerous modifications and changes will readily occur to those skilled in the art, the present invention is not limited to the exact construction and operation illustrated and described. Therefore, the described embodiments are illustrative and not restrictive, and the invention should not be limited to the details given herein but should be defined by the following claims and their full scope of equivalents, whether foreseeable or unforeseeable now or in the future.
This application is a continuation-in-part of U.S. patent application Ser. No. 10/938,220, filed Sep. 10, 2004, entitled “Method And Apparatus For Protecting Designs In SRAM-Based Programmable Logic Devices And The Like” which is hereby incorporated by reference.
Number | Name | Date | Kind |
---|---|---|---|
4435752 | Winkelman | Mar 1984 | A |
RE31736 | Mueller et al. | Nov 1984 | E |
4609986 | Hartmann et al. | Sep 1986 | A |
4617479 | Hartmann et al. | Oct 1986 | A |
4642487 | Carter | Feb 1987 | A |
4677318 | Veenstra | Jun 1987 | A |
4706216 | Carter | Nov 1987 | A |
4713792 | Hartmann et al. | Dec 1987 | A |
4774421 | Hartmann et al. | Sep 1988 | A |
4871930 | Wong et al. | Oct 1989 | A |
4899067 | So et al. | Feb 1990 | A |
4912342 | Wong et al. | Mar 1990 | A |
5033084 | Beecher | Jul 1991 | A |
5081675 | Kittirutsunetorn | Jan 1992 | A |
5121006 | Pedersen | Jun 1992 | A |
5148485 | Dent | Sep 1992 | A |
5177790 | Hazard | Jan 1993 | A |
5220214 | Pedersen | Jun 1993 | A |
5260610 | Pedersen et al. | Nov 1993 | A |
5260611 | Cliff et al. | Nov 1993 | A |
5350954 | Patel | Sep 1994 | A |
5371422 | Patel et al. | Dec 1994 | A |
5375240 | Grundy | Dec 1994 | A |
5388157 | Austin | Feb 1995 | A |
5450022 | New | Sep 1995 | A |
5457408 | Leung | Oct 1995 | A |
5459673 | Carmean et al. | Oct 1995 | A |
5463561 | Razdan | Oct 1995 | A |
5479512 | Weiss | Dec 1995 | A |
5513262 | Van Rumpt et al. | Apr 1996 | A |
5541849 | Rostoker et al. | Jul 1996 | A |
5544066 | Rostoker et al. | Aug 1996 | A |
5548228 | Madurawe | Aug 1996 | A |
5553002 | Dangelo et al. | Sep 1996 | A |
5563592 | Cliff et al. | Oct 1996 | A |
5581198 | Trimberger | Dec 1996 | A |
5594793 | Bahout | Jan 1997 | A |
5636281 | Antonini | Jun 1997 | A |
5748744 | Levy et al. | May 1998 | A |
5757908 | Cooper et al. | May 1998 | A |
5768372 | Sung et al. | Jun 1998 | A |
5778070 | Mattison | Jul 1998 | A |
5799085 | Shona | Aug 1998 | A |
5802376 | DeRoo et al. | Sep 1998 | A |
5828753 | Davis | Oct 1998 | A |
5835594 | Albrecht et al. | Nov 1998 | A |
5838901 | Curd et al. | Nov 1998 | A |
5841967 | Sample et al. | Nov 1998 | A |
5844986 | Davis | Dec 1998 | A |
5867395 | Watkins et al. | Feb 1999 | A |
5870308 | Dangelo et al. | Feb 1999 | A |
5875112 | Lee | Feb 1999 | A |
5889266 | Schrenk | Mar 1999 | A |
5892900 | Ginter et al. | Apr 1999 | A |
5903578 | De et al. | May 1999 | A |
5915017 | Sung et al. | Jun 1999 | A |
5963454 | Dockser et al. | Oct 1999 | A |
5970142 | Erickson | Oct 1999 | A |
5982683 | Watson et al. | Nov 1999 | A |
5991880 | Curd et al. | Nov 1999 | A |
5995623 | Kawano et al. | Nov 1999 | A |
6012033 | Vanden Berge | Jan 2000 | A |
6018581 | Shona et al. | Jan 2000 | A |
6023565 | Lawman et al. | Feb 2000 | A |
6026220 | Cleereman et al. | Feb 2000 | A |
6102961 | Lee et al. | Aug 2000 | A |
6102963 | Agrawal | Aug 2000 | A |
6118869 | Kelem et al. | Sep 2000 | A |
6120549 | Goslin et al. | Sep 2000 | A |
6122378 | Yoshiura et al. | Sep 2000 | A |
6157317 | Walker | Dec 2000 | A |
6173245 | Karchmer et al. | Jan 2001 | B1 |
6205572 | Dupenloup | Mar 2001 | B1 |
6212639 | Erickson et al. | Apr 2001 | B1 |
6216255 | Ito et al. | Apr 2001 | B1 |
6216258 | Mohan et al. | Apr 2001 | B1 |
6243851 | Hwang et al. | Jun 2001 | B1 |
6246254 | Choukalos et al. | Jun 2001 | B1 |
6263483 | Dupenloup | Jul 2001 | B1 |
6289498 | Dupenloup | Sep 2001 | B1 |
6292931 | Dupenloup | Sep 2001 | B1 |
6308299 | Burch et al. | Oct 2001 | B1 |
6317872 | Gee et al. | Nov 2001 | B1 |
6324672 | Lawman et al. | Nov 2001 | B1 |
6324678 | Dangelo et al. | Nov 2001 | B1 |
6336107 | Uchida et al. | Jan 2002 | B1 |
6346427 | Gardner et al. | Feb 2002 | B1 |
6378123 | Dupenloup | Apr 2002 | B1 |
6421251 | Lin | Jul 2002 | B1 |
6446243 | Huang et al. | Sep 2002 | B1 |
6467072 | Yang et al. | Oct 2002 | B1 |
6480027 | Ngai et al. | Nov 2002 | B1 |
6487699 | Devins et al. | Nov 2002 | B1 |
6490711 | Buckley, Jr. | Dec 2002 | B2 |
6507592 | Hurvig et al. | Jan 2003 | B1 |
6536028 | Katsioulas et al. | Mar 2003 | B1 |
6546507 | Coyle et al. | Apr 2003 | B1 |
6557020 | Amano et al. | Apr 2003 | B1 |
6557159 | Kutzschebauch et al. | Apr 2003 | B1 |
6587995 | Duboc et al. | Jul 2003 | B1 |
6609244 | Kato et al. | Aug 2003 | B2 |
6633788 | Riley et al. | Oct 2003 | B1 |
6647494 | Drews | Nov 2003 | B1 |
6654889 | Trimberger | Nov 2003 | B1 |
6658045 | Jin | Dec 2003 | B1 |
6662283 | Brun et al. | Dec 2003 | B1 |
6697948 | Rabin et al. | Feb 2004 | B1 |
6708322 | Ito | Mar 2004 | B2 |
6745358 | Watkins | Jun 2004 | B1 |
6784903 | Kodosky et al. | Aug 2004 | B2 |
6836877 | Dupenloup | Dec 2004 | B1 |
6910199 | Sachs | Jun 2005 | B2 |
6976239 | Allen et al. | Dec 2005 | B1 |
6981153 | Pang et al. | Dec 2005 | B1 |
7024345 | Stamm et al. | Apr 2006 | B1 |
7107569 | Ito | Sep 2006 | B2 |
7117373 | Trimberger et al. | Oct 2006 | B1 |
7131091 | Ganesan et al. | Oct 2006 | B1 |
7197647 | Van Essen et al. | Mar 2007 | B1 |
7218251 | Tsutsui et al. | May 2007 | B2 |
7224801 | Abdo et al. | May 2007 | B2 |
7242766 | Lyle | Jul 2007 | B1 |
7409652 | Fox et al. | Aug 2008 | B1 |
7434065 | Rodgers et al. | Oct 2008 | B2 |
7454323 | Bain | Nov 2008 | B1 |
7484081 | Langhammer et al. | Jan 2009 | B1 |
7509548 | Mates | Mar 2009 | B2 |
7581117 | Irving et al. | Aug 2009 | B1 |
7647575 | Koga et al. | Jan 2010 | B2 |
20010001881 | Mohan et al. | May 2001 | A1 |
20010021926 | Schneck et al. | Sep 2001 | A1 |
20010032318 | Yip et al. | Oct 2001 | A1 |
20010037458 | Kean | Nov 2001 | A1 |
20010052072 | Jung | Dec 2001 | A1 |
20020003435 | Andrews et al. | Jan 2002 | A1 |
20020003436 | Andrews et al. | Jan 2002 | A1 |
20020008540 | Britton et al. | Jan 2002 | A1 |
20020010902 | Chen et al. | Jan 2002 | A1 |
20020031166 | Subramanian et al. | Mar 2002 | A1 |
20020112140 | Miyamori | Aug 2002 | A1 |
20020138244 | Meyer | Sep 2002 | A1 |
20020168067 | Kouzminov | Nov 2002 | A1 |
20020199110 | Kean | Dec 2002 | A1 |
20020199142 | Gefen | Dec 2002 | A1 |
20030018630 | Indeck et al. | Jan 2003 | A1 |
20030052710 | Lasselet Goldfinch | Mar 2003 | A1 |
20030057996 | Lasselet Goldfinch | Mar 2003 | A1 |
20030145286 | Pajak et al. | Jul 2003 | A1 |
20030145297 | Cote et al. | Jul 2003 | A1 |
20030188275 | Meares | Oct 2003 | A1 |
20030208681 | Muntz et al. | Nov 2003 | A1 |
20030221151 | Agarwal | Nov 2003 | A1 |
20030229877 | Bersch et al. | Dec 2003 | A1 |
20040000927 | Dante | Jan 2004 | A1 |
20040010739 | Odom et al. | Jan 2004 | A1 |
20040017221 | Agarwal | Jan 2004 | A1 |
20040036500 | Bratt | Feb 2004 | A1 |
20040044970 | Anderson et al. | Mar 2004 | A1 |
20040080999 | Madurawe | Apr 2004 | A1 |
20040119098 | Or-Bach et al. | Jun 2004 | A1 |
20040145942 | Leijten-Nowak | Jul 2004 | A1 |
20040194049 | Mizumaki | Sep 2004 | A1 |
20040243384 | Chen et al. | Dec 2004 | A1 |
20050001652 | Malik et al. | Jan 2005 | A1 |
20050071639 | Rodgers et al. | Mar 2005 | A1 |
20050125642 | Kimura | Jun 2005 | A1 |
20050182979 | Gross et al. | Aug 2005 | A1 |
20050229128 | Sripada | Oct 2005 | A1 |
20050246602 | Bahl et al. | Nov 2005 | A1 |
20050254665 | Vaudrey et al. | Nov 2005 | A1 |
20050280438 | Park | Dec 2005 | A1 |
20050289355 | Kitariev et al. | Dec 2005 | A1 |
20060055421 | Siemers | Mar 2006 | A1 |
20060059345 | Fayad et al. | Mar 2006 | A1 |
20060059368 | Fayad et al. | Mar 2006 | A1 |
20060059369 | Fayad et al. | Mar 2006 | A1 |
20060059372 | Fayar et al. | Mar 2006 | A1 |
20060059373 | Fayad et al. | Mar 2006 | A1 |
20060059574 | Fayad et al. | Mar 2006 | A1 |
20060146596 | Madurawe | Jul 2006 | A1 |
20060197552 | Lawson et al. | Sep 2006 | A1 |
20060209584 | Devadas et al. | Sep 2006 | A1 |
20070011578 | Lewis et al. | Jan 2007 | A1 |
20070124645 | Ito et al. | May 2007 | A1 |
20070188188 | Or-Bach et al. | Aug 2007 | A1 |
20070288765 | Kean | Dec 2007 | A1 |
20080021888 | Miller | Jan 2008 | A1 |
20080030226 | Goodnow et al. | Feb 2008 | A1 |
20080270805 | Kean | Oct 2008 | A1 |
Entry |
---|
Minnick, R.C., “A Survery of Microcellular Research,” Journal of Association for Computing Machinery, vol. 14, No. 2, pp. 203-241, Apr. 1967. |
Wahlstrom, S.E., “Programmable Logic Arrays—Cheaper by the Millions,” Electronics, Dec. 11, 1967, pp. 90-95. |
A. Mukhopadhyay, Recent Developments in Switching Theory, ed., Academic Press, Chapters VI-IX, pp. 229-254 and 369-422, 1971. |
Langhammer et al., “Method and Apparatus for Protecting Designs In Sram-Based Programmable Logic Devices and the Like,” U.S. Appl. No. 09/975,094, filed Oct. 10, 2001. |
“A Developers Guide to the Design of MegaWizard® Megafunction Wizards,” Documentation for Developers Provided with Final Product Release, Jun. 30, 1998. |
“Altera Megafunctions,” provided on Altera Corporation's World Wide Web Home Page (www.altera.com), prior to Jan. 11, 1999. |
“AMPP Megafunction: Telephone Tone Generation Megafunction,” Provided on Altera Corporation's World Wide Web Home Page (www.altera.com), prior to Jan. 11, 1999. |
“Introduction to Megafunctions,” provided on Altera Corporation's World Wide Web Home Page (www.altera.com), prior to Jan. 1998. |
“Mega Wizard Plug-Ins,” provided on Altera Corporation's World Wide Web Home Page (www.altera.com), prior to Jan. 11 1999. |
Cooke, L.H., “VSIA—Its advantage four different perspectives”, IEEE, 1997. |
Draft Developer's Documentation sent to Developers with Sample Code for Testing, Jan. 26, 1998. (“MegaWizard® Plug-In Manager-Megafunction Wizards Information Exchange Requirements”). |
Gupta et al., “Introducing Core-Based System Design,” Design & Test of Computers, IEEE, vol. 14, Issue: 4, pp. 15-25, 1997. |
Hong et al., “Behavioral Synthesis Techniques for Intellectual Property Protection,” Proceedings of the 36th Annual Conference on Design Automation (DAC '99), pp. 849-854, 1999. |
Intellectual property protection development working group, “Intellectual property protection: schemes, alternatives and discussion”, Aug. 2000. |
Kahng et al., “Watermarking techniques for intellectual property protection,” Design Automation Conference, Jun. 1998. |
Lach et al., “FPGA Fingerprinting Techniques for Protecting Intellectual Property,” Proceedings of CICC, 4 pages, 1998. |
Lach et al., “Robust FPGA Intellectual property protection through multiple small watermarks”, ACM Jul. 1999. |
Lach et al., “Signature hiding techniques for FPGA intellectual property protection,” ACM 1998. |
Langhammer et al., “Method and Apparatus for Limiting Use of Ip”, Altera Corporation, U.S. Appl. No. 11/145,458, filed Jun. 2, 2005, pp. 1-35. |
Michael Barr: “How Programmable Logic Works”, Embedded Systems Programming, Jun. 1999, pp. 75-84. In the paragraph entitled: “Device Programming”. |
Molson et al., “Method and Apparatus for Providing a Protected Intellectual Property Hardware”, Altera Corporation, U.S. Appl. No. 09/823,700, filed Mar. 30, 2001, pp. 1-30. |
Molson et al., “Method and Apparatus for Providing Protected Intellectual Property”, Altera Corporation, U.S. Appl. No. 11/372,599, filed Mar. 10, 2006, pp. 1-27. |
PowerPoint® presentation describing “Megafunction Wizard” functionality made Nov. 1997. |
Press Release from Altera Corporation, Altera's Mega Wizard Plug-Ins Offer the First Too-Independent Parameterized Logic Cores, Feb. 2, 1998. |
U.S. Office Action dated Feb. 13, 2009, U.S. Appl. No. 10/938,220. |
U.S. Office Action dated May 12, 2008, U.S. Appl. No. 10/938,220. |
U.S. Office Action dated Oct. 28, 2009, U.S. Appl. No. 10/938,220. |
U.S. Notice of Allowance dated Jun. 9, 2010, U.S. Appl. No. 10/938,220. |
Number | Date | Country | |
---|---|---|---|
Parent | 10938220 | Sep 2004 | US |
Child | 11490764 | US |