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

Add sanity checks for wirevector_by_name #382

Closed mdko closed 3 years ago

mdko commented 3 years ago

This PR adds some sanity checks for checking the consistency of wirevector_by_name. This revealed a few bugs in passes where the wirevector_by_name dictionary was not being updated.

Also updated code’s developer notes for clarity.