Search the web
Sign In
New User? Sign Up
cone_cores · C-One cores
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Interconnecting FPGAs...   Message List  
Reply | Forward Message #611 of 660 |
Re: [cone_cores] Re: Interconnecting FPGAs...

I'd love to see the Chameleon multiplexer. :) (see email address if
you are feeling pity on me)

My biggest problem was that I didn't know to call it Multiplexer...
now that I do... Google is my friend. :)

I know that it might not be effecent, but would the megafunctions
lpm_mux and lpm_decode work?

It would seem to... but I'm still trying to find documentation
examples of them being used since I'm getting confused by the lpm_mux
having a sel(5..0) line that I don't understand. But that's what the
altera forum is good for i guess.

-Blair


2009/7/2 Peter <pwsoft@...>:
>
> Hoi Blair,
>
> --- In cone_cores@yahoogroups.com, "blairc64@..." <blairc64@...> wrote:
>>
>> Well... I've mastered using two FPGA's together in the same core from my own
code.  But as people are aware, there are limited pins to do this.
>
> Yes, only 8 between 1k100 and 1k30 and only 16 between extender and 1k30 (not
counting the 8 mdb lines as these are very slow).
>
> At least one thing I want to mention is that there is normally enough logic
available in the cyclone on the extender board. So the 1k30/1k100 are just there
for doing I/O. This reduces the required bandwidth quite a bit. You are not
really required to split the design in two (unless you want to do something that
runs on just the base PCB and the 1k100 is too small)
>
>>
>> For simple code or purpose writen code that easy.  You design the darn thing
with it in mind.  But now that I'm looking at porting code... I've come to the
issue... how to bridge two or more FPGAs with limited interconnection.
>>
>> Has anyone found a good simple way?  OpenCore "Bridge" or something?
>
> The trick is called time multiplexing. The gbridge is an example of this. I've
written my own multiplexer logic for the Chameleon core.
> What you do is send your data in multiple clocks and use something to
synchronise the start point (you could dedicate one pin for that, but there are
other ways).
>
> So for 4 bits you send D3, D2, D1, D0 on first clock, D7, D6, D5, D4 on the
second and D11 to D5 on the third and so on until you have send all the data
lines. Then addresses etc. Ofcourse the speed is lower, but the 1k30 and
extender can communicate upto about 100 Mhz reliably. So lets say you use 8
lines and need 40 bits you can still do 20M transfers per second on the shared
bus.
>
> Important is to send data only one way on a pin. So split the pins in half and
use one half for transfers from the 1k30 to extender and the other half from the
extender to 1k30. Although FPGAs pins can be bi-directional the switching of
directions will give you headaches. As many pins are input only on the extender
you are limited in the choice which pins are which direction. You also lose one
pin to transfer the clock. The 1k30 and 1k100 both already share a clock so here
all 8 gb lines are available for data.
>
>>
>> Mostly I'm interested in bridging wishbone code since that's what most people
seem to be using right now. :(  (seems like a waste of lines myself... but I
guess it makes things easy to code)
>
> Use something simple. Just a counter with a case statement running around and
around (but keep in mind you need a way to synchronise the starting point)
>
>> What have others looked at or found to help with bridging ports?
>
> There is also the same technique is used for the minimig port. It is used to
tranfer joystick, keyboard and IDE over just 16 lines.
> I've no problem sharing my Chameleon multiplexer, but it might not fit exactly
what you need, and might be better off with writing your own specific for your
needs.
>
> Peter
>
>>
>> -Blair
>>
>
>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
>



Thu Jul 2, 2009 3:27 pm

blairc64...
Offline Offline
Send Email Send Email

Forward
Message #611 of 660 |
Expand Messages Author Sort by Date

Well... I've mastered using two FPGA's together in the same core from my own code. But as people are aware, there are limited pins to do this. For simple code...
blairc64@...
blairc64...
Offline Send Email
Jul 2, 2009
8:27 am

Well... scratch my thought of finding a solution with SimpCon... I misread the spec. :) even more lines then wishbone. Anyways... I'll keep looking. -Blair...
Blair
blairc64...
Offline Send Email
Jul 2, 2009
10:54 am

... You could use LPC bus protocol. There's slave and master cores on opencores for that. Bridging to wishbone is trivial. I've used it successfully in one ...
Mark McDougall
tcdevelop
Online Now Send Email
Jul 2, 2009
2:41 pm

Hoi Blair, ... Yes, only 8 between 1k100 and 1k30 and only 16 between extender and 1k30 (not counting the 8 mdb lines as these are very slow). At least one...
Peter
pwsoft2005
Offline Send Email
Jul 2, 2009
12:41 pm

I'd love to see the Chameleon multiplexer. :) (see email address if you are feeling pity on me) My biggest problem was that I didn't know to call it...
Blair
blairc64...
Offline Send Email
Jul 2, 2009
3:29 pm

... First the purpose I have given the lines: -- toExtender vid(13 downto 11) & vid(3 downto 0) -- frExtender vid(10 downto 4) -- clkExtender vid(15) Ok...
Peter
pwsoft2005
Offline Send Email
Jul 2, 2009
4:12 pm

Ok... this might be a silly question, but I still think in software terms... so it might be a dumb question... but... Is there any reason why I can't use the...
Blair
blairc64...
Offline Send Email
Jul 5, 2009
4:15 pm

Hi Blair, I'm not sure where you get your numbers from, but the SRAM on the C-One has 17 address lines, 8 data lines and only 2 control pins, the last time I...
Peter
pwsoft2005
Offline Send Email
Jul 9, 2009
7:00 pm

... The FPGA extender should be able to drive these lines, even with 5V devices on them. The threshold on these signals is way lower than 3V, and it's easy for...
Jens Schoenfeld
paradroid23
Offline Send Email
Jul 10, 2009
7:46 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help