cucapra / filament

Fearless hardware design
http://filamenthdl.com/
MIT License
134 stars 7 forks source link

Extend assert syntax #444

Open gabizon103 opened 1 month ago

gabizon103 commented 1 month ago

Mentioned in #438, could be nice to have syntax that allows users to write a reason for an assert, which gets displayed when the assert fails. Would make for more helpful error messages, especially when one is using a component they didn't write themselves, such as one from a library.

rachitnigam commented 1 month ago

Awesome! This would be great for UX.