Loading…
Loading…
advanced · state_machine · 380 XP
Sign in to write your solution, run it in the simulator and submit it for grading.
Sign in or create a free account →Input: Flag-data-flag: 01111110 11111011 01111110
Output: byte_valid pulse for 0xFB after removing stuffed 0
Data extraction
Input: Two consecutive flags: 01111110 01111110
Output: frame_start, then frame_end (empty frame)
Empty frame allowed
Input: Seven ones: ...0111111 1...
Output: abort pulse
Protocol violation detected