Re: [myhdl-list] calls with mismatched arguments being passed quietly
Brought to you by:
jandecaluwe
From: Henry G. <he...@ca...> - 2015-01-12 09:04:13
|
On 11/01/15 21:46, Jan Decaluwe wrote: > On 01/11/2015 08:00 PM, Henry Gomersall wrote: >> >Should a call to a function with mismatched arguments be passed quietly >> >as it sometimes is currently? > http://docs.myhdl.org/en/latest/manual/conversion.html#simulate-first Except that there are warnings currently in there for perfectly acceptable code. Indeed, as Josy points out, there are warnings about top level argument issues. I'm happy with the general concept, but it seems like something that is pretty easy to pick up at the conversion stage and warn about, rather than trying to diagnose test fails down the line - the VHDL would likely compile just fine. Cheers, Henry |