ghdl / ghdl-cosim

Documentation with code examples about interfacing VHDL with foreign languages and tools through GHDL
https://ghdl.github.io/ghdl-cosim
Apache License 2.0
46 stars 9 forks source link

vhpidirect: add report message to canary assertions #4

Closed umarcor closed 4 years ago

umarcor commented 4 years ago

As commented in https://github.com/umarcor/ghdl-cosim/pull/4#discussion_r407682762, this PR adds report messages to the assertions that should never be executed. If any of these is executed, it means that foreign sources have not been properly linked. Having a specific message helps understand which function is failing.