Write FIFO

Writes an element to a FIFO.

1378

Inputs/Outputs

datatype_icon

reference in

Reference to the FIFO.

datatype_icon

data

Data element to write to the FIFO.

datatype_icon

error in

Error conditions that occur before this node runs.

The node responds to this input according to standard error behavior.

Standard Error Behavior

Default value: No error

datatype_icon

input valid

Boolean value that describes whether the next data element has arrived for processing. Wire the output valid output of an upstream node to this input to transfer data from the upstream node to this node.

True The next data element has arrived for processing.
False The next data element has not arrived for processing.
datatype_icon

reference out

Reference to the FIFO.

datatype_icon

error out

Error information.

The node produces this output according to standard error behavior.

Standard Error Behavior

datatype_icon

ready for input

Boolean value that indicates whether this node is ready to accept new input data.

Use Feedback Node to wire this output to the ready for output output of an upstream node.

True The node is ready to accept new input data.
False The node is not ready to accept new input data.
Note If this output returns False during a given cycle, this node discards any data that other nodes send to this node during the following cycle. This node discards the data even if input valid is True during the following cycle.

Programming Patterns

Transferring Data between Clock Domains Using FIFOs