Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bitfield which covers three or more lanes does not work in mid-lanes. #45

Open
lswang2 opened this issue Jan 24, 2024 · 0 comments
Open

Comments

@lswang2
Copy link

lswang2 commented Jan 24, 2024

"config":{ "bits":32 },
"reg": [ {"name":"FIELD_1","bits":8}, {"bits":24} ] }

The bit 23:16 have to be gray but remains in white color.

The labelArr function need to be modified as below

        if floor(e["lsb"] / self.mod) < self.index and \
            floor(e["msb"] / self.mod) > self.index:
            lsb = self.index*self.mod
            msb = (self.index + 1)*self.mod - 1
        elif floor(e["lsb"] / self.mod) == self.index:
            lsbm = e["lsbm"]
            lsb = e["lsb"]
            if floor(e["msb"] / self.mod) == self.index:
                msb = e["msb"]
                msbm = e["msbm"]
        elif floor(e["msb"] / self.mod) == self.index:
            msb = e["msb"]
            msbm = e["msbm"]
        else:
            continue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant