Forum Discussion
Altera_Forum
Honored Contributor
16 years agomux warning "Clock multiplexers are found and protected"
I implemented a simple mux like this
always @ (sel or in1 or in2 or in3 or in4)
begin
case(sel)
2'b00 : out = in1;
2'b01 : out = in2;
2'b10 : out = in3;
default : out = in4;
endcase
end Is working as supposed to, but Quartus gives me this warning: Warning: Clock multiplexers are found and protected Warning: Found clock multiplexer inmux:inst6|Mux0 What is this and how (should I?) modify code to avoid? Thanks in advance,2 Replies
- Altera_Forum
Honored Contributor
thank you!
- Altera_Forum
Honored Contributor
As a general tip, if you want more information on a warning or error in Quartus, just right click on the error or warning and click help.
I don't hink you need to do anything unless you have a reason to. Quartus is just telling you that it did in fact recognize your multiplexer. Read the HDL coding guidelines for multi-plexers beginning on page 6-61 of this document: http://www.altera.com/literature/hb/qts/qts_qii51007.pdf Jake