beautypg.com

Altera Embedded Peripherals IP User Manual

Page 7

background image

Document Revision History.....................................................................................................................15-5

On-Chip FIFO Memory Core............................................................................16-1

Core Overview............................................................................................................................................16-1

Functional Description............................................................................................................................. 16-1

Avalon-MM Write Slave to Avalon-MM Read Slave............................................................... 16-1

Avalon-ST Sink to Avalon-ST Source.........................................................................................16-2

Avalon-MM Write Slave to Avalon-ST Source......................................................................... 16-2

Avalon-ST Sink to Avalon-MM Read Slave...............................................................................16-4

Status Interface...............................................................................................................................16-5

Clocking Modes............................................................................................................................. 16-5

Configuration............................................................................................................................................. 16-5

FIFO Settings..................................................................................................................................16-6

Interface Parameters......................................................................................................................16-6

Software Programming Model.................................................................................................................16-7

HAL System Library Support.......................................................................................................16-7

Software Files..................................................................................................................................16-7

Programming with the On-Chip FIFO Memory...................................................................................16-7

Software Control............................................................................................................................16-8

Software Example........................................................................................................................ 16-11

On-Chip FIFO Memory API..................................................................................................................16-12

altera_avalon_fifo_init().............................................................................................................16-12

altera_avalon_fifo_read_status()...............................................................................................16-12

altera_avalon_fifo_read_ienable().............................................................................................16-13

altera_avalon_fifo_read_almostfull()........................................................................................16-13

altera_avalon_fifo_read_almostempty().................................................................................. 16-13

altera_avalon_fifo_read_event()................................................................................................16-14

altera_avalon_fifo_read_level()................................................................................................. 16-14

altera_avalon_fifo_clear_event()...............................................................................................16-14

altera_avalon_fifo_write_ienable()........................................................................................... 16-15

altera_avalon_fifo_write_almostfull()...................................................................................... 16-15

altera_avalon_fifo_write_almostempty().................................................................................16-15

altera_avalon_write_fifo().......................................................................................................... 16-16

altera_avalon_write_other_info()............................................................................................. 16-16

altera_avalon_fifo_read_fifo()................................................................................................... 16-17

Document Revision History...................................................................................................................16-18

Avalon-ST Multi-Channel Shared Memory FIFO Core...................................17-1

Core Overview............................................................................................................................................17-1

Performance and Resource Utilization...................................................................................................17-1

Functional Description............................................................................................................................. 17-3

Interfaces.........................................................................................................................................17-3

Operation........................................................................................................................................ 17-4

Parameters.................................................................................................................................................. 17-4

Software Programming Model.................................................................................................................17-6

HAL System Library Support.......................................................................................................17-6

Register Map...................................................................................................................................17-6

TOC-7

Altera Corporation