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

Ordered collections #707

Open
lekcyjna123 opened this issue May 20, 2024 · 1 comment
Open

Ordered collections #707

lekcyjna123 opened this issue May 20, 2024 · 1 comment
Labels
question Further information is requested

Comments

@lekcyjna123
Copy link
Contributor

In LSU we are planing to use shift register to keep age order of instructions. Shift registers are linear. Maybe we should consider using the binary trees to keep elements in order? I am not sure if there will be any benefits of such solution.

The only one which come to my mind is the complexity of the random access in trees we have O(log(depth)) critical path. In shift register we have implementation defined critical path -- we don't know how access to the element in the array will be synthesised by yosys.

@lekcyjna123 lekcyjna123 added the question Further information is requested label May 20, 2024
@tilk
Copy link
Member

tilk commented May 21, 2024

Shift registers are linear.

A shift register is linear in size, but constant in critical path. I fail to understand the point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants