EDA_hg81
Advanced Member level 2
What I am doing is to use Spartan-3 to transfer the incoming image data to the display.
But the same idea gets two different results with two different codes:
Code 1:
FDDRRSE_OUT12 : FDDRRSE
-- generic map (INIT => '0')
port map (
Q => B_RSDS_OUT(3),
C0 => CLK_IN,
C1 => DDR_CLK,
CE => ENB,
D0 => B_RE(6),
D1 => B_RE(7),
R => GND,
S => GND
);
process ( CLK_IN )
begin
if ( CLK_IN'EVENT and CLK_IN = '1' )then
R_RE <= R_IN;
G_RE <= G_IN;
B_RE <= B_IN;
end if;
end process;
with those above code the image lost info along edge profile.
Code 2:
FDDRRSE_OUT12 : FDDRRSE
-- generic map (INIT => '0')
port map (
Q => B_RSDS_OUT(3),
C0 => CLK_IN,
C1 => DDR_CLK,
CE => ENB,
D0 => B_RE(6),
D1 => B_RE(7),
R => GND,
S => GND
);
process ( R_IN, G_IN,B_IN )
begin
R_RE <= R_IN;
G_RE <= G_IN;
B_RE <= B_IN;
end process;
with those above code the image looks very good.
What is the possible reason for this?
But the same idea gets two different results with two different codes:
Code 1:
FDDRRSE_OUT12 : FDDRRSE
-- generic map (INIT => '0')
port map (
Q => B_RSDS_OUT(3),
C0 => CLK_IN,
C1 => DDR_CLK,
CE => ENB,
D0 => B_RE(6),
D1 => B_RE(7),
R => GND,
S => GND
);
process ( CLK_IN )
begin
if ( CLK_IN'EVENT and CLK_IN = '1' )then
R_RE <= R_IN;
G_RE <= G_IN;
B_RE <= B_IN;
end if;
end process;
with those above code the image lost info along edge profile.
Code 2:
FDDRRSE_OUT12 : FDDRRSE
-- generic map (INIT => '0')
port map (
Q => B_RSDS_OUT(3),
C0 => CLK_IN,
C1 => DDR_CLK,
CE => ENB,
D0 => B_RE(6),
D1 => B_RE(7),
R => GND,
S => GND
);
process ( R_IN, G_IN,B_IN )
begin
R_RE <= R_IN;
G_RE <= G_IN;
B_RE <= B_IN;
end process;
with those above code the image looks very good.
What is the possible reason for this?