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

Fixed FXP data conversion issue #176

Merged
merged 1 commit into from
Mar 18, 2024
Merged

Fixed FXP data conversion issue #176

merged 1 commit into from
Mar 18, 2024

Conversation

Raagul-s
Copy link
Contributor

@Raagul-s Raagul-s commented Mar 18, 2024

TODO: Check the above box with an 'x' indicating you've read and followed CONTRIBUTING.md.

What does this Pull Request accomplish?

FPGA addon CD doesn’t handle FXP data type conversion properly; it works only for FXP(8, 16, 32, 64) bit word lengths. For remaining word lengths, it converts data to some junk values.
image

Required logical bit shift logic is included in both Read & Write FXP VIs to support all FXP word length.

Why should this Pull Request be merged?

Including this changes will allow FPGA addon CD to support FXP data type of all word length.

What testing has been done?

Build the CD on local PC & tested it by deploying bit file with different FXP word length (FXP 48,16).

image

@Raagul-s Raagul-s requested a review from buckd as a code owner March 18, 2024 14:11
@niveristand-diff-bot
Copy link
Collaborator

Bleep bloop!

LabVIEW Diff Robot here with some diffs served up hot for your pull request.

Notice something funny? Help fix me on my GitHub repo.

FPGA Register IO.lvlib--Read FXP.vi.png

capture

FPGA Register IO.lvlib--Write FXP.vi.png

capture

@buckd buckd merged commit 74d2c96 into main Mar 18, 2024
7 checks passed
@Raagul-s Raagul-s deleted the fxp_data_conversion_fix branch March 19, 2024 03:29
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

Successfully merging this pull request may close these issues.

3 participants