Circuit simulation using precision-space concept

Information

  • Patent Application
  • 20070005325
  • Publication Number
    20070005325
  • Date Filed
    June 30, 2005
    19 years ago
  • Date Published
    January 04, 2007
    17 years ago
Abstract
An arrangement is provided for using a precision space (“p-space”) to represent s-parameters when analyzing/simulating a circuit/network. The p-space is one dimensional with a value range corresponding to the value range of s-parameters. The p-space is divided into multiple slots where the number of slots may depend on the permissible precision of s-parameter values. A mapping relationship between s-parameters and p-space slots may be obtained by partitioning an s-parameter matrix. Based on the mapping relationship, p-space representations of original s-parameters may be generated through a forward projection process from s-parameters in a two-dimensional matrix to the one-dimensional p-space. During the simulation process, a p-space representation may be projected back to original s-parameters in a matrix based on the mapping relationship.
Description
BACKGROUND

1. Field


This disclosure relates generally to design, analysis, and/or simulation of a circuit or a network and, more specifically, to circuit/network simulation using scattering parameters (s-parameters).


2. Description


Traditionally, passive circuits are analyzed and simulated as networks of linear lumped devices. For example, a circuit may be modeled using only resistors or combinations of resistors, capacitors, and inductors. One advantage of such lumped network models is that they are simple and relatively easy to simulate. For a complex circuit, however, such a lumped device approach may result in a network model too complex for a simulator. When this situation occurs, the circuit may have to be first partitioned into smaller sub-circuits and each sub-circuit is then individually simulated. The simulation results from individual sub-circuits are finally patched together. Although the patched-together result may provide some characteristics of the original complex circuit, the coupling effects among different sub-circuits will have to be approximated or entirely ignored. Thus, it may be difficult to obtain accurate overall characteristics of a complex circuit using lumped network approaches. Additionally, although lumped network models may work well at lower frequencies, they may not fully capture the physical phenomena of a target circuit at higher frequencies. This is partly because coupling effects between components in the target circuit can become more significant at high frequencies than at low frequencies.


To better capture the characteristics of certain circuits/networks (e.g., bus structures or power grids) at high frequencies, transmission line models are often used to represent the circuit/network. Using this model, voltage, current, and power are naturally in the form of traveling waves along transmission lines, which in turn are represented in terms of resistance (R), capacitance (C), inductance (L), and admittance (G) networks. Although transmission line based models may be more accurate for modeling certain networks at high frequencies than the lumped device models, they do not work well for a network involving true three dimensional effects. For a large network, partitioning the network can be difficult using this model; thus, the capacity limit can be quickly reached in a practical application.




BRIEF DESCRIPTION OF THE DRAWINGS

The features and advantages of the disclosed subject matter will become apparent from the following detailed description of the present disclosure in which:



FIGS. 1A-1C illustrate a two-port network and its s-parameter and y-parameter representations;



FIGS. 2A and 2B depict s-parameter and y-parameter representations of a multiple-port network;



FIG. 3 illustrates a mapping between a two-dimensional (2D) s-parameter matrix to a one-dimensional (1D) precision space (p-space);



FIG. 4 illustrates one example mapping from 2D s-parameters to a 1D p-space;



FIG. 5 illustrates example partitioning of a 2D s-parameter matrix when mapping 2D s-parameters to a 1D p-space;



FIG. 6 shows one example system that performs circuit simulations using p-space representations of s-parameters; and



FIG. 7 illustrates a flowchart of one example process for simulating a circuit/network using p-space representations of s-parameters.




DETAILED DESCRIPTION

An S-parameter based model is known to be capable of characterizing the high-frequency behavior of passive circuits. Once measured at any designated network terminals or pins of interest, the s-parameter model can be used to represent the network incorporating the entire coupling effects without approximations. Therefore, a complex circuit may not need to be partitioned explicitly. It is this unparalleled advantage that has motivated a number of explorations using s-parameters for network modeling in the literature in past years. However, when a circuit size increases, a large number of ports are needed at different frequencies to obtain a complete representation of the system characteristics. Consequently, a large amount of computing resources (e.g., memory, disk storage, and CPU time) must be consumed to characterize a complex circuit. These requirements for computing resources make the analysis/simulation of a large and complex circuit system using an s-parameter based approach impractical or even impossible in practice.


According to an embodiment of techniques disclosed in the present application, a precision space (“p-space”) concept may be used to address the aforementioned challenges associated with s-parameter models. The p-space is a one-dimensional (1D) space that is mapped onto a continuous domain between [Min, Max], where Min and Max are the minimum and maximum values of s-parameters to be represented. The p-space may be divided into multiple slots and the number of slots is governed by the s-parameter permissible precision. For example, if the value range of s-parameters (either real or imaginary) is between −1 and 1 with permissible precision, EPSILON, then a p-space may be constructed with the number of slots being 2/EPSILON, and any s-parameter value within the prescribed precision certainty may be determined using the p-space. Note that the p-space is 1D, and as a result, 2D s-parameters may be mapped onto a 1D p-space efficiently.


Furthermore, in many practical applications, a random yet common pattern may be embedded within the s-parameter data with respect to the port indexing. Such a common pattern may be exploited to realize the efficient pattern partition through the space projection process and achieve the desirable reduction in data storage. This significant reduction of storage space for s-parameters in turn reduces the requirement of other computing resources (e.g., CPU speed, memory, etc.) and hence makes it feasible for a typical analyzer/simulator to analyze/simulate a complex circuit/network using s-parameters. Given an s-parameter matrix, a mapping procedure is designed to project an s-parameter in the matrix to a p-space slot (“forward projection”) or to project a p-space slot to an s-parameter (“backward projection”) during the circuit/network simulation.


Reference in the specification to “one embodiment” or “an embodiment” of the disclosed subject matter means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present invention. Thus, the appearances of the phrase “in one embodiment” appearing in various places throughout the specification are not necessarily all referring to the same embodiment.



FIG. 1A illustrates a simple two-port network 100 and how s-parameters are defined. The network 100, which has two ports 110 and 120, is connected at its ports to external transmission lines. At each port, there are traveling waves at two directions: incident waves, a1 (at port 110) and a2 (at port 120) (applied to network 100) and reflection waves, b1 (at port 110) and b2 (at port 120) (reflected from network 100). If the input impedance of the network at port 110 equals the characteristic impedance of the transmission line, Z0, any wave traveling from the source toward network 100 will not be reflected back, i.e., there will be no reflection wave b1 (b1=0). Similarly, if the impedance of a source for a2 equals the characteristic impedance of the transmission line, Z0, there will be no wave reflected away from network 100 (b2=0). S-parameters are a set of parameters describing the scattering and reflection of these traveling waves. S-parameters are typically used to characterize high frequency networks, where simple models valid at lower frequencies may not be applicable. S-parameters are normally measured as a function of frequency. Thus, when looking at the formulae for S-parameters it is necessary to note that frequency is implied, and that the complex value (i.e., magnitude and phase) is also assumed.


Network 100 in FIG. 1A may be characterized by an s-parameter matrix 170 as shown in FIG. 1B, where
s11=b1a1a2=0,(1)s21=b2a1a2=0,(2)s22=b2a2a1=0,(3)s12=b1a2a1=0.(4)


S11 and S21 are measured by terminating the output port (120) of network 100. S11 is the input reflection coefficient of network 100, and S21 is the forward transmission coefficient through the network. S22 and S12 are measured by terminating the input port (110) of network 100. S22 is the output port reflection coefficient of network 100, and S21 is the coefficient of the reverse transmission (from output to input).


Some circuit simulators cannot directly import s-parameters, but they may be able to directly accept other types of parameters such as y-parameters (admittance parameters). FIG. 1C shows a y-parameter matrix for network 100 as shown in FIG. 1A. S-parameters can be readily converted into y-parameters through matrix transformation. In case of a two-port network, the conversion is shown below:

D=((1+s11)×(1+s22)−s12×s2),  (5)
y11=((1−s11)×(1+s22)+s12×s21)/D,  (6)
y21=−2×s12/D,  (7)
y22=((1+s11)×(1−s22)+s12×s21)/D,  (8)
y12=−2×s12/D.  (9)


The concepts of defining s-parameters for a two-port network can be expanded to multiple-port networks. FIG. 2A shows a matrix (220) of s-parameters for an N-port network at one measuring frequency. Matrix 220 contains N×N s-parameters and each element in the matrix may be measured in a way similar to that used to measure elements in matrix 170 as shown in FIG. 1B. For example, S21 may be measured by terminating all ports other than port one, i.e.
s21=b2a1a2=a3==aN=0.(10)

Similarly, y-parameters of the same N-port network may be obtained by converting from corresponding s-parameters. FIG. 2B shows a matrix (260) of y-parameters for the N-port network, whose elements correspond to those shown in matrix 220 as shown in FIG. 2A.


To obtain enough s-parameter samples that reflect circuit characteristics in the entire frequency domain, s-parameters at different frequency points need to be measured. When s-parameters measured from different frequencies are put together, the amount of data can increase rapidly as the number of ports increases. FIG. 2A illustrates that matrices (e.g., matrix 220) of s-parameters at different frequencies, when put together, can form a very large block of data 210. FIG. 2B illustrates a very large block of corresponding y-parameters 250. For example, 5,000 or more ports may be required to analyze an on-chip bus structure or a power grid in modern microprocessor technology. At each measuring frequency, there would be 5,000×5,000 entries in an s-parameter matrix. Assuming that 1,000 frequency points are measured and each s-parameter value requires 8-bytes storage, the total amount of storage needed for all the s-parameters would be 200 Gigabytes (GB). Processing such a large amount of data presents a challenge to a typical circuit/network analyzer/simulator, since the required computational power exceeds the state-of-the-art computing capacity. Therefore it is necessary to tackle the problem using the minimal information for a large amount of s-parameters so that the requirement for a large storage space and computing power can be avoided.


According to one embodiment of techniques disclosed in the present application, a 1D p-space may be used to represent s-parameters in 2D s-parameter matrices. Values of s-parameters typically fall within a certain range. For a passive circuit, for example, this range is between −1 and 1. The magnitudes of s-parameters are normally measured in decibel (dB), which is 20×log(magnitude). In practice, there is permissible precision associated with s-parameters, especially when s-parameters are measured by a physical device. For example, the precision in a range from −40 dB (10−2) to −60 dB (10−3) may require careful calibrations during measurement; the precision between −60 dB (10−3) and −80 dB (10−4) may fall in the uncertainty of a typical s-parameter measurement instrument setup; and the precision below −80 dB (10−4) or −100 dB (10−5) may be beyond the practical measuring techniques. In other words, all of the s-parameter magnitudes of a circuit/network should fall within a certain value range with a given permissible precision. The concept of a p-space, P{M}, as disclosed herein, takes advantage of this characteristic of s-parameters. It uses a 1D space whose value range corresponds to the magnitude value range of s-parameters (assuming the p-space range is from Min to Max). The space is equally divided into M slots, where M is determined as follows,
M=(Max-Min)×PScale,(11)PScale=1SPrecision.(12)

where SPrecision represents the permissible precision of s-parameter magnitudes, and PScale is the scale of the p-space. For example, if the magnitude value range of s-parameters is from −1 to 1 and the permissible precision is 10−4, a corresponding p-space will also have a value range from −1 to 1 that is equally divided into 2×104 slots. Using the p-space so designed, the magnitude of any s-parameter can be represented by a unique slot in the p-space. Note that in some embodiments, a p-space may be divided into a number of slots, which are not necessarily uniform over the range.



FIG. 3 illustrates how a 2D s-parameter matrix 310 may be mapped to a 1D p-space 320. P-space 320 has a minimum value 330 and a maximum value 350. The value of the middle point 340 of the p-space depends on the minimum value and the maximum value. For example, if the minimum value is −1 and the maximum value is 1, the value of the middle point is 0. The space is divided into a number of slots (e.g., slot 360, 370, and 380), where the number of slots depends on the scale of the p-space, the minimum value, and the maximum value of the p-space. The scale of p-space 320 may in turn be determined by the permissible precision of s-parameters in matrix 310. Each s-parameter in matrix 310 can be represented by a unique slot in p-space 320. For example, S21, Sjj, and S1k may be represented by slot 360; Sk1, SNj, S2k, and Skk may be represented by slot 370; and S1N and Sjk may be represented by slot 380.



FIG. 4 illustrates one example mapping from s-parameters in a 2D matrix 410 to a 1D p-space. Each s-parameter in a matrix may be represented by a two-integer index. For example, S11 may be represented by (1,1); and Sij may be represented by (i,j). Such representation requires two integers to represent one s-parameter in the matrix. To reduce storage space, each s-parameter in the matrix may be represented by a single-integer index. For example, as shown in matrix 410, Sij may be represented by (i−1)×N+j−1, where N is the total port number in a circuit/network to be analyzed. In one embodiment, slots in a p-space may be represented by an array of pointers, P[0], P[1], . . . , P[M−1] as shown in box 420. Each pointer in the array may point to indices of s-parameters which are represented by the corresponding slot. For example, P[0] may point to 4, 9, 11, . . . , (i−1)×N, . . . ; and P[M−2] may point to 3, 21, . . . , 2N−1, . . . . In another embodiment, slots in a p-space may be represented by a link table or other data structures. For some large networks/circuits, many entries in s-parameter matrices may be zeros, exhibiting a certain sparse feature. For those zero s-parameters, it may not be necessary to store their indices when mapping s-parameters in matrices to the p-space so that the storage requirement can be reduced.


The process of mapping a 2D s-parameter matrix to a 1D p-space is equivalent to partitioning the 2D s-parameter matrix into M patterns with each pattern projecting into one slot in the p-space; where M is the total number of slots in the p-space. FIG. 5 illustrates example partitioning of a 2D s-parameter matrix when mapping 2D s-parameters to a 1D p-space. S-parameter matrix 500 is partitioned into multiple patterns (e.g., 510, 520, 530, 540, 550, 560, 570, and 580). Each pattern may contain one or more s-parameters, which is/are projected to a single p-space slot.


S-parameters that fall into the same p-space slot typically have the same or similar physical characteristics. For example, they may represent a coupling relationship between two ports of geometrically similar networks. Thus, the partitioning process helps identify those s-parameters that have the same or similar coupling effects. Since the relative relationships in terms of certain geometrical characteristics typically do not change from one frequency to another, it may not be necessary to partition every s-parameter matrix at every measuring frequency. Normally, only the s-parameter matrix at a critical frequency point (e.g., frequency=0 Hz) or a combination of the representative samples is partitioned. The resulting partitioning patterns may apply to s-parameter matrices at other measuring frequency points. Therefore, the p-space helps obtain the common partitioning patterns for s-parameter matrices at different measuring frequency points. However, the same partitioning patterns across different frequencies do not imply that s-parameters in each pattern always have the same single value at different frequencies. In other words, partitioning patterns may remain the same for different frequencies, and s-parameters in a particular pattern may have sufficiently the same value at a measuring frequency point, but the s-parameter value corresponding to this particular pattern may change from one frequency to another.


The common partitioning patterns across different measuring frequency points may be stored in a table or other types of data structure such as the one shown in box 420 of FIG. 4. Box 420 shows a mapping relationship between entries in an s-parameter matrix and the p-space slots. This mapping relationship is used to convert original s-parameters into their p-space representations to save storage space and later to project p-space representations of s-parameters back to entries in original s-parameter matrices during the simulation process.


One function of the mapping relationship between one s-parameter matrix at a particular frequency and the p-space is to reduce the storage space required for original s-parameters. Since all the s-parameters in a partitioning pattern that map to the same p-space slot have substantially the same value (there may be some minor variations from one s-parameter to another partly due to permissible measuring errors), it is necessary to store only one value for all the s-parameters in this partitioning pattern. Thus, instead of storing N×N s-parameters, only M values of s-parameters may need to be stored, where N is the number of ports of the target circuit and M is the number of slots in the p-space. For an s-parameter matrix at a measuring frequency point other than the particular frequency used to obtain the mapping relationship, the same mapping relationship applies and only M values of s-parameter, rather than N×N s-parameters, need to be stored. As a result, a total number of N×N×K s-parameters are converted into a total number of M×K p-space representations of s-parameters, where K is the number of measuring frequency points.


The M×K p-space representations of s-parameters may be stored in a pointer array or any other data structure. If a pointer array is used, a pointer in the array may represent a p-space slot and the data pointed to by the pointer includes s-parameter representations of all the s-parameters in a partitioning pattern corresponding to the p-space slot at different measuring frequencies. An s-parameter representation is the common value of all the s-parameters in a partitioning pattern at a measuring frequency point. One advantage of p-space representations of s-parameters is that there is little approximation for original s-parameters. The basic idea of p-space representations is to identify those s-parameters that have substantially the same value and to store only this common value for them.


The p-space representations can significantly reduce the storage space required for original s-parameters. For example, for a passive circuit/network with 5,000 ports and 1,000 measuring frequency points, it may require 200 GB storage space for s-parameters (assuming 8 bytes for each s-parameter). In contrast, using a p-space with a scale of 104 (i.e., the permissible precision of s-parameter is 10−4), the total space required to store p-space representations of original s-parameters is 160 M bytes (2×104×1,000×8 bytes, assuming the value range of the p-space is from −1 to 1). The ratio of the total storage using p-space representation over that using the conventional storage is about 1:1250—three orders of magnitude reduction!


It is noted that an s-parameter has both magnitude and phase. A p-space can be used to represent magnitudes of s-parameters. Regarding phases of s-parameters, although it may also be represented by a p-space in a way similar to representations of s-parameter magnitudes, in practice, it might not be necessary to have such representation of s-parameter phases. This is partly because phases typically do not change significantly from one frequency to another and it may be possible to store phases at only one frequency.



FIG. 6 shows one example system 600 that performs circuit simulations using p-space representations of s-parameters. System 600 comprises a p-space constructor 620, a mapping mechanism 650 and a simulator 670. The space constructor may construct a p-space based on original s-parameters 610. A critical s-parameter matrix (e.g., the one at DC frequency) or a combination of the representative s-parameter matrices may be selected to obtain the mapping relationship from s-parameter matrices to the p-space. The value range of the p-space reflects the value range of s-parameters in the selected s-parameter matrix. The scale of the p-space is determined based at least in part on the permissible precision of s-parameters in the selected s-parameter matrix. In one embodiment, the p-space may be divided equally into multiple slots, where the number of slots may be determined according to Equation (11). In another embodiment, slots might not be linearly uniform. For example, a certain sub-range of values in the p-space may be more finely divided than others if this sub-range corresponds to many more s-parameters than others. Additionally, a p-space may be divided logarithmically equally into multiple slots. An array of pointers may be used to represent multiple slots in the p-space.


Mapping mechanism 650 may generate a mapping relationship between the selected s-parameter matrix and the p-space constructed by p-space constructor 620. The mapping relationship may be obtained by a partitioning component 630. Partitioning component 630 partitions the selected s-parameter matrix into one or more patterns. For a passive circuit/network where the value range of s-parameters is between −1 and 1, the partitioning process is sort free because each s-parameter can be directly mapped to a slot of the p-space without a further sorting process. All of the s-parameters that map to the same p-space slot belong to one pattern and have the same or similar characteristics. All of the s-parameters in each pattern have substantially the same value and hence only one value needs to be stored for them. The partitioning patterns for the selected s-parameter matrix typically apply to s-parameter matrices at other measuring frequency points. The resulting mapping relationship may be stored in a pointer array or other types of data structures such as the box 420 shown in FIG. 4, where each pointer representing a p-space slot points to indices of s-parameters in the corresponding partitioning pattern.


Projection component 640 in mapping mechanism 650 may provide forward (from original s-parameters to p-space) and backward (from p-space back to original s-parameters) projections between original s-parameters and their p-space representations, based on the mapping relationship obtained above. The projection component projects forward s-parameters in each partitioning pattern from an s-parameter matrix to its corresponding p-space slot according to the mapping relationship so that all the s-parameters in the pattern may be represented by their common value. Through the forward projection, original s-parameter matrices are converted into p-space representations, resulting in significant reduction in storage space. During the actual analysis/simulation process, the projection component also functions to project a p-space representation back to an original s-parameter matrix to let simulator 670 know which s-parameters the representation represents, based on the stored mapping relationship.



FIG. 7 illustrates a flowchart of one example process 700 for simulating a circuit/network using p-space representations of s-parameters. Process 700 starts with s-parameter matrices at different measuring frequencies (block 710). S-parameters may be measured at selected ports of a target circuit/network. The permissible precision of a measuring device normally determines the finest precision of s-parameter obtained. S-parameters may also be obtained by using a software-based measuring device, which may have higher permissible precision than a physical measuring device. At block 720, a p-space may be constructed based on a selected s-parameter matrix from s-parameters in block 710. For example, the s-parameter matrix at frequency 0, the highest frequency, or a combination of frequency samples, may be selected. The value range of the p-space corresponds to the value range of s-parameters in the selected s-parameter matrix. The scale of the p-space may be determined by the permissible precision of s-parameters according to Equation (12). In one embodiment, a precision not so fine as the finest precision of the s-parameters may be used to determine the p-space scale if the number of s-parameters corresponding to the finest precision is small. As described along with FIG. 6, the p-space may be divided equally into a number of slots in a linear manner. The number of slots may be determined according to Equation (11). The p-space may also be divided unequally or equally in a logarithmical manner.


At block 730, the selected s-parameter matrix may be used to obtain a mapping relationship between s-parameters and the p-space. First, the selected s-parameter matrix may be partitioned into patterns by scanning each entry in the matrix, mapping the entry to a p-space slot, and pointing the p-space slot to the index of the entry. Second, the mapping relationship between a p-space slot and indices of those s-parameters in the selected matrix may be stored using a pointer array or other types of data structure such as the one shown in box 420 of FIG. 4. The resulting mapping relationship applies to s-parameter matrices at other measuring frequency points. At block 740, all the s-parameters in the matrix of choice may be projected to the p-space (i.e., forward projection) based on the mapping relationship obtained at block 730. The forward projection converts original s-parameters into their p-space representations by using only one value to represent all the s-parameters in a partitioning pattern at each measuring frequency point. The resulting p-space representations of original s-parameters may significantly reduce storage space required for original s-parameters. At block 750, the p-space representations of original s-parameters may be stored. Note that in one embodiment blocks 740 and 750 may be combined. Processing in blocks 720 through 750 may be performed before circuit/network simulation so that the computing capacity of a simulator may be efficiently used for simulation purposes.


At block 760, the target circuit/network may be simulated using p-space representations of original s-parameters of the target circuit/network. The simulation process involves backward projection from a p-space representation to original s-parameters in a matrix. The backward projection may be performed by looking up the mapping relationship obtained at block 740. Simulation results may be obtained at block 770. Since the storage space needed for p-space representations of s-parameters is much smaller than original s-parameters, less memory and other computing power is required for simulating the target circuit/network. Thus, a typical simulator may be well equipped for such a simulation task.


Although an example embodiment of the disclosed subject matter is described with reference to block and flow diagrams in FIGS. 1-7, persons of ordinary skill in the art will readily appreciate that many other methods of implementing the disclosed subject matter may alternatively be used. For example, the order of execution of the blocks in flow diagrams may be changed, and/or some of the blocks in block/flow diagrams described may be changed, eliminated, or combined.


In the preceding description, various aspects of the disclosed subject matter have been described. For purposes of explanation, specific numbers, systems and configurations were set forth in order to provide a thorough understanding of the subject matter. However, it is apparent to one skilled in the art having the benefit of this disclosure that the subject matter may be practiced without the specific details. In other instances, well-known features, components, or modules were omitted, simplified, combined, or split in order not to obscure the disclosed subject matter.


Various embodiments of the disclosed subject matter may be implemented in hardware, firmware, software, or combination thereof, and may be described by reference to or in conjunction with program code, such as instructions, functions, procedures, data structures, logic, application programs, design representations or formats for simulation, emulation, and fabrication of a design, which when accessed by a machine results in the machine performing tasks, defining abstract data types or low-level hardware contexts, or producing a result.


For simulations, program code may represent hardware using a hardware description language or another functional description language which essentially provides a model of how designed hardware is expected to perform. Program code may be assembly or machine language, or data that may be compiled and/or interpreted. Furthermore, it is common in the art to speak of software, in one form or another as taking an action or causing a result. Such expressions are merely a shorthand way of stating execution of program code by a processing system which causes a processor to perform an action or produce a result.


Program code may be stored in, for example, volatile and/or non-volatile memory, such as storage devices and/or an associated machine readable or machine accessible medium including solid-state memory, hard-drives, floppy-disks, optical storage, tapes, flash memory, memory sticks, digital video disks, digital versatile discs (DVDs), etc., as well as more exotic mediums such as machine-accessible biological state preserving storage. A machine readable medium may include any mechanism for storing, transmitting, or receiving information in a form readable by a machine, and the medium may include a tangible medium through which electrical, optical, acoustical or other form of propagated signals or carrier wave encoding the program code may pass, such as antennas, optical fibers, communications interfaces, etc. Program code may be transmitted in the form of packets, serial data, parallel data, propagated signals, etc., and may be used in a compressed or encrypted format.


Program code may be implemented in programs executing on programmable machines such as mobile or stationary computers, personal digital assistants, set top boxes, cellular telephones and pagers, and other electronic devices, each including a processor, volatile and/or non-volatile memory readable by the processor, at least one input device and/or one or more output devices. Program code may be applied to the data entered using the input device to perform the described embodiments and to generate output information. The output information may be applied to one or more output devices. One of ordinary skill in the art may appreciate that embodiments of the disclosed subject matter can be practiced with various computer system configurations, including multiprocessor or multiple-core processor systems, minicomputers, mainframe computers, as well as pervasive or miniature computers or processors that may be embedded into virtually any device. Embodiments of the disclosed subject matter can also be practiced in distributed computing environments where tasks may be performed by remote processing devices that are linked through a communications network.


Although operations may be described as a sequential process, some of the operations may in fact be performed in parallel, concurrently, and/or in a distributed environment, and with program code stored locally and/or remotely for access by single or multi-processor machines. In addition, in some embodiments the order of operations may be rearranged without departing from the scope of the disclosed subject matter. Program code may be used by or in conjunction with embedded controllers.


While the disclosed subject matter has been described with reference to illustrative embodiments, this description is not intended to be construed in a limiting sense. Various modifications of the illustrative embodiments, as well as other embodiments of the subject matter, which are apparent to persons skilled in the art to which the disclosed subject matter pertains are deemed to lie within the scope of the disclosed subject matter.

Claims
  • 1. A method for simulating a circuit based on s-parameters, comprising: constructing a precision space (p-space) based at least in part on said s-parameters of said circuit; generating p-space representations of said s-parameters; and simulating said circuit based at least in part on said p-space representations of said s-parameters.
  • 2. The method of claim 1, wherein constructing a p-space comprises determining a precision scale based at least in part on said s-parameters.
  • 3. The method of claim 2, wherein said p-space is one dimensional (1D), and said s-parameters are stored in at least one two dimensional (2D) matrix.
  • 4. The method of claim 3, wherein said p-space is divided into multiple slots based at least in part on said precision scale.
  • 5. The method of claim 3, wherein generating p-space representations of said s-parameters comprises creating a mapping between said at least one 2D matrix and said 1D p-space.
  • 6. The method of claim 5, wherein simulating said circuit comprises projecting a 1D p-space representation of s-parameters back to s-parameters in a 2D matrix based on said mapping.
  • 7. The method of claim 5, wherein creating a mapping further comprises partitioning said at least one 2D matrix based on said p-space.
  • 8. The method of claim 5, wherein generating p-space representations of said s-parameters comprises a forward projection from said at least one 2D matrix to said 1D p-space.
  • 9. An apparatus for simulating a circuit based on s-parameters, comprising: a p-space constructor to construct a precision space (p-space) based at least in part on said s-parameters; a mapping mechanism to map said s-parameters to said p-space and to generate p-space representations of said s-parameters; and a simulator to simulate said circuit based at least in part on said p-space representations of said s-parameters.
  • 10. The apparatus of claim 9, wherein said p-space constructor determines a precision scale based at least in part on said s-parameters.
  • 11. The apparatus of claim 10, wherein said p-space is one dimensional (1D), and said s-parameters are stored in at least one two dimensional (2D) matrix.
  • 12. The apparatus of claim 11, wherein said p-space is divided into multiple slots based at least in part on said precision scale.
  • 13. The apparatus of claim 11, wherein said mapping mechanism comprises: a partitioning component to partition said at least one 2D matrix based on said p-space; and a projection component to create projections between said at least one 2D matrix and said 1D p-space.
  • 14. The apparatus of claim 13, wherein said projections comprises a forward projection from said at least one 2D matrix to said 1D p-space and a backward projection from said 1D p-space to said at least one 2D matrix.
  • 15. The apparatus of claim 14, wherein said simulator simulates said circuit based at least in part on said backward projection.
  • 16. An article comprising a machine-readable medium that contains instructions, which when executed by a processing platform, cause said processing platform to perform operations comprising: constructing a precision space (p-space) based at least in part on said s-parameters of said circuit; generating p-space representations of said s-parameters; and simulating said circuit based at least in part on said p-space representations of said s-parameters.
  • 17. The article of claim 16, wherein constructing a p-space comprises determining a precision scale based at least in part on said s-parameters.
  • 18. The article of claim 17, wherein said p-space is one dimensional (1D), and said s-parameters are stored in at least one two dimensional (2D) matrix.
  • 19. The article of claim 18, wherein said p-space is divided into multiple slots based at least in part on said precision scale.
  • 20. The article of claim 18, wherein generating p-space representations of said s-parameters comprises creating a mapping between said at least one 2D matrix and said 1D p-space.
  • 21. The article of claim 18, wherein simulating said circuit comprises projecting a 1D p-space representation of s-parameters back to s-parameters in a 2D matrix based on said mapping.
  • 22. The article of claim 21, wherein creating a mapping further comprises partitioning said at least one 2D matrix based on said p-space.
  • 23. The article of claim 22, wherein generating p-space representations of said s-parameters comprises a forward projection from said at least one 2D matrix to said 1D p-space.