Skip to content

Comments

memory_libmap: Add -force-params [sc-273]#5694

Merged
Ravenslofty merged 1 commit intomainfrom
lofty/krys-memory_libmap-force-params
Feb 20, 2026
Merged

memory_libmap: Add -force-params [sc-273]#5694
Ravenslofty merged 1 commit intomainfrom
lofty/krys-memory_libmap-force-params

Conversation

@Ravenslofty
Copy link
Collaborator

If your work is part of a larger effort, please discuss your general plans on Discourse first to align your vision with maintainers.

What are the reasons/motivation for this change?
(This is a patch that @KrystalDelusion wrote for synth_analogdevices that I thought should be pulled out of that patch series before it gets PR'd.)

It can be a bit unergonomic to configure memories when the intermediate cell generated by memory_libmap does not have certain size parameters.

Explain how this is achieved.
Add a -force-params option to always instantiate these size parameters for more uniform mapping handling.

Make sure your change comes with tests. If not possible, share how a reviewer might evaluate it.
This is admittedly a little awkward, since these are used as part of synth_analogdevices and as such that flow would have the testcases in question.

Reduce complexity for adi brams by unconditionally providing the WIDTH and ABITS parameters.
@KrystalDelusion
Copy link
Member

Oop, thanks for splitting this and opening the PR 💜

@Ravenslofty Ravenslofty merged commit 0944817 into main Feb 20, 2026
31 checks passed
@Ravenslofty Ravenslofty deleted the lofty/krys-memory_libmap-force-params branch February 20, 2026 10:57
@Ravenslofty Ravenslofty changed the title memory_libmap: Add -force-params memory_libmap: Add -force-params [sc-273] Feb 20, 2026
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