|
楼主 |
发表于 2016-11-3 16:15:39
|
显示全部楼层
原版
What are the symptoms of this mistake? The code above creates only one
Transaction, so every time through the loop, generator_bad changes the object
at the same time it is being transmitted. When you run this, the $display shows
many addr values, but all transmitted Transaction objects have the same value
of addr. |
|