Forum Discussion
Altera_Forum
Honored Contributor
13 years agoWould this do ?
process(clk)begin
if(clk'event and clk ='1') then
analog_out <= not(digi_in) + "00000000000001"; -- complément à 2
end if;
end process; I don't think this is right because i'm not sure i can directly send the in to the out of the DAC, i think i have to go through a signal (which is why i did the code like that in the first place) but like this analog_out is only assigned once and is not overwritten i think ?