Data Storage Tool Display Human Input Protocol Math Motor Control Sensor Signal Generation & Processing Speech & Sound Fun View all Objects


Quick Links
Contact Us
Forums
Support

Register
Login

This object is provided under license. By downloading this object, you are agreeing to the terms of the MIT License.

Multi Cog Fifo

This is a spimple fifo, it is multi cog able.
Only one cog can read at the same time! The same for writing.
So if two cogs will try to write at the same time data will be loss! The same problem with reading!
But while a cog is reading an other one can write.
You have to give this fifo a byte array with any size between 9 and 65535 bytes. With 9 bytes you will have 1 byte for data, this seems not to be very usefull :P

Important update in version 0.2: The init function was splitted in InitNew and InitExisting. So InitNew will be called once, InitExisting can be called a lot of times.
In Version 0.1 the Init function will reset the fifo, in version 0.2 it's possible to "jump in" the fifo, also if it's alreading in use!

Version:
  0.2

Type:
  Object

Attributes:


Author:
  Jacky2k
  fabian@opencode.eu

Categories:
  Data Storage

Downloads:
  529

Last Updated:
  2008-08-26



User Reviews:



Comments on this Object:


Post a comment:




Please contact obex.support@parallax.com with comments or questions.

Copyright 2011 by Parallax, Inc.