- 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:
@@ -32,7 +32,7 @@ package body filter_pkg is
|
|||||||
variable res : real_array_t(0 to N-1);
|
variable res : real_array_t(0 to N-1);
|
||||||
variable M : positive;
|
variable M : positive;
|
||||||
variable phi : real := 0.0;
|
variable phi : real := 0.0;
|
||||||
variable dphi : real := 2.0*pi*omega;
|
variable dphi : real := pi*omega;
|
||||||
begin
|
begin
|
||||||
if (N mod 2) = 0 then
|
if (N mod 2) = 0 then
|
||||||
M := N/2;
|
M := N/2;
|
||||||
|
|||||||
Reference in New Issue
Block a user