Stimulus
Set pseudorandom binary sequence (PRBS) pattern and number of symbols to simulate in SerDes model
- Library:
SerDes Toolbox / Utilities
Description
The Stimulus sets the PRBS pattern and the number of symbols to simulate in a SerDes Toolbox™ model.
Ports
Output
WaveOut
— Output signal with specific PRBS pattern
vector
Output pattern with a specific PRBS pattern, specified as a vector.
Data Types: double
Parameters
PRBS
— Order of the pseudorandom binary sequence
11
(default) | 7
| 9
| 13
| 15
| 20
| 23
| 31
| 47
Order of the pseudorandom binary sequence.
Dependencies
This parameter is only editable when Custom stimulus option is deselected.
Programmatic Use
Use
get_param(gcb,'PRBS')
to view the current value of PRBS.Use
set_param(gcb,'PRBS',value)
to set PRBS to a specific value.
Number of symbols
— Length of PRBS pattern used for simulation
2000
(default) | positive integer
Length of the PRBS pattern used for simulation, specified as a positive integer.
Programmatic Use
Use
get_param(gcb,'NumberOfSymbols')
to view the current value of Number of symbols.Use
set_param(gcb,'NumberOfSymbols',value)
to set Number of symbols to a specific value.
Custom stimulus
— Select to input a custom stimulus
off (default) | on
Select to input a custom stimulus. By default, this option is deselected.
If you enable this option, you can manually enter a vector containing the input voltages at sample interval spacing as your stimulus.
Example: [zeros(1,(SymbolTime/SampleInterval)),ones(1,(SymbolTime/SampleInterval))]-0.5
Recommended simulation stop time (s)
— Minimum time simulation must run for meaningful results
2e-7
(default) | positive real scalar
Minimum time the simulation must run for meaningful results, specified as a positive real scalar in seconds. Recommended simulation stop time (s) is calculated by multiplying the Sample Interval from the Configuration block with the Number of symbols.
Data Types: double
Use recommended simulation stop time
— Set recommended simulation stop time as simulation stop time
on (default) | off
Select to directly set the Recommended simulation stop time as the simulation stop time. By default, this option is selected.
Version History
Introduced in R2019a
See Also
MATLAB 命令
您点击的链接对应于以下 MATLAB 命令:
请在 MATLAB 命令行窗口中直接输入以执行命令。Web 浏览器不支持 MATLAB 命令。
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)