Skip to content

Conversation

@sermazz
Copy link

@sermazz sermazz commented Jul 31, 2025

This PR builds on top of #1 (that can be closed).
It implements multi-precision (parametrizable number of elements in a word, and width of each element). Previously, the datamover was hardcoded to 4 elements of 8 bits each, i.e., the classical 32-bit word configuration.

For the current limitations of this work, refer to the README: https://github.com/pulp-platform/datamover/tree/smazzola/multi-precision?tab=readme-ov-file#on-the-parametrization
In particular, while the multi-precision features are tested and functional, the transpose functionalities from @FrancescoConti are still not integrated in the golden model and therefore not yet tested.

arpansur and others added 17 commits February 4, 2025 08:10
Updated the packages with right register offsets for the configuration registers
A standalone testbench with configurations to the HWPE
done from the testbench and a dummy simulation memory tb_dummy_memory
to emulate TCDM transaction.
Enabled MISALIGNMENT in both source and sink
Updated addresses to consecutive addresses
Rectify the Byte Enable in the top wrapper. In theory it should be handled in the HCI
The datamover will likely be used with relatively fine-grained
jobs. Therefore, this commit reduces the number of registers (from
14 to 11) and increases the number of contexts (from 2 to 4) to
enable faster offload.
@sermazz sermazz force-pushed the smazzola/multi-precision branch from 8dec1b6 to a190203 Compare August 2, 2025 14:50
@sermazz sermazz force-pushed the smazzola/multi-precision branch 2 times, most recently from d9e896c to 420e305 Compare October 16, 2025 15:41
@sermazz sermazz force-pushed the smazzola/multi-precision branch from 420e305 to effa4eb Compare October 18, 2025 08:11
@sermazz sermazz self-assigned this Oct 22, 2025
@sermazz sermazz force-pushed the smazzola/multi-precision branch from 8aff022 to 0f4d7ff Compare October 22, 2025 10:51
@sermazz sermazz force-pushed the smazzola/multi-precision branch from 0f4d7ff to 1be72db Compare October 22, 2025 10:53
Copy link

@CycyXX CycyXX left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!
I also tested it on my machine and the tests are successful.

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.

4 participants