.. rst-class:: break_before This chapter serves as documentation for the XiBIF package. XiBIF API ========= .. code-block:: python from xibif import api to import ``api`` into your Python script. api.setup --------- The ``setup`` API populates an initialized XiBIF workspace with a valid project file. .. warning:: Some of the APIs depend on files being present that are created through different API calls. **Commands** .. automodule:: xibif.api.setup :members: :undoc-members: api.register ------------ The ``register`` API interfaces with ``Corsair`` and let's you generate project-specific register files. **Commands** .. automodule:: xibif.api.register :members: :undoc-members: api.build --------- The ``build`` API allows you to build your project in Vivado and Vitis. **Commands** .. automodule:: xibif.api.build :members: :undoc-members: api.flash --------- The ``flash`` API allows you to flash an FPGA. .. warning:: The flashed bitstream is not persistent. **Commands** .. automodule:: xibif.api.flash :members: :undoc-members: api.simulate ------------ The ``simulate`` API allows you to simulate your design in vunit. **Commands** .. automodule:: xibif.api.simulate :members: :undoc-members: api.testbench ------------- The ``testbench`` API allows you to generate testbenches for your design. **Commands** .. automodule:: xibif.api.testbench :members: :undoc-members: api.upgrade ----------- The ``upgrade`` API allows you to upgrade the project to the latest version of XiBIF. **Commands** .. automodule:: xibif.api.upgrade :members: :undoc-members: api.misc -------- The ``misc`` API contains utility and project-setup helpers that are used across commands. **Commands** .. automodule:: xibif.api.misc :members: :undoc-members: