cornell-brg / pymtl

Python-based hardware modeling framework
BSD 3-Clause "New" or "Revised" License
234 stars 83 forks source link

Translation should raise informative exception when unsupported AST nodes are encountered #90

Closed dmlockhart closed 9 years ago

dmlockhart commented 10 years ago

Currently if certain Python features are used in concurrent blocks, translation will barf with a cryptic message. Instead we should have more informative messages showing the issue and the line number! Here are some nodes we currently don't support in concurrent blocks: