I/O question
Electronegativity
Posts: 311
The discussion of memory in the marathon thread got me thinking about data transfer, and I think this topic is worthy of its own thread.
Using a traditional serial transfer protocol on one line with one 80 MHz processor gives you 80Mb/s
With 8 processors it is obvious that you could extend this to 640 Mb/s, but is it possible to do better?
Having 32 I/O pins seems to open up greater possibilities for parallel data transfer.
With an SX you could the transfer data on 8 parallel lines simultaneously by hooking up each of the pins of a register to one of the data lines and then arranging the data in bytes with everything that will go down line 1 in the first bit, data for line 2 in the second bit etc. By sequentially moving these bytes into an output register you could transmit (or recieve) data at 4 times the clock speed (since the MOV instruction takes 2 clock cycles).
Like my fellows I hunger for more information.
Surely the registry structure is not going to change over the next 2 months.
Maybe we could have just this one teensy morsel?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
I wonder if this wire is hot...
Using a traditional serial transfer protocol on one line with one 80 MHz processor gives you 80Mb/s
With 8 processors it is obvious that you could extend this to 640 Mb/s, but is it possible to do better?
Having 32 I/O pins seems to open up greater possibilities for parallel data transfer.
With an SX you could the transfer data on 8 parallel lines simultaneously by hooking up each of the pins of a register to one of the data lines and then arranging the data in bytes with everything that will go down line 1 in the first bit, data for line 2 in the second bit etc. By sequentially moving these bytes into an output register you could transmit (or recieve) data at 4 times the clock speed (since the MOV instruction takes 2 clock cycles).
Like my fellows I hunger for more information.
Surely the registry structure is not going to change over the next 2 months.
Maybe we could have just this one teensy morsel?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
I wonder if this wire is hot...
Comments
Are the video engines suitable for serial out? (and can they do input, too, or just output?)
Steve
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·1+1=10
Post Edited (Paul Baker) : 2/22/2006 2:02:13 PM GMT
If I'm understanding you correctly, then with proper codeing we could end up with a number different cog/processor relationships.
Example:
(Cog 0)[noparse]:([/noparse]Cog 1)[noparse]:([/noparse]Cog 2)[noparse]:([/noparse]Cog 3)[noparse]:([/noparse]Cog 4)[noparse]:([/noparse]Cog 5)[noparse]:([/noparse]Cog 6)[noparse]:([/noparse]Cog 7)
OR
(Cog 0 + Cog 1)[noparse]:([/noparse]Cog 2)[noparse]:([/noparse]Cog 3)[noparse]:([/noparse]Cog 4)[noparse]:([/noparse]Cog 5)[noparse]:([/noparse]Cog 6)[noparse]:([/noparse]Cog 7)
OR
(Cog 0 + Cog 1 + Cog 2)[noparse]:([/noparse]Cog 3)[noparse]:([/noparse]Cog 4)[noparse]:([/noparse]Cog 5)[noparse]:([/noparse]Cog 6)[noparse]:([/noparse]Cog 7)
OR
(Cog 0 + Cog 1 + Cog 2 +Cog 3)[noparse]:([/noparse]Cog 4 + Cog 5 + Cog 6 + Cog 7)
Is that the general idea, or is more like...
1 processor = 8 Cogs
OR
8 processors = 8 Cogs
Man, I'm gettin all kinds of excited about what can be done...
I can't wait to see the isntruction sets...
Is there ANY reading I can do to prep myself for this?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Just tossing my two bits worth into the bit bucket
KK
·
What I am trying to get at is the fastest way to get data back and forth between a Propeller chip and external memory.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
I wonder if this wire is hot...
I probably shouldn't have posted the previous post, it will just serve to confuse people, and without published docs, thats a very bad thing. I was only trying to illustrate that some cogs can under special circumstances work in a collaborative way. So please forget what I said and just wait until the docs are published so you can see exactly what is and isn't possible.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·1+1=10
No, the comments both help to understand the layout and what we're looking at getting into.
It's exciting watching all the posts about all the things people come up with on their own.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Just tossing my two bits worth into the bit bucket
KK
·