

Files for itkpix-efuse-codec, version 0.3.1 Filename, size If you're not sure which to choose, learn more about installing packages. probe_location_id ()ĭownload the file for your platform. probe_location_name () probe_location_id = efuse_data. chip_sn () probe_location_name = efuse_data.

decode ( retrieved_efuse_data ), 2 ) # parse the binary string into an integer efuse_data = EfuseData ( decoded_efuse_data ) # EfuseData class has useful getters chip_sn = efuse_data. decoded_efuse_data = int ( itkpix_efuse_codec. To decode 32-bit E-fuse data retreived from the ITkPix ASIC, you would do: import itkpix_efuse_codec from itkpix_efuse_codec import EfuseData retrieved_efuse_data : int =. encode ( probe_location_name, chip_sn ) # returns binary string efuse_data = int ( efuse_binary_string, 2 ) # parse the binary string into an integer To generate the 32-bit encoded E-fuse data you would do: import itkpix_efuse_codec probe_location_name : str = "BONN" # must be a valid name chip_sn : int = 0x12345 efuse_binary_string = itkpix_efuse_codec. You can import the itkpix_efuse_codec module in your existing Python scripts. Pip installing itkpix-efuse-codec givers you the efuse command-line utility, which has the encode and decode sub-commands. Simply run the following command to install: pip install itkpix-efuse-codec Simply add the single_include/itkpix_efuse_codec/ĭirectory to your project's include path and you should be able to

The itkpix-efuse-codec C++ library is header-only. Utilities for encoding and decoding the data stored in the ITkPix ASIC e-fuses Installation Cpp
