Added toplevel schema. DDS works at 1khz. Measured with oscilloscope

This commit is contained in:
T-moe
2016-05-20 13:53:56 +02:00
parent 71b8cdb490
commit 16b7cc71ee
8 changed files with 560 additions and 42 deletions

View File

@@ -30,7 +30,7 @@ entity dds is
acc_res: natural:=32;
phase_res: natural:=15);
Port ( clk : in STD_LOGIC;
freq : in unsigned (log2_int(max_freq)-1 downto 0);
freq : in unsigned (16 downto 0); --log2_int(max_freq)-1
form : in unsigned (1 downto 0);
amp : out unsigned (adc_res-1 downto 0));
end dds;