|
发表于 2006-9-12 17:39:46
|
显示全部楼层
tempreg=reg;
This line should be tempreg = rega; right?
The first question,
I think tempreg means tempreg != 8'h00; in fact, it means at least one bit is not zero.
The second question.
The variable array memory maybe defined like this,
reg [n:0] memory [m:0];
and n:0 defines the widhth of each element in the array,
and m:0 defines the amount of element in the array.
In the example, m should not less than 255.
Sorry again,
I can noly input with my poor english. |
|