Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Fix handling of features above 32 bits or with offset#31

Merged
lromor merged 1 commit into
lromor:mainlromor/fpga-assembler:mainfrom
gatecat:fix-feature-vectorsgatecat/fpga-assembler:fix-feature-vectorsCopy head branch name to clipboard
Jun 25, 2025
Merged

Fix handling of features above 32 bits or with offset#31
lromor merged 1 commit into
lromor:mainlromor/fpga-assembler:mainfrom
gatecat:fix-feature-vectorsgatecat/fpga-assembler:fix-feature-vectorsCopy head branch name to clipboard

Conversation

@gatecat

@gatecat gatecat commented Jun 25, 2025

Copy link
Copy Markdown
Contributor

There were two bugs spotted here:

  • (1 << feature_addr) was only a 32 bit value because neither 1 nor feature_addr were 64 bits, so 64 bit features would be generated wrongly
  • bits is not shifted by start_bit, so the test of it should start from 0 rather than start_bit

With this I can get the himbaechel-xilinx blinky example to correctly build for arty-a35t using this for assembly.

Signed-off-by: gatecat <gatecat@ds0.me>
@lromor
lromor merged commit ff8ab9a into lromor:main Jun 25, 2025
4 checks passed
@lromor

lromor commented Jun 25, 2025

Copy link
Copy Markdown
Owner

Nice catch! Thanks for taking the time to debug this.

@gatecat
gatecat deleted the fix-feature-vectors branch June 25, 2025 15:28
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.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.