- added generic for fractional number of bits

git-svn-id: http://moon:8086/svn/vhdl/trunk@153 cc03376c-175c-47c8-b038-4cd826a8556b
This commit is contained in:
2008-12-28 16:29:03 +00:00
parent 9a7ffd09ac
commit 13df4bbf12
+1 -1
View File
@@ -34,6 +34,7 @@ entity nco is
Generic
(
nbits_wave : integer := 18;
nbits_wave_frac : integer := 16;
nbits_phase : integer := 16
);
Port
@@ -91,7 +92,6 @@ architecture Behavioral of nco is
END COMPONENT;
-------------------------------------------------------------------------------
constant nbits_wave_frac : integer := nbits_wave-1;
constant nbits_phase_frac : integer := nbits_phase;
-------------------------------------------------------------------------------