- Lowpass prototype: omega is fraction of fs/2

git-svn-id: http://moon:8086/svn/vhdl/trunk@216 cc03376c-175c-47c8-b038-4cd826a8556b
This commit is contained in:
2009-01-10 08:56:38 +00:00
parent 04e1b6fcbf
commit ffa4eb81ca
+1 -1
View File
@@ -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;