找回密码
 注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

巢课
电巢直播8月计划
查看: 1186|回复: 2
打印 上一主题 下一主题

[仿真讨论] 测试,也得从学生抓起!

[复制链接]

184

主题

778

帖子

7831

积分

EDA365特邀版主

Rank: 6Rank: 6

积分
7831
跳转到指定楼层
1#
发表于 2011-4-26 14:44 | 只看该作者 |只看大图 回帖奖励 |倒序浏览 |阅读模式

EDA365欢迎您!

您需要 登录 才可以下载或查看,没有帐号?注册

x
本帖最后由 stupid 于 2011-4-26 15:25 编辑
) ^  @) g) s* R. W3 }: v( ]4 G3 j+ f& p' v7 w. ^; Y
Today's testing, tomorrow's engineers
# U  ?; @# ]9 J0 w9 D8 \& U9 X) d. H4 `Staff and students combine to form a unique test lab that's widely respected in the data-communications industry.  n% n4 Z" \' G1 ]% l  F' D# d
Martin Rowe, Senior Technical Editor -- Test & Measurement World, 4/1/2006 2:00:00 AM
" Q+ Y/ z1 n0 V1 h' o4 d7 y+ ^+ t6 o; X. D
9 R, g( C- X+ j$ q! a# @4 d/ R) N
8 _4 Q8 _" R. G, h! {
Durham, NH—You may not think of New Hampshire as a hotbed for data-communications testing, but you should. In this town a few miles from the seacoast resides the University of New Hampshire InterOperability Laboratory (UNH-IOL, www.iol.unh.edu), part of the UNH Research Computing Center. The UNH-IOL is a testing lab that has the respect of just about every maker of data-communications equipment. Since its founding in 1988, the UNH-IOL has become known for its technology expertise and for a spirit of cooperation that helps member companies solve conformance and interoperability problems.
. N7 c; |3 n6 `9 X/ ]+ X7 n6 O( n0 I" l) B2 v  Y7 }
The UNH-IOL currently tests products in 20 technology categories, including Ethernet, DSL, IPv6, Serial Attached SCSI (SAS), Serial ATA (SATA), Fibre Channel, and Wi-Fi. Companies join the UNH-IOL to take advantage of its heavily equipped test beds and extensive technical resources. Test beds contain hardware and software tools developed at the lab for performing compliance tests, and they also contain networking equipment from member companies that the lab uses for interoperability testing. For an annual membership fee ranging from $14,000 to $20,000, a member company may reserve week-long blocks of individual testing on a test bed and participate in week-long group tests, called "plugfests." Some companies belong to more than one technology group; the lab refers to each group as a "consortium." (Editor's note, 4/21/06: This section has been amended since the article was published. The original wording implied that members were permitted to use the lab for only one week per year or attend only one plugfest per year. This is not the case.)
  |; c  m  B" m* F% h, u6 g- z" K% L8 X$ n
Students perform most of the tests, which cover components such as communications ICs, subsystems such as network-interface cards, and network elements such as switches and routers (see "Let the students do the testing"). Member companies often send an engineer to the lab for a week to work with students on standards compliance testing or interoperability testing. "Catch the Rabbit," highlights how Rabbit Semiconductor used the UNH-IOL when the company added Ethernet to its microprocessors. 7 c2 S( o7 F) V

8 w. J, @1 f- V0 ]) PThe test beds are richly equipped, because companies that join a lab consortium must agree to contribute their products. "We have networking and communications equipment that companies won't give to each other," said Gerard Nadeau, manager of the UNH-IOL's Fast Ethernet Consortium. "We act as a buffer between companies, and we can work out problems without giving away proprietary technology."
4 V$ }* s% M  T7 I. I9 j" H, X- j( d" r% {6 {' w7 d

( \: _, U2 b  ^' ^: f# V$ b
$ B3 z/ S: t1 ~$ T1 t& T: u"Some companies leave every product they bring to the lab," added Bob Noseworthy, manager of the lab's 10 Gigabit Ethernet Consortium. "But 10-Gbps products are expensive, so we may share products with the IPv6 Consortium." 8 g. T2 J1 |% X

( B: \5 M. T$ ?& o( r6 R6 t% ~. k5 \  tBecause companies provide products for the test beds, their products are continually tested against new products. "We've found interoperability problems with equipment that's been on the market for years" said staff engineer Andy Baldman. "When that occurs, we contact the manufacturer and explain how their product interacts with a new device." 8 f/ _! |7 I3 X1 R4 B5 {

7 P6 j, D- o9 ]/ u/ z* {" L" gUNH-IOL clients appreciate the lab's role as a technology intermediary. "The UNH-IOL gives us a neutral ground," said George Dobrowski, director of technology and product planning at Conexant, a member of the lab's DSL Consortium. "We can bring our DSL chips there for a week of intense testing." Conexant uses the DSL test bed to run interoperability tests on new designs because "the UNH-IOL has equipment combinations that we can't replicate in our own lab."
& I6 b, n' c# v7 y3 u2 @6 a9 h$ P  D- T8 L2 @3 o8 ?: d
Beds and tools
& K9 m2 v, j. F% c3 U2 I6 c
$ x& J; t, k- M+ k/ A$ d3 hTest beds contain networking equipment, test equipment, and test tools. Often, staff and graduate students develop hardware and software test tools before such tools are commercially available. "We have, on occasion, used a company's prototype or evaluation board as the basis for developing a test tool," said Nadeau. "If member companies give us the hooks into their products, we can design a somewhat automated tool for more in-depth analysis than we could achieve with standard test equipment." / x# w" {$ L  e8 ^- n

. \" }+ n: U- KThe lab has several Ethernet test tools that graduate students and staff have designed in collaboration with member companies. But because the lab lacks the facilities to fabricate test boards, member companies often pitch in to design and build them.
& o% i+ ]+ b5 x" [; X- K* L. y+ T) E; ]* L- w5 s& Y
One such test tool is the "Tiger," designed by UNH-IOL and Texas Instruments (Figure 1), for testing Gigabit Ethernet (GigE) and Fibre Channel devices. The Tiger provides students with access to an Ethernet IC's signals. It provides 20 digital outputs that connect to an Agilent Technologies logic analyzer. With the tool, students testing GigE ICs can see a parallel representation of a GigE data stream—while the data is in a 10-bit format. They can view two 10-bit sequences at once on the logic analyzer. (GigE uses 8b/10b encoding that converts 8-bit data into 10-bit data. The extra bits add bit transitions to provide for clock recovery.) ( v& I4 ?6 v9 a4 J+ \2 v- x) G8 F0 e& L5 @
, p, F  \5 y. g' ~
, g  J9 F' b6 J' H) B. e
0 j# v1 E& z$ j0 z
+ V  ?$ W$ o: u4 o5 t: d
Another test tool used for Ethernet testing lets students view a Fast Ethernet Auto-Negotiation sequence, which is a significant part of conformance testing. This tool consists of a custom interface board (Figure 2) that connects to a digital I/O card from Viewpoint Systems that then connects to a PC. The Auto-Negotiation sequence consists of a series of 100-ns pulses that occur at 100-ms intervals. The interface board contains one-shot flip-flops that elongate the pulses to lengths long enough for the digital I/O board to capture them. A custom software application written in LabView provides a graphical display of the sequence. ( {! @, g6 g% {1 R

" Y* k4 b  t" _: e# E0 C

( w; k% ~% D7 U! h: B# {( x
9 C& h4 F& K. t' T/ e  n

( z1 `: V5 Z/ K. J! X2 ^/ b( g. i+ U9 c; m1 T) y3 \8 g8 Q- Y
When performing tests, the students follow carefully written test procedures that describe how to set up and run tests based on clauses in communications standards. The procedures, available for downloading from the UNH-IOL Web site, clarify ambiguities in standards that require measurements without specifying how to make them. 7 c# U( E# j& v# @7 G
, N; }) J1 @( q+ M8 z3 u
UNH-IOL engineers play an important role not only in interpreting industry standards but also in helping to develop them. For example, consortium managers Eric Lynskey (Ethernet in the First Mile) and Bob Noseworthy (10 Gbit Ethernet) and others regularly attend committee meetings of IEEE 802.3 Ethernet subcommittees, and they often edit IEEE standards documents. , O8 b2 c+ B- ~
3 p# j; x2 o& h0 q- d& X
Physical-layer measurements
5 A/ @5 P9 _0 j0 @% T
! M& ^1 Y8 _% s6 gThe Tiger and Auto-Negotiation test tools let students test Ethernet products at the Ethernet physical (PHY) and data-link layers, but much of the lab's conformance testing for Ethernet and other technologies focuses on the analog signaling in the PHY layer. Jitter is perhaps the most critical PHY-layer measurement, and the UNH-IOL has been a pioneer in the area. Andy Baldman measures jitter in serial data streams by capturing them with high-bandwidth oscilloscopes from Agilent, LeCroy, and Tektronix. Although today's oscilloscopes can perform jitter analysis, the UNH-IOL staff created its own tool using Matlab when the lab started offering jitter conformance testing for Token Ring networks.
' \- V0 E- O& Y
& N, i1 [) o) ~) j/ ^( D% ^, L"Once upon a time, scope companies just made scope hardware, so we had to develop our own software tool for separating total jitter from deterministic jitter," said Baldman. Because he knows exactly how his algorithm works, he can answer questions about how the measurements were made when a product fails.
* ?: d% V6 `2 W  ~
2 T4 M+ l$ A7 ~Baldman will use a scope maker's internal conformance software if he knows its algorithm. He spent the summer of 2005 working for Agilent Technologies on the company's Ethernet compliance software. He started using it because he knows how it works, but he also knows that engineers in the industry use scopes from other makers. Thus, he compares results obtained from Agilent, LeCroy, and Tektronix scopes. He's working with test-equipment makers to harmonize the methods of jitter measurement to provide more consistent results.
& J' H# B% H: G+ K/ {3 a* Y! i) O  k1 h/ u2 d6 Q
Baldman's relationship with test-equipment makers is typical of other UNH-IOL staff members. Much of the test equipment in the lab is donated, and staff and graduate students often develop their test procedures that use the donatedequipment. - Y3 ?6 ~, ^! f! _- V1 _
5 k# j+ h' F+ G8 Y
"We can't get out of the starting gate without test-equipment makers," noted Noseworthy. "The difficulty is that we try to play evenly with all the manufacturers." Test-equipment makers also rely on the UNH-IOL for their own product testing, often bringing new equipment to the lab for evaluation.
$ H7 S% Z; a) E2 ^( t0 P  G2 N

" Q8 n8 T* z0 g 3 F+ {/ }" \  V' J4 A/ o9 U

% o4 m2 L- Y3 T3 [: }: h+ G

7 @; P4 X$ f  y! p/ x, o$ rStudents and staff use test equipment for more than just measurements. The lab's DSL Consortium, managed by Matthew Langlois, uses data generators from Spirent Communications and wire-line simulators from Spirent, Telebyte, and Sparnex to test DSL modems and DSL access multiplexers (DSLAMs), which are used by service providers. Data generators create data streams and wire-line simulators simulate worst-case line conditions for each of the DSL modulations that the lab supports (ADSL1, ADSL2, ADSL2+, and VDSL2).
! S) o; {) o$ z1 l+ \3 M7 m5 b/ W  e2 e, b# y2 t3 ]& u3 S  c

9 b* U9 D7 r; {2 eDuring a compliance test, a digitizer captures the DSL signals on a phone line and transfers them to a PC through a National Instruments digital I/O card. The PC measures longitudinal balance, transmit power, noise margin, and bit-error rate. The digitizer acts as a digital storage oscilloscope with flexible sampling clocks and an arbitrarily deep capture buffer greater than 512 Mbytes, which far exceeds that of commercially available scopes. With the digitizer card, students running a test can store as many samples as they need in the PC's hard drive and perform signal analysis offline.
3 |' [* |: N# A/ m& r0 i& e
4 r0 }& H5 {6 F
- f) M9 |# _: nThe DSL test bed (Figure 3) consists of five DSLAMs and hundreds of DSL modems. DSL modem makers and chipset makers such as Conexant come to the lab because the test bed has DSLAMs from all suppliers. Modem makers can typically use the lab's standard test suite, although some will run customized tests. "The standard test suite takes about 18 hours to run," said Langlois. "It takes a week to run through all five DSLAMS."
5 u7 z2 h1 g; a% G& `9 o+ Y% P8 P4 {. _/ R

! j! v; S7 I7 M, }$ A; C# C7 {. ^+ L: X
Testing the next Internet
2 m+ U$ b8 }3 d3 f
) O( l- K$ u- y9 m& D" e" xWhile the UNH-IOL focuses heavily on deployed technologies such as Ethernet and DSL, the lab is also involved in the next Internet technology, IPv6. "IPv6 is the next Internet protocol," said technical manager Erica Williamson. "With IPv6, we should never run out of IP addresses."
- i# N+ c9 r3 N3 X
3 X! ^/ r( p6 m7 g. g6 K0 L9 i) ?2 z# aThe UNH-IOL is a leading IPv6 test lab, with a test bed that consists of routers, firewalls, servers, cameras, a network time server from Symmetricom, and router and network testers from Agilent and Ixia. Makers of voice, video, and data-communications products come to the UNH-IOL to test their IPv6 protocol stacks. Test tools include software that lets students and staff manipulate data traffic. "We look at every 'must' and 'should' in the protocol specification to see how an equipment maker implements it," said Williamson. Testing of an IPv6 product takes from one to two weeks.
  [& t$ R7 J2 L. {; W( S$ M
! }  a, G1 a# [) s/ gThe lab's IPv6 Consortium's test bed includes a connection to the world's largest IPv6 network. Dubbed the MoonV6 project (www.moonv6.org), the IPv6 network is a joint effort led by the North American IPv6 Task Force that includes the UNH-IOL, the Department of Defense, and network service providers. Its aim is to promote the use of the IPv6 protocol. At a MoonV6 plugfest, makers of video and voice equipment, routers, and firewalls test their products for interoperability. 8 G. S% v+ w, I1 s& ^, _+ N

9 z& q- n/ o  }While IPv6 is an up-and-coming technology, 10BaseT Ethernet is mature and stable. Thus, the UNH-IOL has dropped its 10BaseT Ethernet Consortium, but the lab still tests new 10BaseT products on an individual basis for backward compatibility and conformance.
6 i& i+ I$ K7 R+ W0 M0 A! N+ G% d) m* q1 H5 R
Serial-bus technologies that are gaining in popularity include SAS and SATA. The UNH-IOL has formed the SAS Consortium, which currently has five full members, but it supports SATA as a testing service only. "We're trying to convince companies to help us start an SATA consortium," said Baldman. He's currently developing test beds for both serial buses. Part of the difficulty stems from these products being so new that manufacturers often don't have many samples to contribute.
$ [  \9 ^* G' Y3 @3 d0 F
: w5 X) _; C0 H& Q0 A% bMakers of SAS and SATA disk drives and host-bus-adapter cards can use the UNH-IOL to perform interoperability tests under specified worst-case conditions. The test beds that Baldman is developing use a "golden worst case" set of cables built by Molex specifically for the lab. The cables come in three different lengths and gauges although they produce identical amounts of signal loss. 0 v0 z) n& F+ x1 h' K9 q; s& @

, k8 r- P! R- p5 j5 ]% f: a) I"Some companies want different lengths so they can say their products were tested with different length cables," said Baldman. "While the cables may be equivalent from a signal-loss perspective, the ability to demonstrate that you work across different length cables is still very valuable to our members from a marketing perspective." ) o' `* Y+ B1 X4 ]6 M4 i, c3 ~" M
) Y# N! M, H& N- U" }
Although the UNH-IOL is best known for testing wireline technologies, its staff and students can test IEEE 802.11 wireless devices, too. Jeremy Kent manages the lab's Wireless LAN Consortium, which contains a precompliance test bed (the UNH-IOL is a certified Wi-Fi precompliance lab). The lab has dozens of wireless devices that let students perform interoperability tests. The test bed includes wireless test systems from Azimuth Systems and VeriWave as well as a vector network analyzer and signal generator from Rohde & Schwarz. The test bed can perform measurements such as transmit power and protocol analysis. A graduate student is developing a receiver test tool as part of a master's thesis.
1 c9 R3 F" [3 M
: q) k# P3 h9 L) q4 I+ eThe UNH-IOL has gained the respect of many people in the data-communications industry. Its test tools and procedures are the envy of many engineers. IC manufacturers, card manufacturers, network-equipment manufacturers, and test-equipment makers rely on the UNH-IOL's spirit of cooperation and technical expertise to verify that their products will work in the field.
& f) w+ n$ s% L! B; L
1 F+ I6 t- W& T& U; qCatch the Rabbit' s1 u& ^* O4 K  ]+ e. p
! a0 v0 v5 x) s9 O/ [
During my visit to the UNH-IOL, I met Lynn Wood, an engineer with Rabbit Semiconductor. Rabbit is adding Ethernet to its processor ICs, and Wood spent a week at the lab running compliance tests. Wood tested receivers, transmitters, complete Ethernet subsystems, and software drivers. # d. }9 y! Q, F: b
8 u# H5 `+ z) f

  V) G2 [4 \/ }& Y6 sThis was Wood's second visit to the UNH-IOL for this project. After performing basic function tests in his lab, Wood came to the lab because, "If you look at the Ethernet spec, you can't figure out what to test. UNH-IOL has worked all of that out." On his first visit, Wood worked with his device in FPGA form because he could quickly make design changes based on test results. This time, he was there to test the final FPGA design before the company commits to building it in ASIC form. ' }: J3 j4 b# Z3 m6 C
7 b. [/ U! z+ r! E( n6 g& X
3 r9 t, n3 w* k
Wood performed 10BaseT Ethernet transmitter and receiver PHY-layer tests under worst-case conditions. He tested his devices using long cables and used a UNH-IOL tool to create simulated signals with varying jitter, crosstalk, skin effects, return loss, and rise time. The test tool uses Matlab scripts to generate Ethernet worst-case signal conditions. Wood performed bit-error-rate measurements to verify that the receivers could maintain 10–12 BER or less under worst-case conditions. # `+ p) r4 l+ m% K7 |
: P* i6 K. W3 b- q# A* p) t
5 O, Y6 l  x4 |* R0 E7 a3 U
Let the students do the testing% x/ ^5 j. l8 @, Y
4 \7 N$ t$ H+ \- z8 w# j: w5 H9 P
Students play a major role at the UNH-IOL. In fact, about 100 of the 120 UNH-IOL employees are students, most of whom are undergraduates majoring in electrical engineering or computer science, although some have nonengineering majors. Students do the lab's testing under guidance from a graduate student or staff member. 6 r- s" n+ j9 i; N  j$ t

: I1 c& @; S6 @" a( l. r3 v2 R. l* v
Students learn about the UNH-IOL from open houses, through friends, or through faculty members. A professor may recommend a student to the UNH-IOL for a position. Students typically work about 15 hours per week. "We assume no knowledge of computer networks, and we assume that everything a student knows about networks is wrong," said EFM Consortium manager Eric Lynskey. The UNH-IOL usually hires first- or second-year students. After being hired, students must spend 13 weeks at "boot camp" during the summer, where they learn the basics of computer networks and become familiar with the lab's test tools.
6 W4 @4 L# A! Y+ ?/ S% U+ I: o4 s) w  `  ]$ ~

$ e0 D/ G$ E) B/ K# l  p7 x4 a1 ^Students do most of the testing, using hardware and software test tools developed by staff engineers and graduate students. "Students will learn LabView and Matlab, and once they gain enough experience, they can tweak test code," noted Lynskey. Sometimes, a student will develop a test tool for academic credit such as a senior project or a master's thesis. In addition to gaining practical experience from their UNH-IOL jobs, the students also make industry contacts that often lead to employment after graduation.
: O; f, d: Z+ z5 B& D

- _8 W" z$ r2 N; D' }) Q8 I% v
& J( m: j/ l2 G/ [- ~/ @6 I
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友 微信微信
收藏收藏 支持!支持! 反对!反对!

184

主题

778

帖子

7831

积分

EDA365特邀版主

Rank: 6Rank: 6

积分
7831
2#
 楼主| 发表于 2011-4-26 14:50 | 只看该作者

PLX 测试 96Lane PCIe G2 交换芯片

本帖最后由 stupid 于 2011-4-26 15:39 编辑 ) u" L, D. H. H. r
/ g+ c- {- I7 x5 b, u! q( g0 x
The chips almost test themselvesWith the test features they build into their PCIe switches and 10-Gbps PHY devices, the engineers at PLX Technology can see things their bench instruments can't.
- u+ A7 |! t; I; l

; }8 A1 _+ h' }8 hMartin Rowe, Senior Technical Editor -- Test & Measurement World, 4/1/2011 12:00:00 AM
& z9 ~" Z# t0 J$ e& W8 V" \! X. O. |% Y' I  I6 D
/ _. E* y: C* l/ c* ^6 H
Sunnyvale, CA—High-speed serial buses such as PCIe (PCI Express) and 10-Gbps Ethernet present significant challenges to designers of computers and communications systems. PCIe data rates of 8 GT/s (gigatransfers per second) and Ethernet data rates of 10 Gbps produce signal degradations in interconnects and PCB (printed-circuit board) traces (Ref. 1), yet system designers have difficulty measuring the degradation, because test equipment can't see inside a device.& R7 w' G' c4 Y; J3 u' c2 g

! D4 ^( ]4 ~: r$ X4 K+ w- Q* W( KEngineers at PLX Technology address this problem by building self-test features into the company's devices. The self-test features were also essential when the engineers developed their first PCIe switches and 10GBaseT PHYs (physical-layer interfaces), because the necessary test equipment hadn't yet reached the market. Initially, test functions inside the devices were available to PLX engineers only, but engineers learned that making these test functions available to customers helped those customers with their designs and helped applications engineers solve problems.
7 W  |% x% F  z+ a% u, |
# {" Y9 f$ \( l  s0 cThe PLX devices include self-test features such as traffic generators, signal processors, temperature sensors, and sampling circuits. They can perform loopback tests, BER (bit-error-rate) measurements, channel calibration, eye-width measurements, linearity measurements, and packet analysis.* \! a; U3 {2 {! f: `: k/ b+ H8 F3 {$ h
9 }% V5 v* F8 z* M/ z  D$ G! b! n5 n
No device can perform all of its own testing, however, so the PLX engineers also need some external test equipment. For example, to test the devices over a full range of PVT (process, voltage, temperature) parameters and to conduct interoperability and EMI (electromagnetic interference) tests, the engineers employ oscilloscopes, power supplies, BER testers, and thermal heads. Serial-bus products also need evaluation boards for physical-layer measurements, data-link measurements, and compliance tests.) ?  ^4 C" H/ v8 |( ~# ~5 M

& W; ^# u9 c. Q* p! ePCIe is now in its third generation, called Gen3, which runs at 8 GT/s per lane. Gen3 data rates are up from 5 GT/s per lane for PCIe Gen2 and 2.5 Gbps for Gen1. In September 2010, PLX added 10GBaseT (10-Gbps Ethernet) PHY devices to its line-up through its acquisition of Teranetics. The devices convert XAUI (10 Gigabit Attachment Unit Interface) or XFI (10-Gigabit serial electrical interface) buses on the system side to 10GBaseT Ethernet on the line side. PLX also manufactures PCIe bridges and storage controllers for the consumer market.
+ `$ e8 i* z; y" a2 n( U- }2 [& g  j! ?7 q! W
Reginald Conley, PLX director of hardware applications, explained that PCIe switches, used in servers and switch products, can have up to 96 lanes grouped into ports of up to 16 lanes. PLX PCIe Gen3 switches with 48 lanes are in production, and 96-lane devices are in development (96-lane Gen2 is already shipping). Typically, 16-lane ports are used by graphics cards. Each lane uses differential signaling, which uses two PCB traces per lane. That requires a test board to have two SMA connectors per lane." Q1 C& n8 ^8 ?1 O2 l: A

; a; G1 P7 s: C# XFigure 1
shows a test board for a 96-lane PCIe switch. The 192 SMA connectors give engineers access to each lane so they can make measurements such as BER, return loss, and jitter. The switches have I2C ports that give engineers access to the device for setting parameters and reading registers that contain test results.

" O" [9 F% j, i( g% h0 K5 E# N
1 R8 w0 ?# o6 r) y8 ]
" m: z; r$ J/ \. M5 p- T4 F

1 V1 B' H# b" c( w

! ^+ z1 z, {, [' j/ }# q8 ]8 pFigure 1. A test board for a 96-lane PCIe switch has 192 SMA connectors., f6 a3 ~- ~5 X( x1 K7 m9 x
3 Z* }% ^4 t1 D0 q
Sampling from inside/ D/ ~% W6 Q" N2 X0 {2 s

6 m/ r  s- Q1 ^9 Q5 P+ q6 @The PCIe switch has internal sampling circuits that let engineers see the signal inside the device, which they can't do with an oscilloscope. At PCIe Gen2 and Gen3 data rates, the pins and bond wires inside a device package attenuate signals and add noise and jitter. Furthermore, the switch's internal signal processing takes the incoming signal, which has no eye opening, and opens the eye. ! j7 b$ a" E0 B% E) y

2 Q- ^+ o8 @  k2 B/ ^% GExternal instruments are still necessary for looking at signals at device pins, but probes can alter signals when connected to device pins or connectors. "An oscilloscope probe on a high-speed signal may clean the signal or make it worse," said Vijay Meduri, VP of engineering for PCIe switches. Conley added "A probe could filter out a high-frequency glitch and cause you to miss it."
9 k4 F) x( N- W. c& p5 y9 N) s: s7 P, I) p" H
Conley explained that the sampling circuit samples a signal's phases and adjusts the sampling based on amplitude. It then puts data about the sampled signal onto a register that PLX's visionPAK PC software can read through the I2C bus. The software uses the combination of phase and amplitude to produce an image, which is an on-chip eye diagram that represents bit errors. PLX design engineers, application engineers, and customers can use visionPAK to control the internal test functions and poll registers for test results.
* S: L- @( w  a% ^2 [" B: `' K, Q
  E! [- J  `6 T/ QTo produce the eye diagram of BER measurements, visionPAK collects 1's and 0's from every lane on a switch, overlays them, and maps the eye image based on BER. Figure 2 shows the eye diagram that represents BER. Engineers can change the sampling point of the eye and use the software to calculate BER at any point in the eye. The blue area in the eye's center indicates sampling points where no errors occur. As the sampling point (colored bars) moves toward the crossing points, BER increases.
9 L$ L: l2 K' ^/ N* O
* }* V# B; i" d% P" X7 z
/ ?% p2 G# C7 @- j) r8 a& m2 d

% O% v9 j9 E$ V- F% k( k

( q1 {) i0 ~: e1 b) S) b+ Y" CFigure 2. The plot indicates the BER across many PCIe Gen3 lanes, with the blue center indicating a sampling point with no errors. Courtesy of PLX Technology.
5 H. S( T5 E) |2 P( D% k4 t
3 @( q: i4 H2 w7 N/ i4 K) ]' E

7 }5 @9 M2 R/ m/ o  r8 Q
) _( y* p! Y6 Z# ]$ E; w7 }When PLX began manufacturing PCIe Gen1 switches, test features weren't available through software. Conley noted that engineers had to use jumpers on the test board to activate test features.$ c, p3 z4 v5 @
3 L/ i! v; n9 Z+ P4 U5 A% i7 x7 x9 C
A PCIe switch also has loopback capability, which lets engineers use a port to test itself or another port. Figure 3 shows two loopback configurations, which engineers can configure through visionPAK. The blue arrows indicate an internal loop where a lane's transmitted signal loops back to its receiver. In an external loop (red arrows), a signal from another lane—on the same device or another device—passes back to its source. An external loop includes a transmission medium such as PCB traces and connectors. A test of an external loop can reveal problems such as impedance mismatches or CDR (clock-data recovery) errors.

$ [8 N% b6 H1 B, @- b% l; {
+ L8 F  k  T: W# N
) t; p% P6 G8 o/ W3 }" y( @
* A8 a5 M$ J9 t0 y: s2 a7 w

7 i4 R' j1 x, AFigure 3. PCIe switches have loopback capabilities for both on-chip and external tests. Courtesy of PLX Technology.( h; I$ u. F2 b" T2 ^2 X1 p! V

- p4 w- I5 ]$ y& e/ V, Q
5 h, R4 S' \! F! F: q5 Q
As with most serial buses, engineers use the loopbacks as part of a BER test that generates a PRBS (pseudorandom-bit-sequence) pattern. BER tests let engineers build confidence that a device is working, but the tests do nothing to verify that two devices can establish a data link. For that, engineers need to send PCIe packets between two ends of a lane. Internal packet generators let PLX engineers and customers test that a switch can establish a link and send error-free packets. Packets are user-configurable so engineers can force packet errors and dropped packets to see how a link responds.
+ y% @4 J" Y* f
( x; @3 C" o* S+ d1 ~. i, M$ lPCIe has many possible errors, and a device must handle each in a consistent and specified manner. Through the . e6 h$ x4 ~2 e# J" X0 f
visionPAK software, a PCIe switch device can inject specific errors into a data stream at random times. The device has registers that log the errors, and engineers can interrogate the logs to find out how the device responded.4 ?! }7 s% j8 m& a
* B# M% e+ s2 I* o, D
Engineers generate high-density traffic using a switch's internal packet generator, which generates layer-2 packets called TLPs (transaction-layer packets) that establish the data link between two ends of a lane. "With the packets," said Conley, "you can test a link from end point to end point."
" L: Y  O, U. H
: B% j: M2 v- tThe data that travels over a serial link has a direct effect on how much power a switch consumes. Because of that, PLX engineers have developed data patterns that force PCIe switches to consume their maximum power. "Customers want to know a device's maximum power consumption," said Meduri. "They need it for their power budgets." He explained that a PCIe switch's core logic consumes about 70% of the total power, with the PHY circuit consuming about 30%. A device's power consumption is at its highest when the maximum number of transistors is switching on and off.3 t$ F* \' e( W5 Y% B8 {$ b
4 T+ @9 j+ s$ _- `
Power sequencing also plays a vital role in testing. A PCIe switch uses three voltages: 0.9 V for core logic, 1.8 V for SerDes (serializer-deserializer) and I/O buffer circuits, and 2.5 V for some I/O buffers. Meduri noted that the switches must function properly regardless of the order in which power comes up, so testing must include all possible power-up combinations./ T, v/ e+ U4 ^: n; o$ \

, Q5 M- b8 ?- V) A5 [, yEven with all of these tests to verify performance and to let engineers characterize the PCIe Gen3 switches, it's interoperability that counts. After all, a PCIe switch is part of a larger system. For interoperability testing, engineers use test boards and PC mother¬boards that can hold several PCIe peripherals such as switches from other manufacturers, network-interface cards, and graphics cards. The PLX interoperability lab for PCIe devices has more than 100 computers so engineers can test with most PCs on the market. Software developed for interoperability testing can detect any PCIe card in the system just as an operating system does. The software can send packets between the switch under test and any peripheral.' t9 n6 i# K. M. Y0 K" a
! q. W( Q& K" s0 Y6 C* b' |+ Y  V3 V. q
The PHY's the thing
' e0 x- v% G7 J1 Y( O$ W

' Z; C/ S% Q! x: e9 `3 OWith its acquisition of Teranetics, PLX moved into the 10-Gbps PHY market. The company's 10-Gbps PHY device, often used in routers at data centers, is an interface between 10GBaseT Ethernet on the line side and XAUI or XFI on the system side. Dimitry Taich, director of system engineering, said that although most available products use XAUI, more and more new designs use space-efficient XFI." D5 |% |( }" M4 t3 s# p7 \

0 O7 B9 C. x, ]3 H+ N$ B  BThe PHY device has features that help PLX engineers decide how to test it. For example, imagine that the log file on a device indicates that packet errors occur on a particular port and that the error intervals are equal to multiples of a power-supply switching frequency. This would point toward insufficient isolation between power planes and signal paths and would tell the engineers where to start their tests.
! {1 c2 r0 k+ j  X% v0 ?; x+ `# E/ U
* x+ x% z( T  S/ UPerformance tests begin, of course, with BER. "If you pass a BER test," said Taich, "then the PHY is working properly. If a device doesn't pass, then we have to study the problem.") k( |. A( G- h: D

" @  @& H/ j3 V8 Q/ MTo run a BER test, the engineers connect a traffic generator from Ixia or Spirent Communications to the device's XAUI receive channel. They then loop the 10GBaseT output from channel 1 to the input of channel 2. Figure 4 shows the setup for what Taich calls a "snake test" that tests all four of a device's ports.
1 P  V" r% ], z" w, T

- r# \: m: {/ n+ U4 i% ?

, A" w$ c3 R: t+ Y& K% g
; Y) O+ q9 O2 \1 a
& u( h' V  R  ^. |
Figure 4. A "snake test" lets engineers measure the BER on a PHY's four line-side and system-side ports.
/ |) ^, l7 Y. }9 O
9 U4 v# d& b* _* F  s9 U
, x  Z5 p* W8 ^2 M9 u
A test for a BER of 10-12 takes several minutes. That's what the standards require, but customers require a test for a BER of less than 10-14 or 10-15, which takes several days. The test uses actual Ethernet packets, not just PRBS patterns. "We drive traffic and look for broken packets," said Taich. "If we test for several days and see zero errors, we're done. If, however, a test fails, we have to go deeper and analyze test results, starting with finding which port or ports are causing the problem."
6 z9 a4 v  {' w; d$ Q
1 p* C+ a0 p3 \, `" Y" qOnce engineers know which port is causing the BER problem, they measure signal parameters such as jitter and driver linearity. They also look for problems related to temperature and power-supply voltage. The PHY devices have on-chip temperature sensors and can log their temperature readings. From the log data, engineers can decide if the device has a temperature problem. They can use the PHY device's internal temperature sensor to monitor device temperature. If required, they can adjust internal processing algorithms to mitigate the problem.9 ?1 O. M9 G5 o  v5 a0 Q- d; V

0 P3 \. s- H* u' ?/ y  Y8 DTemperature is just one of the variables that can affect a device's performance. PLX engineers run PVT tests that characterize the 10GBaseT PHYs. Engineers who characterize the PCIe switches and other devices also run these tests.0 I; O8 Z+ Y. Q3 f$ W

: U  A- k5 b# V7 s6 OPVT tests involve subjecting a device to extremes, or corners, of the three variables. Varying power-supply voltage and temperature is easy to do. Changing process variables such as speed requires that manufacturing engineers vary processes when making a device. Typically, design and test engineers will ask manufacturing to vary the process for device speed, but other parameters may also need adjustment.
  n, i0 j8 J# R) t6 {$ E. ]9 G
! H# l& ~6 M7 PA PHY can't connect directly to a connector. It must go through a transformer first. The transformer provides isolation, blocks DC voltages, and matches line impedance. PLX engineers test interface devices with transformers from several manufacturers so they can recommend a transformer to customers.
9 {/ W+ y% Q# T
# z. y5 w0 N9 q7 T# J) KPLX engineers also use evaluation boards to characterize their devices and gain extensive knowledge about how their parts work. Customers, though, design those devices into systems such as switch cards. Problems can occur there because of the interaction between components. At 10-Gbps speeds, even short PCB traces can affect signal quality. PHY devices should be placed as close to connectors as possible. A board may, however, have so many communications ports that designers cannot fit every PHY device near its connector. Taich noted that many multiport designs need two rows of PHY devices. Those devices in the second row will have longer PCB traces between them and their connectors, which can result in signal distortion compared to front-row devices.  |* J' b- ^% C+ m" e6 y8 L
+ |2 R7 d( F; z3 A) q( E
To help solve this problem, the PLX engineers developed a test routine that lets the PHY send a test pattern to the system upon power up. The device collects reflections from connectors and analyzes the reflections. In a few tens of microseconds, the device measures the quality of each link and places the results in registers that the host system can read. The device can compensate for signal loss through channel adjustments on its internal DSP (digital-signal processor). Such a test also allows a check for missing components in the data path, thus significantly speeding up systems-level manufacturing testing.2 c9 A: {$ h2 g& v' x

& N7 }, V: X; b" cThe PHY devices also have the ability to measure port-to-port (or "alien") crosstalk. "Crosstalk is an issue because speed and noise considerations are strict," said Taich. "We developed a routine where one port sends test patterns while another is quiet. Because we know the pattern, we can analyze the noise on the quiet port to see how much energy it receives." The port can measure the noise and compare noise levels to predetermined limits based on IEEE standards.# z9 Y+ Z' f# H) W; J/ [  L
# M9 n  y. G4 y9 T5 P5 o; z
Taich noted that PHY testing also requires engineers to run performance tests on their devices with cables of different lengths (up to 140 m) and from different suppliers. Measurements such as BER, jitter, and crosstalk take several hours, with a complete test suite taking two days to complete. To reduce test time and automate the changing of cables, PLX engineers developed a "robot" that connects a PHY under test to many cables under software control (Figure 5).

4 v: }3 A' n7 a& j+ H5 N, w  z. z  k& X+ C; V  S0 z

1 Y2 Y, \8 v! C/ _' {8 }% [
9 z+ A' J' c4 a$ Y' C$ C$ M/ y% O( m8 d

& u/ [+ O! Z+ n" O" g/ }; N! W8 rFigure 5. A robot automatically connects an assortment of cables to a PHY under test.
2 j& U6 V& F/ D2 q( b2 ^% ^3 f
" ?- d, ~. f1 e& B# |* Q  }, B: n* w$ Q1 U! W4 W$ `. c+ [
Interoperability is key
5 O! \- D5 d6 C' _" `2 \& c

, u* ]' B; a. o$ c: fAll communications devices must interoperate with those from other sources, often from competitors, so PLX engineers buy PHYs and SerDes devices from several companies in order to test their devices for interoperability. Based on the test results, the engineers can program internal logic (state machines, timers, signal-processing engines) to match a link partner's expectations and improve interoperability. Unfortunately, a setting that maximizes interoperability with one supplier's part can degrade interoperability with a different supplier's part. "It's a moving target," said Taich.# N+ p# O9 _/ m5 A9 g

) e' @& }9 N$ TBecause there are many 10GBaseT parts on the market, PLX still sends parts to the University of New Hampshire InterOperability Lab for tests (Ref. 2). "The UNH-IOL has a wide variety of test platforms, and they choose the most difficult products to test against," said Taich. "They also test for interoperability at 1-Gbps and 100-Mbps speeds, which we need to provide backward compatibility with older devices."7 e8 Q3 u0 ]: {# {: S* K

+ I' U5 P7 N- I; V; ]7 B7 f. UA great deal of testing goes into data-communications devices to ensure they comply with industry specifications and satisfy customer demands. By integrating test into the devices themselves, PLX engineers have made it possible to get their devices to market sooner.8 ?0 M# M3 z& w- l
% L5 W* C! i, z3 ?7 [6 T6 X) z1 e( Q7 M
REFERENCES0 L9 n) N8 V$ A' @
. d. x. ?& V1 `' G; E( Y
1. Kazmi, Akber, "PCI Express Gen 3 Simplified," EE Times, February, 24, 2009.2 U( \" b9 E# H4 m" y+ }* ^+ n+ L
5 s# w/ Y/ }" m1 i1 E. j# D* X$ I
2. Rowe, Martin, "Today's testing, tomorrow's engineers," Test & Measurement World, April 2006. p. 28.2 ]* ~: o7 j: X1 P5 U  Q! c- I. p
5 S, k4 c2 q5 ~3 a+ |

  f  X5 G; v  t' H7 X) @! U) F2 l0 t$ h& [& c+ `3 W/ I

74

主题

290

帖子

3379

积分

五级会员(50)

忠实粉丝

Rank: 5

积分
3379
3#
发表于 2011-4-27 10:08 | 只看该作者
啊。。。都是E文。。) r. y- J# ?  g& {9 ~" ~! ~" x" Q
不过很专业的感觉
踏实的走好每一步,每一天
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

推荐内容上一条 /1 下一条

巢课

技术风云榜

关于我们|手机版|EDA365 ( 粤ICP备18020198号 )

GMT+8, 2024-11-16 17:43 , Processed in 0.074549 second(s), 36 queries , Gzip On.

深圳市墨知创新科技有限公司

地址:深圳市南山区科技生态园2栋A座805 电话:19926409050

快速回复 返回顶部 返回列表