In my Verilog design, I have two clocks of the same frequency, but of different phase. At the moment, my timing constraints look like this:
create_clock -name clk1 -period "150 MHz" [get_ports clk1]
create_clock -name clk2 -period "150 MHz" [get_ports clk2]
The problem is that the compiler doesn't complain when signals cross the two time domains, although it should because the two clocks are asynchronous, and metastability protection is required.
The "hack" of changing one of the frequencies to 150.01 Mhz
works, but it's a hack. Is there a proper way of setting timing constraints for isochronous clocks?
Edit: I'm using Altera Quartus II as my compiler.