design serdes system and export ibis-凯发k8网页登录
this example shows how to use the serdes designer app to create and analyze a serdes system, and create the ibis-ami models for the transmitter and receiver from simulink®. in this example, you can learn how to design the top-level serdes system in the app, then export a simulink model for further time-domain analysis. finally, you can export the ibis-ami models for the finalized serdes system from simulink.
configure serdes designer app
open the serdes designer app by typing the following command in the matlab command prompt:
>> serdesdesigner
alternately, in the apps tab, under signal processing and communications, click the app icon.
in the serdes system window, select analogout block and add an ffe block to its left, as shown by the position of the red cursor. then select the analogin block and add a ctle block and a dfecdr block to its right.
select the ffe block in the tx subsystem. in the block parameters window, change tap weights from [0 1 0 0 0]
to [0 1 0 0]
, so that the ffe has one pre tap, one main tap, and two post taps. leave all other blocks in their default settings.
perform statistical analysis
from the analysis section in the app toolstrip, select add plots > pulse response to display the pulse response of the serdes system. you can zoom in to your area of interest where pulse equalization works.
notice the difference in the pulse response before and after equalization.
select add plots > ber to display the statistical eye, bathtub, and contours curves overlayed together in a single plot.
the eye diagram is used to determine the quality of signal integrity. an "open" eye indicates a higher probability of bit recovery. the bathtub curve plots the bit error rate as a horizontal function of the data eye and corresponds to eye width. the contour curve plots the bit error rate as a vertical function of the data eye, and corresponds to eye height.
select add plots > report to view the serdes system report.
notice that ctle:configselect and dfecdr:tapweights (v) is determined by the optimization algorithm, since both ctle and dfecdr blocks were in adapt
mode.
export serdes system to simulink
from the export tab in the app toolstrip, click the export button to export the serdes system to the simulink environment. the simulink canvas contains a model that represents the serdes system configured in the app.
double click the configuration block to open the block parameters dialog box. the parameter values for symbol time (s), samples per symbol, target ber, modulation, and signaling is carried over from the serdes designer app.
double click the stimulus block to open the block parameters dialog box. you can set the prbs (pseudorandom binary sequence) order and the number of symbols to simulate. this block is not carried over from the serdes designer app.
double click the tx block to look inside the tx subsystem. the subsystem has the ffe block carried over from the serdes designer app. an init block is also introduced to model the statistical portion of the ami model. double click the ffe block and notice that the parameter values for tap weights is carried over from the app.
double click the analog channel block to open the block parameters dialog box. the parameter values for target frequency, loss, impedance and tx/rx analog model parameters is carried over from the serdes designer app.
double click on the rx block to look inside the rx subsystem. the subsystem has the ctle and dfecdr blocks carried over from the serdes designer app. an init block is also introduced to model the statistical portion of the ami model.
run simulation
run the model to simulate the serdes system. two plots are generated. the first one is a live time-domain eye diagram that is updated as the model is running.
the second plot contains four views of the statistical simulation results and two views of the time-domain simulation results. the statistical simulation results include the pulse response, statistical eye with bathtub and contours curve, output waveform derived from pulse response, and a report including the eye height, eye width, eye area, channel operating margin (com) and vertical eye closure (vec). the time-domain results include the time-domain eye and time-domain eye metrics including the eye height, eye width, eye area, com, vec, and minimum ber.
generate tx/rx ibis-ami models
open the block parameter dialog box for the configuration block and click on the open serdes ibis/ami manager button.
in the export tab, configure the models and files to be exported. corner percentage scales the i-v and v-t curve data, voltage range, and other ibis data. ami model settings - tx and ami model settings - rx determine whether the exported model processes the init data, the getwave data, or both (dual model).
in the ibis tab, the analog model values are converted to standard ibis parameters that can be used by any industry standard simulator.
in the ami-tx and ami-rx tabs, the reserved parameters are listed first followed by the model-specific parameters, which follow the format of a typical ami file.
in the export tab of the serdes ibis-ami manager parameter window, specify the target directory as c:\users\
and click the export button. on your desktop, inside a newly created dll
folder, you can find the generated serdes.ibs
, serdes_rx.ami
and serdes_tx.ami
files.
you can now test the ibis-ami models in a standard ami model simulator.
see also
| | | serdes designer