Add a message when omitting a $Ssdf_annotate() call.

This commit is contained in:
Cary R 2009-01-29 18:31:45 -08:00 committed by Stephen Williams
parent c8cb024cb2
commit d2f4edbfbd
1 changed files with 2 additions and 0 deletions

View File

@ -2455,6 +2455,8 @@ NetProc* PCallTask::elaborate_sys(Design*des, NetScope*scope) const
if (gn_specify_blocks_flag == false
&& peek_tail_name(path_) == "$sdf_annotate") {
cerr << get_fileline() << ": warning: Omitting $sdf_annotate() "
<< "since specify blocks are being omitted." << endl;
NetBlock*noop = new NetBlock(NetBlock::SEQU, scope);
noop->set_line(*this);
return noop;