C
Chao
Guest
Hi, all.
I have written one entity which has generic definition like the
following:
(the purpose is that I can dynamically generate different components
which is determined by the CLKOUT_PHASE_SFT parameter.)
entity DCM is
generic
(
CLKOUT_PHASE_SFT : STRING := "LOW";
);
architecture STRUCT of DCM is
begin
Line002 VAR_MODE : if (CLKOUT_PHASE_SFT = "VARIABLE") generate
......
Line008 FIX_MODE : if (CLKOUT_PHASE_SFT = "FIXED") generate
......
end STRUCT;
but when I tried to implement it in ISE6.2 with parameter "FIXED", it
gave the following warning message: WARNING:Xst:795: at Line002, Size
of operands are different : result is <false>. My assumption is that
the string length is different, therefore ISE prints out the message.
Does anyone give me some hint how to solve it? Or is it harmless?
Thanks in advance.
Chao. (c.chen@gmx.de)
I have written one entity which has generic definition like the
following:
(the purpose is that I can dynamically generate different components
which is determined by the CLKOUT_PHASE_SFT parameter.)
entity DCM is
generic
(
CLKOUT_PHASE_SFT : STRING := "LOW";
);
architecture STRUCT of DCM is
begin
Line002 VAR_MODE : if (CLKOUT_PHASE_SFT = "VARIABLE") generate
......
Line008 FIX_MODE : if (CLKOUT_PHASE_SFT = "FIXED") generate
......
end STRUCT;
but when I tried to implement it in ISE6.2 with parameter "FIXED", it
gave the following warning message: WARNING:Xst:795: at Line002, Size
of operands are different : result is <false>. My assumption is that
the string length is different, therefore ISE prints out the message.
Does anyone give me some hint how to solve it? Or is it harmless?
Thanks in advance.
Chao. (c.chen@gmx.de)