.. _file_format_bus_group_file:
Bus Group File (.xml)
=====================
The bus group file aims to show
- How bus ports are flatten by EDA engines, e.g., synthesis.
- What are the pins in post-routing corresponding to the bus ports before synthesis
An example of file is shown as follows.
.. code-block:: xml
Bus-related Syntax
------------------
.. option:: name=""
The bus port name defined before synthesis.
.. option:: lsb=""
The *Least Significant Bit* (LSB) of the bus
.. option:: msb=""
The *Most Significant Bit* (MSB) of the bus
Pin-related Syntax
------------------
.. option:: id=""
The index of the current pin in a bus port. The index must be the range of **[LSB, MSB-1]** that are defined in the bus.
.. option:: name=""
The pin name after bus flatten in synthesis results