docs: def add_version_info(matrix, version):
      """\
      Adds the version information to the matrix, for versions < 7 this is a no-op.
  
      ISO/IEC 18004:2015(E) -- 7.10 Version information (page 58)
      """
      #
      # module  0 = least significant bit
      # module 17 = most significant bit
      #
      # Figure 27 — Version information positioning (page 58)
      #
      # Lower left                    Upper right
      # ----------                    -----------
      #  0  3  6  9 12 15               0  1  2
      #  1  4  7 10 13 16               3  4  5
      #  2  5  8 11 14 17               6  7  8
      #                                 9 10 11
      #                                12 13 14
      #                                15 16 17
      #
      if version < 7:
          return
      version_info = consts.VERSION_INFO[version - 7]
      for i in range(6):
          bit1 = (version_info >> (i * 3)) & 0x01
          bit2 = (version_info >> ((i * 3) + 1)) & 0x01
          bit3 = (version_info >> ((i * 3) + 2)) & 0x01
          # Lower left
          matrix[-11][i] = bit1
          matrix[-10][i] = bit2
          matrix[-9][i] = bit3
          # Upper right
          matrix[i][-11] = bit1
          matrix[i][-10] = bit2
          matrix[i][-9] = bit3