w*****r 发帖数: 348 | 1 switching activity is defined as the toggle rate of the input during the
simulation. Any suggestions? Thanks in advance. |
s*****o 发帖数: 22187 | 2 Could you please further explain what "equiprobable" and "0.5 switching
activity" mean?
【在 w*****r 的大作中提到】 : switching activity is defined as the toggle rate of the input during the : simulation. Any suggestions? Thanks in advance.
|
w*****r 发帖数: 348 | 3 I am not sure what equiprobable mean either. I assume we can ignore it right
now.
Suppose there are 1000 clock cycles in the simulation.
The times of a signal switches from 0 to 1 and 1 to 0 should be 500, so its
switching activity is 0.5. It can also be understood as toggle rate. |
s*****o 发帖数: 22187 | 4 I guess I know what you mean now.
right
its
【在 w*****r 的大作中提到】 : I am not sure what equiprobable mean either. I assume we can ignore it right : now. : Suppose there are 1000 clock cycles in the simulation. : The times of a signal switches from 0 to 1 and 1 to 0 should be 500, so its : switching activity is 0.5. It can also be understood as toggle rate.
|
s*****o 发帖数: 22187 | 5 Maybe you can generate a random number in [0,1] (call it R(n)) for each
cycle (n=# of cycles);
if R(n)<0.5 Data(n)=Data(n-1);
else Data(n)=!Data(n-1);
Sorry I am not familiar with verilog coding. Just my 2 cents. |