EEEngineer
Newbie level 3
Hello ,
Here is what I would like to do for the incoming Bit stream of 0's and 1's.
The moment I see '01' I need to jump (or skip) the next incoming 45 bits and check if the next 3 bits are '1'. If yes then I need to print a "Success" message.
Could anyone please tell me if its possible for me to jump (or skip) 45 bits and check the next 3 bits.. I tried using #45 and wait(45) functions in verilog but doesnt work....or is it that I need to traverse through bit-by-bit 45 times till I reach those 3-bits.
Eg: Consider a sample Bit-stream:
00011 01 000101 00000000000000000000000000000001 1110001 1 1 1
After the first '01' , 45-bits should be skipped to check the 48, 49 and 50th bits for a '1' . If yes then "success" message is printed else "error"
Thanx,
waiting...
Here is what I would like to do for the incoming Bit stream of 0's and 1's.
The moment I see '01' I need to jump (or skip) the next incoming 45 bits and check if the next 3 bits are '1'. If yes then I need to print a "Success" message.
Could anyone please tell me if its possible for me to jump (or skip) 45 bits and check the next 3 bits.. I tried using #45 and wait(45) functions in verilog but doesnt work....or is it that I need to traverse through bit-by-bit 45 times till I reach those 3-bits.
Eg: Consider a sample Bit-stream:
00011 01 000101 00000000000000000000000000000001 1110001 1 1 1
After the first '01' , 45-bits should be skipped to check the 48, 49 and 50th bits for a '1' . If yes then "success" message is printed else "error"
Thanx,
waiting...