How can I use busmux
more than two input in Quartus? It seems I can use LPM_MUX
instead, but I can't understand how to use it. Is there any easier way?
Asked
Active
Viewed 692 times
0
1 Answers
0
While using lpm_mux
, you need to drive 3 signals (+ clock for pipelined usage):
data
port, which consists ofLPM_SIZE
buses, eachLPM_WIDTH
wide,sel
signal, which selects one of the input buses,LPM_WIDTHS
wide,result
port, which isLPM_WIDTH
wide.
data
and sel
are both inputs, result
is output port. Values of LPM_SIZE
, LPM_WIDTH
and LPM_WIDTHS
can be set using defparam
clause.

Qiu
- 5,651
- 10
- 49
- 56