Tokens are string labels that are defined in a separate ASCII file and can be assigned to a particular bus value. These labels can be useful in applications such as address decoding and state machines. The token file (.tok extension) has a very simple format, and can be created or edited in any text editor. Tokens are in the form NAME=VALUE where NAME is the token name and VALUE is the token value (hex, binary, or decimal). Values are hex by default. To specify a radix for the value, append \b (binary), \u (unsigned decimal), \h (hex) to the value.
A default token can be used toset a default token value when no other VALUE matches are found. The @DEFAULT_TOKEN key can be usedto set the default token name. The token name “HEX” is used if no @DEFAULT_TOKEN line is used. The comment character in a token file is “#”. The first non-comment line of the token file must be “@FILE_VERSION=1.0.0”.

ChipScope之Token文件

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-09-16
  • 2021-09-06
  • 2021-05-07
  • 2021-12-23
  • 2022-12-23
  • 2021-11-27
猜你喜欢
  • 2021-12-16
  • 2021-06-18
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-20
  • 2021-10-03
相关资源
相似解决方案