From 5a8769f22abf92bb447c45f42a8c75a9dcf57aa3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Bron=C3=A8s?= <romain.brones@synchrotron-soleil.fr> Date: Mon, 30 Oct 2023 16:25:28 +0100 Subject: [PATCH] fix: Type error at interface * Cast to signed --- hdl/top_corr_matrix.vhd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hdl/top_corr_matrix.vhd b/hdl/top_corr_matrix.vhd index 7fc69a5..ec4e212 100644 --- a/hdl/top_corr_matrix.vhd +++ b/hdl/top_corr_matrix.vhd @@ -322,7 +322,7 @@ begin alpha => C_ALPHA_CC, -- Signal input - sig_data => ser_tdata(C_W_COR-1 downto 0), + sig_data => signed(ser_tdata(C_W_COR-1 downto 0)), sig_id => ser_tdata(C_W_PSCID+C_W_COR-1 downto C_W_COR), sig_valid => ser_tvalid, -- GitLab