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
253 stars 76 forks source link

Return special dictionaries from `net_connections()`. #405

Closed mdko closed 2 years ago

mdko commented 2 years ago

Returns special dictionaries from net_connections() so that attempted lookups using _MemIndexed produce helpful error messages on what to do instead.

This should probably be removed if/when the wider issue (of the _MemIndexed wrapper subtly changing how block methods behave) is fixed more generally.