Skip to content
Snippets Groups Projects
Commit c7eaeeb6 authored by Fabien Le Mentec's avatar Fabien Le Mentec
Browse files

fix: check data_len to fix questasim failure

parent 9652af85
No related merge requests found
......@@ -211,7 +211,7 @@ signal is_signed: std_logic;
begin
is_signed <= data_in(to_integer(data_len) - 1) when (data_len /= 0) else '0';
is_signed <= data_in(to_integer(data_len) - 1) when (data_len > 0) else '0';
process(is_signed, data_in)
begin
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment