Commit 9652af85 authored by Fabien Le Mentec's avatar Fabien Le Mentec

fix: check data_len to fix questasim failure

parent 1cd81501
......@@ -211,7 +211,7 @@ signal is_signed: std_logic;
begin
is_signed <= data_in(to_integer(data_len) - 1);
is_signed <= data_in(to_integer(data_len) - 1) when (data_len /= 0) else '0';
process(is_signed, data_in)
begin
......
Markdown is supported
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