UCSBarchlab / PyRTL

A collection of classes providing simple hardware specification, simulation, tracing, and testing suitable for teaching and research. Simplicity, usability, clarity, and extensibility are the overarching goals, rather than performance or optimization.
http://ucsbarchlab.github.io/PyRTL
BSD 3-Clause "New" or "Revised" License
257 stars 78 forks source link

Some basic graph-related algorithms #352

Closed mdko closed 3 years ago

mdko commented 3 years ago

This PR adds two functions, paths and distance, for easily getting a list of paths between one or more sources and one more destinations.