Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
21615 Discussions

mux warning "Clock multiplexers are found and protected"

Altera_Forum
Honored Contributor II
4,028 Views

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,
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
2,794 Views

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
0 Kudos
Altera_Forum
Honored Contributor II
2,794 Views

thank you!

0 Kudos
Reply