main content

mos interconnect and crosstalk -凯发k8网页登录

this example shows how to build and simulate an rc tree circuit using the rf toolbox™.

in "asymptotic waveform evaluation for timing analysis" (ieee transactions on computer-aided design, vol., 9, no. 4, april 1990), pillage and rohrer presented and simulated an rc tree circuit that models signal integrity and crosstalk in low- to mid-frequency mos circuit interconnect. this example confirms their simulations using rf toolbox software.

their circuit, reproduced in the following figure, consists of 11 resistors and 12 capacitors. in the paper, pillage and rohrer:

  • apply a ramp voltage input

  • compute transient responses

  • plot the output voltages across two different capacitors, c7 and c12.

interconnect_with_crosswalk_rfckt.png

figure 1: an rc tree model of mos interconnect with crosstalk.

with rf toolbox, you can programmatically construct this circuit in matlab and perform signal integrity simulations.

this example shows:

  1. how to use circuit, , and with the function to programmatically construct the circuit.

  2. how to use , , and sparameters objects to calculate s-parameters for each desired output over a wide frequency range.

  3. how to use with zsource = 0 and zload = inf to compute the voltage transfer function from input to each desired output.

  4. how to use function to produce rational-function approximations that capture the ideal rc-circuit behavior to a very high degree of accuracy.

  5. how to use function to compute the transient response to the input voltage waveform.

insert node numbers into circuit diagram

before building the circuit using and objects, we must number the nodes of the circuit shown in figure 1.

interconnect_with_crosswalk_rfckt_nodes.png

figure 2: the circuit drawn with node numbers

programmatically construct circuit

create a circuit and use the function to populate the circuit with named and objects.

ckt = circuit('crosstalk');
add(ckt,[2 1],resistor(10,'r1'))
add(ckt,[2 0],capacitor(0.114e-12,'c1'))
add(ckt,[3 2],resistor(72,'r2'))
add(ckt,[3 0],capacitor(1.238e-12,'c2'))
add(ckt,[4 3],resistor(34,'r3'))
add(ckt,[4 0],capacitor(0.021e-12,'c3'))
add(ckt,[5 4],resistor(96,'r4'))
add(ckt,[5 0],capacitor(0.028e-12,'c4'))
add(ckt,[6 5],resistor(72,'r5'))
add(ckt,[6 0],capacitor(0.007e-12,'c5'))
add(ckt,[7 6],resistor(10,'r6'))
add(ckt,[7 0],capacitor(1.048e-12,'c6'))
add(ckt,[8 7],resistor(120,'r7'))
add(ckt,[8 0],capacitor(0.47e-12,'c7'))
add(ckt,[12 8],resistor(24,'r8'))
add(ckt,[12 0],capacitor(0.2e-12,'c8'))
add(ckt,[10 2],resistor(48,'r9'))
add(ckt,[10 0],capacitor(0.007e-12,'c9'))
add(ckt,[11 10],resistor(24,'r10'))
add(ckt,[11 0],capacitor(0.2e-12,'c10'))
add(ckt,[9 8],capacitor(0.1e-12,'c11'))
add(ckt,[9 0],resistor(1000,'r11'))
add(ckt,[9 0],capacitor(1e-12,'c12'))

simulation setup

the input signal used by pillage and rohrer is a voltage ramp from 0 to 5 volts with a rise time of one nanosecond and a duration of ten nanoseconds. the following matlab code models this signal with 1000 timepoints with a sampletime of 0.01 nanoseconds.

the following matlab code also uses the function to generate a vector of 101 logarithmically spaced analysis frequencies between 1 hz and 100 ghz. specifying a wide set of frequency points improves simulation accuracy.

sampletime = 1e-11;
t = (0:1000)'*sampletime;
input = [(0:100)'*(5/100); (101:1000)'*0 5];
freq = logspace(0,11,101)';

calculate s-parameters for each 2-port network

to calculate the response across both the c7 and c12 capacitors, two separate s-parameter calculations must be made: first, assuming the c7 capacitor represents the output port, and second, assuming the c12 capacitor represents the output port. to calculate the s-parameters for each setup:

  1. copy the original circuit ckt using the function.

  2. define the input and output ports of the network using the function.

  3. calculate the s-parameters using the sparameters object.

calculate s-parameters with c7 capacitor represents the output port.

cktc7 = clone(ckt);
setports(cktc7,[1 0],[8 0])
s_c7 = sparameters(cktc7,freq);

calculate s-parameters with c12 capacitor represents the output port.

cktc12 = clone(ckt);
setports(cktc12,[1 0],[9 0])
s_c12 = sparameters(cktc12,freq);

simulate each 2-port network

to simulate each network:

  1. the function, with option = 2, computes the gain from the source voltage to the output voltage. it allows arbitrary source and load impedances, in this case zsource = 0 and zload = inf. the resulting transfer functions tfc7 and tfc12 are frequency-dependent data vectors that can be fit with rational-function approximation.

  2. the function generates high-accuracy rational-function approximations. the resulting approximations match the networks to machine accuracy.

  3. the function computes the analytic solution to the state-space equations defined by a rational-function approximation. this methodology is fast enough to enable one to push a million bits through a channel.

simulate cktc7 circuit.

tfc7 = s2tf(s_c7,0,inf,2);
fitc7 = rationalfit(freq,tfc7);
outputc7 = timeresp(fitc7,input,sampletime);

simulate cktc12 circuit.

tfc12 = s2tf(s_c12,0,inf,2);
fitc12 = rationalfit(freq,tfc12);
outputc12 = timeresp(fitc12,input,sampletime);

plot transient responses

the outputs match figures 23 and 24 of the pillage and rohrer paper. plot ramp response of low- to mid-frequency mos circuit interconnect with crosstalk.

figure
plot(t,input,t,outputc7,'linewidth',2)
axis([0 2.5e-9 0 5.5]);
title('ramp response of low- to mid-frequency mos circuit interconnect with crosstalk');
xlabel('time (sec)');
ylabel('voltage (volts)');
legend('vinput','v(c7)','location','northwest');

figure contains an axes object. the axes object with title ramp response of low- to mid-frequency mos circuit interconnect with crosstalk, xlabel time (sec), ylabel voltage (volts) contains 2 objects of type line. these objects represent vinput, v(c7).

plot crosstalk in low- to mid-frequency mos circuit interconnect with ramp input.

figure
plot(t,input,t,outputc12,'linewidth',2)
axis([0 5e-9 0 .5])
title('crosstalk in low- to mid-frequency mos circuit interconnect with ramp input')
xlabel('time (sec)')
ylabel('voltage (volts)')
legend('vinput','v(c12)','location','northeast')

figure contains an axes object. the axes object with title crosstalk in low- to mid-frequency mos circuit interconnect with ramp input, xlabel time (sec), ylabel voltage (volts) contains 2 objects of type line. these objects represent vinput, v(c12).

verify rational fit outside fit range

though not shown in this example, you can also use the function to check the behavior of function well outside the specified frequency range. the fit outside the specified range can sometimes cause surprising behavior, especially if frequency data near 0 hz (dc) is not provided.

to perform this check for the rational-function approximation in this example, uncomment and run the following matlab code.

% widerfreqs = logspace(0,12,1001);
% respc7 = freqresp(fitc7,widerfreqs);
% figure
% loglog(freq,abs(tfc7),' ',widerfreqs,abs(respc7))
% respc12 = freqresp(fitc12,widerfreqs);
% figure
% loglog(freq,abs(tfc12),' ',widerfreqs,abs(respc12))

for example on how to build and simulate this rc tree circuit using rfckt objects, see .

related topics

    网站地图