From ffa4eb81ca1c5789d88257595c36ac32a3d9f44c Mon Sep 17 00:00:00 2001 From: Jens Ahrensfeld Date: Sat, 10 Jan 2009 08:56:38 +0000 Subject: [PATCH] - Lowpass prototype: omega is fraction of fs/2 git-svn-id: http://moon:8086/svn/vhdl/trunk@216 cc03376c-175c-47c8-b038-4cd826a8556b --- lib/filter/src/filter_pkg.vhd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/filter/src/filter_pkg.vhd b/lib/filter/src/filter_pkg.vhd index 63ff72c..1359d25 100644 --- a/lib/filter/src/filter_pkg.vhd +++ b/lib/filter/src/filter_pkg.vhd @@ -32,7 +32,7 @@ package body filter_pkg is variable res : real_array_t(0 to N-1); variable M : positive; variable phi : real := 0.0; - variable dphi : real := 2.0*pi*omega; + variable dphi : real := pi*omega; begin if (N mod 2) = 0 then M := N/2;