fix: correctly count error counts in error handler
chore: rename some ports and generics to better match function
Merge pull request #25 from Rutherther/feat/subclass-1-support Add subclass 1 support
feat: allow changing align buffer size used in lane alignment
feat: change behavior of asserting link nsynced only on frame clk (subclass 0) and multiframe clk (subclass 1)
feat: start emptying lane aligned buffer only if not in CGS
fix: deassert sync on LMFC falling edge to match the standard
feat: add basic subclass 1 support
chore: specify ranges for all integers Ranges are not needed inside of tesbenches. Resolves #22.
feat: assume full synchronization after 4 correct 8b10b characters are received after 4 /K/ characters Resolves #23.
fix: set user_data inside of lane_alignment even if ithe buffer is not released yet
fix: adjust jesd204b_link_rx to work with new changes
feat: change alignment character of lane_alignment from /A/ to /R/ Resolves #19
feat: make sync aligned to frame clock Resolves #21
feat: allow synchronization request from outside
feat: count errors in multiframe instead of a frame
fix(lane_alignment): set user data for a character based on state WHILST character is received User data should be true for data from converters (or sometimes test mode data). Before, user data were set upon outputting data from the buffer, but that led to cases where ILAS sequence was counted as user_data, because it was saved without information about state of the character and it was assumed the state is the same upon saving and outputting the octet.
feat: move all link configuration to generic instead of ports Configuration is same for one compilation, it cannot change. Thus it does not make sense to be a port. Resolves #13.
fix(lane): output user_data based on current link state in lane_alignment
fix(ilas): output error if there is more than 3 multiframes