P
Patrick
Guest
Hello everybody,
I'm very embarassed to reduce the width of a data bus from 14 to 12 bits...
I tried this
CONV_12 : process (RAZ,clock_dac1)
begin
if RAZ = '0' then
I_12 <= (others=>'0');
Q_12 <= (others=>'0');
elsif (clock_dac1'event and clock_dac1='1') then
I_12 <= I_filt(11 downto 0);
Q_12 <= Q_filt(11 downto 0);
end if;
end process CONV_12;
But like I_filt is signed, I forgot the sign in I_12 !!
Is there any theory about this ?
Thanks...
I'm very embarassed to reduce the width of a data bus from 14 to 12 bits...
I tried this
CONV_12 : process (RAZ,clock_dac1)
begin
if RAZ = '0' then
I_12 <= (others=>'0');
Q_12 <= (others=>'0');
elsif (clock_dac1'event and clock_dac1='1') then
I_12 <= I_filt(11 downto 0);
Q_12 <= Q_filt(11 downto 0);
end if;
end process CONV_12;
But like I_filt is signed, I forgot the sign in I_12 !!
Is there any theory about this ?
Thanks...