VGA
Models a variable gain amplifier
Libraries:
SerDes Toolbox /
Datapath Blocks
Description
The VGA block scales the amplitude of the input waveform based on a gain specified by the user.
Ports
Input
WaveIn — Input signal
scalar | vector
Input signal to be scaled, specified as a scalar or vector.
Data Types: double
Output
WaveOut — Estimated channel output
scalar | vector
Estimated channel output, returned as a scalar or vector corresponding to the input signal.
Data Types: double
Parameters
Mode — VGA operating mode
On
(default) | Off
VGA operating mode:
Off
— VGA is bypassed and the input waveform remains unchanged.On
— VGA scales the input waveform according to the specifiedGain
.
Programmatic Use
Use
get_param(gcb,'Mode')
to view the current VGA Mode.Use
set_param(gcb,'Mode',value)
to set VGA to a specific Mode.
Gain — Multiplicative gain used to scale the input waveform
1
(default) | scalar
Multiplicative gain used to scale the input waveform, specified as a unitless scalar.
Programmatic Use
Use
get_param(gcb,'Gain')
to view the current value of Gain.Use
set_param(gcb,'Gain',value)
to set VGA Gain to a specific value.
Data Types: double
Mode — Include Mode parameter in IBIS-AMI model
on (default) | off
Select to include Mode as a parameter in the IBIS-AMI file. If you deselect Mode, it is removed from the AMI files, effectively hard-coding Mode to its current value.
Gain — Include Gain parameter in IBIS-AMI model
on (default) | off
Select to include Gain as a parameter in the IBIS-AMI file. If you deselect Gain, it is removed from the AMI files, effectively hard-coding Gain to its current value.
Version History
Introduced in R2019a
See Also
AGC | serdes.AGC
| serdes.VGA
MATLAB 명령
다음 MATLAB 명령에 해당하는 링크를 클릭했습니다.
명령을 실행하려면 MATLAB 명령 창에 입력하십시오. 웹 브라우저는 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)