1. Field of the Invention
The present invention relates to logic circuit emulation systems. In particular, the present invention relates to providing data transport across practically asynchronous portions of a logic circuit emulation system.
2. Discussion of the Related Art
A typical emulation system for a large logic circuit is described, for example, in U.S. Pat. No. 5,761,484, entitled “Virtual Interconnections For Reconfigurable Logic Systems,” to Agarwal et al. Such an emulation system is often used during the development of an integrated circuit to simulate circuit operation and circuit performance. In such a system, the designer provides a logic netlist that is then partitioned by the emulation system for implementing an emulation circuit configured in a number of programmable logic devices (e.g., field programmable gate arrays or FPGAs). These programmable logic circuits (PLDs) are typically provided on one or more circuit boards in the emulation system, with each circuit board containing a number of these programmable logic devices connected in a convenient topology.
Many techniques for efficiently implementing the emulation circuit have been developed. For example, U.S. Pat. No. 5,761,484, entitled “Virtual Interconnections for Reconfigurable Logic Systems” to Agarwal et al., provides an efficient method to route signals between the PLDs by “multiplexed data transport,” i.e., sharing input or output pins among many input or output signals. In one implementation of that system, a clock signal (“virtual clock”) of many times the frequency of the system clock is used for these input and output signals. U.S. Pat. No. 5,854,752, entitled “Circuit Partitioning Technique For Use With Multiplexed Interconnections” to Agarwal, provides an efficient way of circuit partitioning that achieves high utilization of the available resources in the PLDs. U.S. Pat. Nos. 5,659,716 and 5,850,537, both entitled “Pipelined Static Router And Scheduler For Configurable Logic System Performing Simultaneous Communications and Computation” to Selvidge et al., disclose methods for efficiently routing among PLDs signals under timing constraints. U.S. Pat. No. 5,802,348, entitled “Logic Analysis System For Logic Emulation Systems” to Stewart et al., provides logic analyzer functions to be used in analyzing the operations within the emulation circuit.
In a large logic circuit, circuit operations are controlled by one or more clock signals. Thus, proper handling of clock signals is important to achieve a successful emulation of a logic circuit. For example, U.S. Pat. No. 5,649,176, entitled “Transition Analysis And Circuit Resynthesis Method and Device For Digital Circuit Modeling,” discloses using an internal clock signal outside of the timing signals of the logic circuit to control the internal operations of the emulation circuit. In a typical emulation system, a single clock signal is distributed throughout the emulated logic circuit to provide synchronization. While this clock distribution scheme is conventional in an emulation circuit configured in PLDs in very close proximity (e.g., PLDs on a single circuit board, or on different circuit boards interconnected on a single backplane bus), such a clock signal cannot be provided between PLDs separated by a relatively large distance (e.g., PLDs on circuit boards on different chassis) or at high clock frequencies, such as those used for multiplexed data transport. In such a system, there may be large clock skews at different points of the system relative to the clock period that cannot be reliably estimated. Thus, practically, those different points of the system are effectively asynchronous relative to each other. Thus, there is a need for a reliable method for transporting data between distinct asynchronous components of a system, without relying on a common clock signal distributed throughout.
Asynchronous communication can be carried out by: (a) providing explicit flow control signals, (b) embedding a clock signal in a data signal, and extracting the clock signal in a decoding circuit during decoding, and (c) providing a frequency-controlled clock signal, and encoding both data and clock phase, and reconstructing clock signal phase during decoding.
The present invention provides methods and systems for reliably transmitting data across two emulation systems that are substantially asynchronous relative to each other.
According to one embodiment of the present invention, method for transmitting a data packet between asynchronous systems includes: (a) providing a transmit clock signal of a predetermined frequency; (b) transmitting a framing sequence serially over a connection between the asynchronous systems, in accordance with the transmit clock signal; and (c) subsequent to transmitting the framing sequence, transmitting the data packet serially over the connection. Under that method, each bit in the framing sequence and the data packet is transmitted over two transmit clock periods. Symmetrically, one embodiment of the present invention provides a method for receiving a data packet between asynchronous systems, which includes: (a) providing a receive clock signal of a predetermined frequency; (b) detecting a framing sequence transmitted serially over a connection between the asynchronous systems, in accordance with a receive clock signal; and (c) subsequent to receiving the framing sequence, receiving the data packet serially over the connection. Under that receiving method also, each bit in said framing sequence and said data packet is received over two receive clock periods.
According to another aspect of the present invention, an emulation system is provided that includes: (a) a circuit board provided with programmable logic devices for implementing an emulation circuit and a transceiver circuit, the circuit board receiving a clock signal of a predetermined frequency; (b) a controller coupled to a host computer, the controller having a transceiver circuit for communicating with the transceiver circuit of the circuit board and also receiving a clock signal of the predetermined frequency; and (c) a connection between said transmitter circuit and the receiver circuit. In this emulation system, each bit of data transmitted over the connection has a duration of two or more periods of the clock signal received at the circuit board. In one implementation, the clock signal received at the circuit board and the clock signal received at the controller are provided by a common source. Alternatively, the clock signals for the transmitter circuit and the receiver circuit are generated independently. Such a clock signal can be provided by a virtual clock signal, or can be provided by a clock signal twice the frequency of the virtual clock signal. Using a transmit clock signal at twice the frequency of the virtual clock signal allows data to be transmitted at the virtual clock rate between the controller and the circuit board.
In a second embodiment, the method of the present invention is applied to two circuit boards housed on different chassis of an emulation system.
The present invention is better understood upon consideration of the detailed description below and the accompanying drawings.
a is a block diagram of transmitter circuit 400 according to one embodiment of the present invention
b is state diagram 450 that illustrates the control operations of control circuit 405.
a is a block diagram of receiver circuit 500 in accordance with one embodiment of the present invention.
b is state diagram 550 showing the control operations of control circuit 506.
The present invention is applicable to an emulation system, such as that shown in
According to one embodiment of the present invention, data can be communicated over terminals 103, 104, 107 and 108 without a common low-skew clock signal synchronized throughout emulation system 100. Instead, each of circuit board groups 101 and 102, and controller 105 has access to a clock signal of a common predetermined frequency. Access to such a clock signal can be provided, for example, by transmitting a master clock throughout the system, even though the phase relationship between any two points receiving this clock signal cannot be easily determined. In one embodiment, controller 105 receives a clock signal common with one of circuit board groups 101 and 102. Alternatively, each device can generate a clock signal of the specified frequency locally. In one embodiment, each of circuit board groups 101 and 102 generates its own common frequency clock signal. In either situation, the phase of each clock signal in circuit board groups 101, 102 and controller 105 relative to each other is undetermined. For such clock signals, the total number of bits (“data size”) per transmission is substantially given by the following constraint which is a function of the tolerance of frequency variation (Δf):
where data—size is the number of bits in the transmission, T is the nominal clock period, Tsetup and Thold are, respectively, the setup and the hold times, and Tskew is the accumulated skew in the rise and fall times, due to propagation rate variations. In one embodiment, a data size of in excess of 100 bits is achievable. The data packet may be provided as fixed size or variable size.
According to one embodiment of the present invention, data is sent between circuit board groups 101 and 102, and controller 105 at one-half the predetermined frequency of the clock signal in these circuits.
A phase recovery circuit 300 for a receiver detects a “framing sequence” transmitted on data signal 202.
a is a block diagram of transmitter circuit 400 according to one embodiment of the present invention. As shown in
b shows state diagram 450 that illustrates the control operations of control circuit 405. Initially, transmitter circuit 400 is in an idle state 451 until “data ready” signal 408 is asserted to indicate valid data on data bus 403. During this period, a logic “0” is repeatedly transmitted on serial line 407. When data ready signal 408 is asserted, the data on bus 403 is latched into data output circuit 401, and control circuit 405 enters state 452 in which the framing sequence is transmitted. In this embodiment, if the last data packet was sent more than two transmit clock cycles ago, only a logic “1” bit is transmitted in the next two cycles. Otherwise, a logic “0” is transmitted for two transmit clock cycles to ensure that the packets are separated by at least two clock cycles. After the framing sequence is transmitted, control circuit 405 enters state 453 in which the data latched into data output circuit 401 is serialized and transmitted on serial line 407 bit by bit, each bit being sent over two transmit clock cycles. At the end of data transmission, the parity data computed in parity generation circuit 402 is transmitted on serial line 407. The data packet is at that point completely transmitted. Control circuit 405 then returns to idle state 451. A reset signal can be provided to reset control circuit 405 back to state 451 at any time.
a is a block diagram of receiver circuit 500 in accordance with one embodiment of the present invention. As shown in
b shows state diagram 550 that illustrates the control operations of control circuit 506. Initially, control circuit 505 waits in state 551 for a “go” or ready signal to be asserted. When the go signal is asserted, control circuit 505 enters state 552 in which phase detector circuit 503 samples terminal 512 to detect the framing sequence. Once the framing sequence is detected, control circuit 505 enters state 553 in which data receiving circuit 504 and parity detection circuit 505 samples serial data 507 until the expected number of bits in the data packet are sampled. Control circuit 505 then returns to state 551 for at least two cycles until the go signal is asserted. A reset signal can be provided to reset control circuit 506 back to state 551 at any time.
Transmitter circuit 400 and receiver circuit 500 can be incorporated in an emulation circuit where data signals are to be sent between circuit boards that may reside in different chassis of the emulation system.
In portion 603 of emulation circuit 600, data received on connecting wire 603 is demultiplexed according to epoch and provided to receivers 611i to 611k respectively. Receivers 611i to 611k can each be implemented by receiver 500 described above. The output values of receivers 611i to 611k are provided to user logic circuit 612 along with corresponding signals in IO blocks 610i to 610k.
Although the present invention is illustrated above using examples of wires carrying data in one direction, the present invention allows data to be communicated in both directions using one or more wires, by providing both transmitters and receivers at each interface.
Emulation system 701 includes user logic circuits 712, input/output buffers 713-1 to 713-i, transmitter 710, receiver 711 and control circuit 714. During operation, data to be transmitted from emulation system 701 to controller 702 or host system 750 are provided over input/output buffers 713-1 to 713-i to be transmitted over serial interface 730 to controller 702 and host system 750. Data from controller 702 or host system 750 are provided over serial interface 730 to receiver 711, which then provides the data to user logic circuits 712. User logic circuits 712, input/output buffers 713-1 to 713-i, transmitter 710, receiver 711 and control circuit 714 can all be configured in the programmable logic circuits (e.g., FPGAS) of emulation system 701.
As shown in
The detailed description above is provided to illustrate specific embodiments of the present invention and is not intended to be limiting. Numerous modifications and variations within the scope of the present invention are possible. The present invention is set forth in the following claims.
Number | Name | Date | Kind |
---|---|---|---|
3873920 | Apple, Jr. et al. | Mar 1975 | A |
5297181 | Barr et al. | Mar 1994 | A |
5596742 | Agarwal et al. | Jan 1997 | A |
5649176 | Selvidge et al. | Jul 1997 | A |
5659716 | Selvidge et al. | Aug 1997 | A |
5761484 | Agarwal et al. | Jun 1998 | A |
5802348 | Stewart et al. | Sep 1998 | A |
5847578 | Noakes et al. | Dec 1998 | A |
5850537 | Selvidge et al. | Dec 1998 | A |
5854752 | Agarwal | Dec 1998 | A |
5943490 | Sample | Aug 1999 | A |
5960191 | Sample et al. | Sep 1999 | A |
6061511 | Marantz et al. | May 2000 | A |
6836757 | Swoboda | Dec 2004 | B1 |
Number | Date | Country |
---|---|---|
0 286 609 | Oct 1988 | EP |
1 077 532 | Feb 2001 | EP |
WO 9406210 | Mar 1994 | WO |