Skip to content
Snippets Groups Projects
Commit b544a81c authored by Pascal Engeler's avatar Pascal Engeler
Browse files

Fixed phi signal routing bug

parent bf92cd62
No related branches found
No related tags found
No related merge requests found
...@@ -149,6 +149,8 @@ signal tx_data: STD_LOGIC_VECTOR(199 downto 0); ...@@ -149,6 +149,8 @@ signal tx_data: STD_LOGIC_VECTOR(199 downto 0);
signal sincos_concat: STD_LOGIC_VECTOR(127 downto 0); signal sincos_concat: STD_LOGIC_VECTOR(127 downto 0);
signal phi_clean: STD_LOGIC_VECTOR(31 downto 0);
...@@ -414,6 +416,9 @@ LEDS(0) <= '1'; ...@@ -414,6 +416,9 @@ LEDS(0) <= '1';
LEDS(1) <= NOT iSweeper_idle; LEDS(1) <= NOT iSweeper_idle;
LEDS(2) <= NOT iReadbackControl_idle; LEDS(2) <= NOT iReadbackControl_idle;
phi_clean(31 downto 1) <= iSweeper_phi(30 downto 0);
phi_clean(0) <= '0';
-- instantiate components here -- instantiate components here
--BUFS for LVDS in --BUFS for LVDS in
...@@ -500,7 +505,7 @@ iLockInAccumulator : LockInAccumulator port map( ...@@ -500,7 +505,7 @@ iLockInAccumulator : LockInAccumulator port map(
--TODO: The clocking and data input and stuff may need some optimizations. Refer to the manual in ISE, esp. pertaining parallel vs word serial --TODO: The clocking and data input and stuff may need some optimizations. Refer to the manual in ISE, esp. pertaining parallel vs word serial
iCordic : cordic port map( iCordic : cordic port map(
phase_in => iSweeper_phi, -- IN STD_LOGIC_VECTOR(31 DOWNTO 0) phase_in => phi_clean, -- IN STD_LOGIC_VECTOR(31 DOWNTO 0)
x_out => iCordic_x_out, -- OUT STD_LOGIC_VECTOR(20 DOWNTO 0) x_out => iCordic_x_out, -- OUT STD_LOGIC_VECTOR(20 DOWNTO 0)
y_out => iCordic_y_out, -- OUT STD_LOGIC_VECTOR(20 DOWNTO 0) y_out => iCordic_y_out, -- OUT STD_LOGIC_VECTOR(20 DOWNTO 0)
rdy => iCordic_rdy, -- OUT STD_LOGIC rdy => iCordic_rdy, -- OUT STD_LOGIC
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment