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

Factor out router2's data structures #1390

Open
Ravenslofty opened this issue Oct 25, 2024 · 0 comments
Open

Factor out router2's data structures #1390

Ravenslofty opened this issue Oct 25, 2024 · 0 comments

Comments

@Ravenslofty
Copy link
Collaborator

Because of the thread-safety issues in the nextpnr arch API (#1388), router2 grew an abstraction layer for pip/bel manipulation. This has proved to be very useful, but it can be confusing to newcomers that router1 uses the arch API directly, but router2 has an abstraction. We should factor out the router2 abstraction layer and consider porting router1 to it; the abstraction layer would still be useful for a possible router3.

We could also consider abstracting out the router2 pathfinder; it can be confusing to see that the difference between r1 and r2 is in resolution congestion when they use entirely different pathfinders. (the r2 pathfinder could even be used to improve r1 runtime due to its efficiency)

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

No branches or pull requests

1 participant