[myhdl-list] Adding information to asserts
Brought to you by:
jandecaluwe
From: Christopher F. <chr...@gm...> - 2009-02-25 13:48:08
|
In general as MyHDL is more widely used we come across asserts that can be enhanced. The enhancements are usually printing out more information about the error. What is the correct pythonic method to add more information (print info) to an assertion? I assume you do not want to simply add prints, then the prints occur before the stack dump. Is there an example in the MyHDL base that would serve as a good template? Is there standard formats and info that is commonly used in python? Thanks |