generateDefaultInputString
Description
generates the input string to the InputString = generateDefaultInputString(AMIFile)serdes.AMI object from the provided AMI
file with the default values.
Examples
Create the TX AMI System object.
txAMI = serdes.AMI; txAMI.LibraryPath = 'C:\serdes'; % Path to the directory containing the DLL/SO file txAMI.LibraryName = ['serdes_tx_' computer('arch')]; % Name of the DLL or SO file txAMI
txAMI =
serdes.AMI with properties:
LibraryName: 'serdes_tx_glnxa64'
LibraryPath: 'C:\serdes'
InputString: ''
SymbolTime: 1.0000e-10
SampleInterval: 6.2500e-12
BlockSize: 1024
RowSize: 7065
Aggressors: 0
PassThrough: false
InitOnly: true
SkipFirstBlock: true
OutputName: 'AMIOut'
AMIData: [1×1 struct]
Generate the input string from the AMI file for the transmitter attached with this example. You can also use your custom AMI file, but it must be available in the present working directory.
txInputString = txAMI.generateDefaultInputString('serdes_tx.ami');Observe the generated input string. This transmitter contains an FFE operating in fixed mode and the modulation scheme is set to 3.
disp(serdes.AMI.generateDefaultInputString('serdes_tx.ami'));(serdes_tx(Modulation_Levels 3)(FFE(Mode 1)(TapWeights(-1 0)(0 1)(1 0)(2 0))))
You can modify the input string to set the modulation scheme to 2 and bypass the FFE by setting FFE mode to 0.
txInputString = '(serdes_tx(Modulation_Levels 2)(FFE(Mode 0)(TapWeights(-1 0)(0 1)(1 0)(2 0))))';Recreate the TX AMI system object with the updated input string.
txAMI.InputString = txInputString; txAMI
txAMI =
serdes.AMI with properties:
LibraryName: 'serdes_tx_glnxa64'
LibraryPath: 'C:\serdes'
InputString: '(serdes_tx(Modulation_Levels 2)(FFE(Mode 0)(TapWeights(-1 0)(0 1)(1 0)(2 0))))'
SymbolTime: 1.0000e-10
SampleInterval: 6.2500e-12
BlockSize: 1024
RowSize: 7065
Aggressors: 0
PassThrough: false
InitOnly: true
SkipFirstBlock: true
OutputName: 'AMIOut'
AMIData: [1×1 struct]
Input Arguments
AMI file containing AMI settings and parameters, specified as a text file.
Output Arguments
Generated input string per IBIS-AMI standard based on the default values in the provided AMI file, returned as a character vector.
Version History
Introduced in R2026a
See Also
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Website auswählen
Wählen Sie eine Website aus, um übersetzte Inhalte (sofern verfügbar) sowie lokale Veranstaltungen und Angebote anzuzeigen. Auf der Grundlage Ihres Standorts empfehlen wir Ihnen die folgende Auswahl: .
Sie können auch eine Website aus der folgenden Liste auswählen:
So erhalten Sie die bestmögliche Leistung auf der Website
Wählen Sie für die bestmögliche Website-Leistung die Website für China (auf Chinesisch oder Englisch). Andere landesspezifische Websites von MathWorks sind für Besuche von Ihrem Standort aus nicht optimiert.
Amerika
- América Latina (Español)
- Canada (English)
- United States (English)
Europa
- 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)