Skip to content

B*x type fields are being misinterpreted #52

Description

@JackNelson

Tasks/Steps/Elements

The bits are being read in reverse

>>> [pow(2, 7-i) for i in range(8)]
[128, 64, 32, 16, 8, 4, 2, 1]

Should be assigned in ascending order rather than descending

>>> [pow(2, i) for i in range(8)]
[1, 2, 4, 8, 16, 32, 64, 128]

https://github.com/Semi-ATE/STDF/blob/main/Semi_ATE/STDF/STDR.py#L1673-L1677

Versions checklist

  • Spyder version: >= 5
  • JupyterLab = 3.4.2
  • Python version: 3.8.13
  • Qt version: all
  • PyQt version: 5.15.1
  • Operating System name/version:
    • server : Ubuntu 20.04 Linux
    • client : Linux

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions