I have a question regarding setting timing constraints on enable signals.
In my vhdl design I use an enable signal, to gate when the process needs to sample my input data. The enable signal is derived from the input data, using another vhdl component.
My clk is 27MHz, but the enable signal is maximum present at every 2nd cycle, so its period is minimum: 1/13.5MHz.
When I compile my design, I get warnings on the clk timing constraints, due to my algorithm. But can I make some timing constraint on the enable pin, this could probably make the vhdl code compile without warnings, by effectively only requiring half of the clk period.
test : process(reset, clk)
begin
if reset = '0' then
...
elsif rising_edge(clk) then
if en = '1' then
... vhdl algorithm is here ...
end if;
end if;
end process;