From 569835e360bd99dfa549acf7db64b13eb38f3372 Mon Sep 17 00:00:00 2001
From: Pascal Engeler <engelerp@phys.ethz.ch>
Date: Thu, 29 Aug 2024 11:02:20 +0200
Subject: [PATCH] Bugfix

---
 stitch_project/stitch/LockInAccumulator.vhd | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/stitch_project/stitch/LockInAccumulator.vhd b/stitch_project/stitch/LockInAccumulator.vhd
index f8cabec..c92f8f6 100644
--- a/stitch_project/stitch/LockInAccumulator.vhd
+++ b/stitch_project/stitch/LockInAccumulator.vhd
@@ -96,7 +96,7 @@ iMultiaddCos: multiaddCos port map(CLK100, enableInternal, clearInternal, bypass
 n_samples <= n_samples_int;
 idle <= idle_int;
 dataSin <= dataAccumSin(69 downto 6);
-dataCos <= dataAccumSin(69 downto 6);
+dataCos <= dataAccumCos(69 downto 6);
 
 
 
-- 
GitLab