Re: more on Bernard's SCE-MI 2.0 issue

From: Bernard Deadman <bdeadman_at_.....>
Date: Thu Jun 28 2007 - 11:53:07 PDT
Hi Per,

I try to adopt the rules in:

http://www.sunburst-design.com/papers/CummingsSNUG2000SJ_NBA.pdf

where you'll find:

Guideline #5: Do not mix blocking and nonblocking assignments in the 
same always block.

Clearly a blocking assignment to a variable breaks this guideline, plus 
there's another example of a redundant assignment in the same clocked block:

    dummy_rv = ReportTransaction( TransactionArg_q_r );

The 'dummy_rv' variable is never used so hopefully it gets optimized away.


As I said before, I'm no synthesis guru!

Regards

Bernard




Per Bojsen wrote:
>>
>> c <= SetResponse( argument )[ `my_slice ]
> Actually I tried this but the problem I got into is Verilog won't 
> allow me to slice the return value of a function call, for example I 
> can't do:
>
> I hadn't thought of this.  In that case the local variable is
> necessary.  But I still think synthesis should be able to handle
> it.


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Thu Jun 28 11:53:21 2007

This archive was generated by hypermail 2.1.8 : Thu Jun 28 2007 - 11:53:36 PDT