Skip to content

Meaning and usage of VER

AGWB generates for each block the regsiters ID and VER. VER is currently the same for all blocks as the crc32 of the whole system description.

addr_gen_wb.py
  wb.GLB.VER_ID = zlib.crc32(bytes(FINAL_XML.encode("utf-8")))

wb_block.py
  self.add_templ("block_ver", 'x"' + format(GLB.VER_ID, "08x") + '"', 0)

Having the same values for VER is redundant and thus obviously sub-optimal.

Imho VER of block should reflect the interface of this block. And thus provide an API version for this block which can be used in software for consistency checks.

I propose

  • for the top level use a VER derived from the whole system description (is is now)
  • for all blocks below use a VER derived from the block description

Of relevance for @w.zabolotny_AT_elka.pw.edu.pl , @mkruszew_AT_mion.elka.pw.edu.pl , @mguminski , @i.froehlich

Edited by Walter F.J. Müller