Skip to content

[Feature] Converting multidimensional arrays to streaming buffer #382

@slbioig

Description

@slbioig

Describe the solution you'd like
I was trying to figure out how to convert partial dimensions of multidimensional array into Streaming buffer in order to create array of FIFOs. And I found this example.
s.to(MockBuffer(s.top_func_name, "A_FIFO"), [0, 1], axis = 0, depth=1)
I don't understand how this works, but it seems like this line of code converts last few dimensions of multidimensional array in to streaming buffers. The number of dimensions are determined by '[0, 1]', but it always converts last dimensions into streaming buffer and I couldn't figure out how to determine which dimensions to convert.
Is there any way to specify which dimensions to convert?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions