TRI Primitive
The TRI primitive is a tri-state buffer with an
input, output, and output enable signal. If the output enable input
to the TRI buffer is high, the output is driven by the
Input.
The output enable defaults to VCC.
If the output enable of a TRI buffer is connected
to VCC or a logic function that minimizes to true, a
TRI buffer may be converted into a SOFT buffer during logic
synthesis. For supported device families, some configurations of
TRI primitives and other logic are automatically
converted into OPNDRN buffers.
When you use a TRI buffer, you must observe the
following rules in addition to the rules listed in Primitive/Port
Interconnections:
- A
TRIbuffer may drive only oneBIDIRpin. You must use aBIDIRpin if feedback is included after theTRIbuffer. - If a
TRIbuffer feeds logic, it must also feed aBIDIRpin unless it is part of a tri-state bus. If it feeds aBIDIRpin it may not feed any other outputs. - The
TRIprimitive cannot be used in Verilog asTRIis a reserved word in the Verilog language. Use theALT_OUTBUF_TRIprimitive instead, or use the equivalent behavioral Verilog, for example:assign out = oe ? in : 1'bZ;
Note: For information about Quartus® Prime primitive instantiation, go to Using a Quartus® Prime
Logic Function.