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.
Seleziona un sito web
Seleziona un sito web per visualizzare contenuto tradotto dove disponibile e vedere eventi e offerte locali. In base alla tua area geografica, ti consigliamo di selezionare: .
Puoi anche selezionare un sito web dal seguente elenco:
Come ottenere le migliori prestazioni del sito
Per ottenere le migliori prestazioni del sito, seleziona il sito cinese (in cinese o in inglese). I siti MathWorks per gli altri paesi non sono ottimizzati per essere visitati dalla tua area geografica.
Americhe
- 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)