Version 1 (modified by 18 years ago) (diff) | ,
---|
SrlApi
Srl API is your gateway to software resources.
Log API
Log API let you define message levels. Levels allow you to let your debug code in the source, and only compile it when needed.
srl_log(level, "message")
prints a messagesrl_log_printf(level, "message_with_format", arguments)
prints a printf-like message
Mwmr fifos API
srl_mwmr_read(fifo, buffer, size)
readssize
32-bit words from fifo to buffer.size
must be a multiple of fifo width.srl_mwmr_write(fifo, buffer, size)
writessize
32-bit words from buffer to fifo.size
must be a multiple of fifo width.