Main Content

ibischk

R2026b

Validate IBIS-related files according to IBIS Open Forum

Since R2026b

Description

output = ibischk(file) runs the ibischk parser on the specified IBIS-related file and returns the full text output from the parser.

[output,errorCount,warningCount] = ibischk(file) also returns the parsed error count and warning count extracted from the ibischk output.

Examples

collapse all

Use the ibischk function to validate the contents of the simple_serdes.ibs file attached with this example. Capture any error and warning counts.

[output,errorCount,warningCount] = ibischk("simple_serdes.ibs");

Display the full parser output.

disp(output)
IBISCHK7 V7.2.1

Checking simple_serdes.ibs for IBIS 6.1 Compatibility...

Errors  : 0

File Passed

Display the error and warnings.

fprintf("Errors: %d, Warnings: %d\n",errorCount,warningCount);
Errors: 0, Warnings: 0

Next, validate the serdes_rx.ami file attached with this example. Display the full parser output.

output_ami = ibischk("serdes_rx.ami");
disp(output_ami)
IBISCHK7 V7.2.1

... Checking serdes_rx.ami for AMI Version 7.2 Compatibility...

Errors  : 0

File Passed

Input Arguments

collapse all

Path to the IBIS-related file to validate, specified as a string. The function supports .ibs, .ebd, .pkg, .ami, .ims, .ems, and .emd files.

The file extension determines which parsing mode ibischk uses: .ibs files require no flag, while other extensions use their corresponding flags. For example, you must use the -ami flag for .ami files.

Data Types: string

Output Arguments

collapse all

Full text output from the ibischk parser, returned as a character vector. It contains the complete parser report including any errors, warnings, and informational messages generated during validation of the input file.

Number of errors found by the ibischk parser, returned as a nonnegative scalar integer. If no error count is found in the output, the value is 0.

Number of warnings found by the ibischk parser, returned as a nonnegative scalar integer. If no warning count is found in the output, the value is 0.

Version History

Introduced in R2026b

See Also

(SerDes Toolbox)