[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gEDA: Icarus Verilog: Is it bug??



     this <= #1 (reset) ? 0 : that;
     foo  <= #1 (reset) ? 0 : bar;

frustum@pacbell.net said:
> if reset is 'bx, then this and foo will both get set to 'x. 

Not quite. If that is 0, then this will get 0, no matter what
reset is. Same for bar and foo.
-- 
Steve Williams                "The woods are lovely, dark and deep.
steve at icarus.com           But I have promises to keep,
steve at picturel.com         and lines to code before I sleep,
http://www.picturel.com       And lines to code before I sleep."