Forum Discussion
Altera_Forum
Honored Contributor
16 years agoFilter & decimation implementation on AD7401
Hello everybody! We have chosen the AD7401 Sigma Delta modulator for our project, translated the Verilog code given by the datasheet into VHDL and are now confused about the results of the simu...
Altera_Forum
Honored Contributor
16 years agoOk FvM I did that and it works great!
I also did the same thing in the last process, where the DATA assignment is done. I think now it works perfectly, most warnings eliminated, except the pin assignment ones! Thank you!
process(clk20,reset)
begin
if reset = '0' then
DATA <= (others => '0');
elsif clk20'event and clk20 = '1' then
if word_clk = '1' then
if CN5(24) = '1' then
DATA(15 downto 0) <= (others => '1');
else
DATA(15 downto 0) <= CN5(23 downto 8);
end if;
end if;
end if;
end process;