How to use a second Cog as Coprocessor?
Hi, this is some vague idea, and perhaps it might be an interesting "intellectual pastime" for others too?
So the general idea is to use two cogs in parallel to process some code together. (I am thinking along the lines of a virtual Forth processor, but there might be other ideas for application.)
1. * perhaps one of the cogs could be used for the threading, jumps, loops and the other cog would do the actual data processing work?
2. * perhaps one cog could handle the data stack, many words in TAQOZ end with
(probably no good idea, because TAQOZ hold the first 4 stack items in fastest COG registers.)
3. * perhaps the second cog could be used to prefill some code cache in shared LUT ?
4. * LUT cache for data?
5. * ???
Some practical questions:
Is there a simple example for sharing of LUT and also one for using the smart pin as fast shared LONG?
Have fun, Christof