当前位置:网站首页>[digital ic/fpga] Hot unique code detection

[digital ic/fpga] Hot unique code detection

2022-07-26 03:54:00 FPGA silicon agriculture

Hot unique code

The only hot code is One-Hot code , Also known as a bit effective code , The method is to use N Bit status register to N States to code , Each state has its own register bit , And at any time , Only one of them works , such as 00100.

testing

Method 1

The simplest method of detection is to put all of the data bit Add up , If and for 1, Then it indicates that the data is a hot unique code . as follows

//bit_cnt
[email protected](*)
begin
   bit_cnt=0;
   for(int i=0;i<N;i++
原网站

版权声明
本文为[FPGA silicon agriculture]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/207/202207260348259932.html