FABulous.fabric_definition.Gen_IO ================================= .. py:module:: FABulous.fabric_definition.Gen_IO .. autoapi-nested-parse:: Generated I/O definition module. This module contains the Gen_IO class which represents generated I/O ports for FPGA fabric tiles. These are automatically generated I/O interfaces that connect fabric internals to external pins. Classes ------- .. py:class:: Gen_IO() Store information about a generated IO port (GEN_IO). The information are parsed from the `GEN_IO` definitions in the tile CSV file. .. attribute:: prefix The prefix of the GEN_IO given in the CSV file. :type: str .. attribute:: pins Number of IOs. :type: int .. attribute:: IO Direction of the IOs, either INPUT or OUTPUT, seen from the fabric side. This means a fabric INPUT is an OUTPUT globally and vice versa. :type: IO .. attribute:: configBit The number of accessible config bits for config access GEN_IO. :type: int .. attribute:: configAccess Whether the GEN_IO is config access. Routes access to config bits, directly to TOP. This GEN_IOs are not connected to the switchmatrix, Can only be used as an OUTPUT. :type: bool .. attribute:: inverted GEN_IO will be inverted. :type: bool .. attribute:: clocked Adds a register to GEN_IO. :type: bool .. attribute:: clockedComb Creates two signals for every GEN_IO. _Q: The clocked signal. : The original combinatorial signal. If the GEN_IO is an INPUT, then there will be created two signals to the top, _Q_top is the clocked input signal and _top is the combinatorial input signal. If the GEN_IO is an OUTPUT, then there will be two signals connected to the switch matrix, _Q is the clocked output signal and is the combinatorial output signal. :type: bool .. attribute:: clockedMux GEN_IO will be multiplexed between the combinatorial and clocked signal. The multiplexer can be switched via config bits. :type: bool