test: frame generation: inconsistent position of CAN ID in base frames
The functions correct_identifiers
, CAN_send_frame
, and CAN_generate_frame
handle basic frame IDs differently. Somewhere the ID is stored in high bits, somewhere in low bits.
GHDL then complains that "NUMERIC_STD.TO_UNSIGNED: vector truncated" in CAN_send_frame
, which is how I found it.