Commit dcde7a74 authored by Nathan Pittet's avatar Nathan Pittet

typo in documentation

parent 441147e0
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
-- - sqrt(x*x + y*y) < K*FS -- - sqrt(x*x + y*y) < K*FS
-- - -FS < z < +FS -- - -FS < z < +FS
-- outputs -- outputs
-- - x_o = K*sqrt(x*x-y*y) (0 <= x_o <= +FS) -- - x_o = K*sqrt(x*x+y*y) (0 <= x_o <= +FS)
-- - y_o = 0 -- - y_o = 0
-- - z_o = z + atan(y/x) (-FS <= z_o <= +FS) -- - z_o = z + atan(y/x) (-FS <= z_o <= +FS)
-- --
...@@ -159,7 +159,6 @@ architecture rtl of gc_cordic_top is ...@@ -159,7 +159,6 @@ architecture rtl of gc_cordic_top is
function f_shift(inp : signed; i : integer) return signed is function f_shift(inp : signed; i : integer) return signed is
variable v_ret : signed(inp'range); variable v_ret : signed(inp'range);
variable v_all_ones : std_logic := '1';
begin begin
if i >= inp'left then if i >= inp'left then
v_ret := (others => '0'); v_ret := (others => '0');
......
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