yburake
Newbie level 4
hi,
i have device xilinx spartan 3e-100 cp132 . i have 128mhz main clock.
"
process(multplefreq)
begin
if rising_edge(multplefreq) then
counter <= counter+1;
if counter<=0 then
output<='0';
end if;
if counter<=1 then
output<='1' ;
end if;
if selection="00" then
if (counter=15) then
counter <= 0;
end if;
end if;
if selection="01" then
if (counter=31) then
counter <= 0;
end if;
end if;
if selection="10" then
if (counter=63) then
counter <= 0;
end if;
end if;
if selection="11" then
if (counter=127) then
counter <= 0;
end if;
end if;
end if;
end process;
finalout<= output or allpass ;
end Behavioral;
"
altough i use both allpass and selection, i always get these warnings,
WARNING:Xst:647 - Input <selection> is never used. This port will be preserved and left unconnected if it belongs to a top-level block or it belongs to a sub-block and the hierarchy of this sub-block is preserved.
WARNING:Xst:647 - Input <allpass> is never used. This port will be preserved and left unconnected if it belongs to a top-level block or it belongs to a sub-block and the hierarchy of this sub-block is preserved.
and when i embed the code(of course i changed the selection buttons) , the device always does this if;
if selection="00" then
if (counter=15) then
counter <= 0;
end if;
end if;
so that the frequency is not a selection. how can i solve this warning.(yes i need an asymmetric output clock the pulse width has to be same all frequencies)
regards
Burak
i have device xilinx spartan 3e-100 cp132 . i have 128mhz main clock.
"
process(multplefreq)
begin
if rising_edge(multplefreq) then
counter <= counter+1;
if counter<=0 then
output<='0';
end if;
if counter<=1 then
output<='1' ;
end if;
if selection="00" then
if (counter=15) then
counter <= 0;
end if;
end if;
if selection="01" then
if (counter=31) then
counter <= 0;
end if;
end if;
if selection="10" then
if (counter=63) then
counter <= 0;
end if;
end if;
if selection="11" then
if (counter=127) then
counter <= 0;
end if;
end if;
end if;
end process;
finalout<= output or allpass ;
end Behavioral;
"
altough i use both allpass and selection, i always get these warnings,
WARNING:Xst:647 - Input <selection> is never used. This port will be preserved and left unconnected if it belongs to a top-level block or it belongs to a sub-block and the hierarchy of this sub-block is preserved.
WARNING:Xst:647 - Input <allpass> is never used. This port will be preserved and left unconnected if it belongs to a top-level block or it belongs to a sub-block and the hierarchy of this sub-block is preserved.
and when i embed the code(of course i changed the selection buttons) , the device always does this if;
if selection="00" then
if (counter=15) then
counter <= 0;
end if;
end if;
so that the frequency is not a selection. how can i solve this warning.(yes i need an asymmetric output clock the pulse width has to be same all frequencies)
regards
Burak