J
justin999
Guest
an encode problem?
i want to design module, which receives a byte each clock
at the same time, it must encode the byte and sent it out,
but it is required that the current byte and the pre byte have all almost the same 0 and 1, that is ,if pre byte have three "1" and five "0", the current byte must have 5 "1" and 3 "0". the received byte is not contolled by me, of course, redundancy exists
i want to design module, which receives a byte each clock
at the same time, it must encode the byte and sent it out,
but it is required that the current byte and the pre byte have all almost the same 0 and 1, that is ,if pre byte have three "1" and five "0", the current byte must have 5 "1" and 3 "0". the received byte is not contolled by me, of course, redundancy exists