I have a generic std_logic_vector with dynamic length as suggested here: https://stackoverflow.com/a/28513417/12978575
std_logic_vector
entity lfsr is generic