Site Home Archive Home FAQ Home How to search the Archive How to Navigate the Archive
Compare FPGA features and resources
Threads starting:
Authors:A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
On Thu, 11 Aug 2011 08:57:05 +0200, rndhro wrote: > On 08/10/11 23:39, General Schvantzkoph wrote: >> Is there a utility that does peeks and pokes to PCIe devices. I'm >> developing an FPGA with a PCIe interface and I'd like to do some simple >> memory accesses before I move on to the more complicated things like >> DMA. We have a driver in development but I think there is a standard >> Altera driver already in the kernel which I assume would be good enough >> for simple accesses. >> >> I'm running on Scientific Linux 6.1. >> >> lspci identifies the device as an Altera device which is correct. >> >> 01:00.0 Unassigned class [ff00]: Altera Corporation Device 0004 (rev >> 01) > > you don't even need a driver for simple memory access. if your device is > detected by the kernel you can directly access the BARs via sysfs: # ls > -l /sys/bus/pci/devices/0000\:01\:00.0/ [...] > -rw------- 1 root root 256M Aug 11 08:51 resource0 -rw------- 1 root > root 256 Aug 11 08:51 resource1 -rw------- 1 root root 64K Aug 2 > 08:14 resource2 [...] > > This is an example of a device with 3 BARs. These files can be > read/written/mmapped... you could use "dd" or write a little C program > to mmap the files. > > HTH How do I determine which device is mine? Here is the lspci output 01:00.0 Unassigned class [ff00]: Altera Corporation Device 0004 (rev 01) Here are the devices under /sys/bus/pci_express/devices 0000:00:0b.0:pcie01/ 0000:00:0c.0:pcie01/ 0000:00:0d.0:pcie01/ 0000:00:0e.0:pcie01/ 0000:00:0b.0:pcie08/ 0000:00:0c.0:pcie08/ 0000:00:0d.0:pcie08/ 0000:00:0e.0:pcie08 Here are the devices under /sys/bus/pci/devices 0000:00:00.0/ 0000:00:02.0/ 0000:00:06.0/ 0000:00:09.0/ 0000:00:0c.0/ 0000:00:18.0/ 0000:00:18.3/ 0000:05:00.0/ 0000:00:01.0/ 0000:00:02.1/ 0000:00:07.0/ 0000:00:0a.0/ 0000:00:0d.0/ 0000:00:18.1/ 0000:01:0d.0/ 0000:00:01.1/ 0000:00:04.0/ 0000:00:08.0/ 0000:00:0b.0/ 0000:00:0e.0/ 0000:00:18.2/ 0000:03:00.0Article: 152351
>maxascent <maxascent@n_o_s_p_a_m.n_o_s_p_a_m.yahoo.co.uk> wrote: > >> BGAs are not hard to work with, however you can forget about >> soldering them yourself. > >I believe I have heard stories about people doing BGA in a >toaster oven. No idea about the success rate, though. > >-- glen > To be honest its not that expensive to get a BGA device soldered (I got one done for about $15). I would rather pay that then blow around $300 dollars on a pcb and device. Jon --------------------------------------- Posted through http://www.FPGARelated.comArticle: 152352
> How do I determine which device is mine? > > Here is the lspci output > 01:00.0 Unassigned class [ff00]: Altera Corporation Device 0004 (rev 01) you should be able to use the pci-ID from lspci as directory name in /sys/bus/pcie/devices/ > Here are the devices under /sys/bus/pci/devices > > 0000:00:00.0/ 0000:00:02.0/ 0000:00:06.0/ 0000:00:09.0/ > 0000:00:0c.0/ 0000:00:18.0/ 0000:00:18.3/ 0000:05:00.0/ > 0000:00:01.0/ 0000:00:02.1/ 0000:00:07.0/ 0000:00:0a.0/ > 0000:00:0d.0/ 0000:00:18.1/ 0000:01:0d.0/ > 0000:00:01.1/ 0000:00:04.0/ 0000:00:08.0/ 0000:00:0b.0/ > 0000:00:0e.0/ 0000:00:18.2/ 0000:03:00.0 I don't really know why your device 0000:01:00.0 doesn't appear here - did you list the directory on the same machine & while the card is detected? Just a guess: maybe you have to set a device class in the FPGA Firmware other than ff00? (my Xilinx ML605 gets detected as "RAM memory" for example by setting the appropriate device/vendor IDs)Article: 152353
On Thu, 11 Aug 2011 15:55:33 +0200, rndhro wrote: >> How do I determine which device is mine? >> >> Here is the lspci output >> 01:00.0 Unassigned class [ff00]: Altera Corporation Device 0004 (rev >> 01) > > you should be able to use the pci-ID from lspci as directory name in > /sys/bus/pcie/devices/ > >> Here are the devices under /sys/bus/pci/devices >> >> 0000:00:00.0/ 0000:00:02.0/ 0000:00:06.0/ 0000:00:09.0/ 0000:00:0c.0/ >> 0000:00:18.0/ 0000:00:18.3/ 0000:05:00.0/ 0000:00:01.0/ 0000:00:02.1/ >> 0000:00:07.0/ 0000:00:0a.0/ 0000:00:0d.0/ 0000:00:18.1/ 0000:01:0d.0/ >> 0000:00:01.1/ 0000:00:04.0/ 0000:00:08.0/ 0000:00:0b.0/ 0000:00:0e.0/ >> 0000:00:18.2/ 0000:03:00.0 > > I don't really know why your device 0000:01:00.0 doesn't appear here - > did you list the directory on the same machine & while the card is > detected? Just a guess: maybe you have to set a device class in the FPGA > Firmware other than ff00? (my Xilinx ML605 gets detected as "RAM memory" > for example by setting the appropriate device/vendor IDs) I'm switching the class to 5 from FF, I'll see what happens.Article: 152354
I'm trying to sell a Nallatech H101-PCIXM card I no longer need: http://cgi.ebay.co.uk/ws/eBayISAPI.dll?ViewItem&item=170680888864 Thanks Anton PS. Apologies if such ads are not allowed on your forum. I asked but got no reply, so went ahead with this post. --------------------------------------- Posted through http://www.FPGARelated.comArticle: 152355
Hello to all. I am very new in FPGAs but I have good experience in microcontrollers. I need a very high frequency microcontroller for a project. I tried the PIC32MX575F512L from microchip, which can be clocked in 80Mhz. Unfortunately this frequency was not enough, because it turned out that I need at least 300 Mhz frequency. I just need the microcontroller to take USB data from a computer ( fast serial data ) and export the data bits in parallel through the output ports. Is there a way to emulate this behaviour with an FPGA? Are FPGA chips only for development boards or can I use them independently in a PCB as I would do with any microcontroller? Thank you in advance for your time. --------------------------------------- Posted through http://www.FPGARelated.comArticle: 152356
On Thu, 11 Aug 2011 13:29:57 -0500, foxclab01 wrote: > Hello to all. > > I am very new in FPGAs but I have good experience in microcontrollers. I > need a very high frequency microcontroller for a project. I tried the > PIC32MX575F512L from microchip, which can be clocked in 80Mhz. > Unfortunately this frequency was not enough, because it turned out that > I need at least 300 Mhz frequency. > > I just need the microcontroller to take USB data from a computer ( fast > serial data ) and export the data bits in parallel through the output > ports. > > Is there a way to emulate this behaviour with an FPGA? Yes, although the USB part may be a challenge. > Are FPGA chips only for development boards or can I use them > independently in a PCB as I would do with any microcontroller? FPGA chips are for products, and you can certainly use them there. The prices may make you gasp if you look at the high-end parts. But you should be able to do this with one of the lower-priced parts if you can get USB working on it. -- www.wescottdesign.comArticle: 152357
On 08/11/2011 01:29 PM, foxclab01 wrote: > I just need the microcontroller to take USB data from a computer ( fast > serial data ) and export the data bits in parallel through the output > ports. Have you looked at one of the USB target device chips like the Cypress CY7C68013A? They have some libraries for this chip that allow 20 - 20 MByte/second transfers. There is a little board called a SERMOD-56 that brings out the parallel pins of the chip. The advantage of this chip is that the micro is for setup only, and then the USB hardware takes over to process the bulk data without needing the CPU. JonArticle: 152358
mexas <mexas@n_o_s_p_a_m.bris.ac.uk> wrote: > I'm trying to sell a Nallatech H101-PCIXM card > I no longer need: > http://cgi.ebay.co.uk/ws/eBayISAPI.dll?ViewItem&item=170680888864 > PS. Apologies if such ads are not allowed on your forum. > I asked but got no reply, so went ahead with this post. My personal view on ads in newsgroups is that: 1) The item should be appropriate for the group 2) Reasonably priced 3) People who are interested would be unlikely to otherwise go looking for it. I will guess that you satisfy those. (not that they represent group policy, but seem reasonable to me.) -- glenArticle: 152359
foxclab01 <foxclab01@n_o_s_p_a_m.yahoo.gr> wrote: > I am very new in FPGAs but I have good experience in microcontrollers. I > need a very high frequency microcontroller for a project. I tried the > PIC32MX575F512L from microchip, which can be clocked in 80Mhz. > Unfortunately this frequency was not enough, because it turned out that I > need at least 300 Mhz frequency. FPGAs can process data very fast, but they mostly do it by doing things in parallel. 300MHz is a little high for the lower priced FPGAs, but 150MHz isn't so hard. You need to get it down to at least two bits parallel as fast as you can. If you can't do that in the FPGA, then you can do it outside. > I just need the microcontroller to take USB data from a computer ( fast > serial data ) and export the data bits in parallel through the output > ports. (snip) -- glenArticle: 152360
FTDI make some good chips for this type of application. Parts like the FT232H are mainly designed for USB to RS232 serial, but they also support USB to parallel and USB to FIFO. They can be set up with very little effort, it's really a matter of configuring the type of operation instead of writing a complete program. PC side drivers for Windows are included free. Stephen Ecob Silicon on Inspiration www.sioi.com.auArticle: 152361
On Fri, 12 Aug 2011 07:29:57 +1000, Steve wrote: > FTDI make some good chips for this type of application. Parts like the > FT232H are mainly designed for USB to RS232 serial, but they also > support USB to parallel and USB to FIFO. They can be set up with very > little effort, it's really a matter of configuring the type of operation > instead of writing a complete program. PC side drivers for Windows are > included free. But they don't do high speed -- if you need more than 12Mbps raw (which means a lot less by the time _you_ get your hands on it) then you're out of luck. Which is really a bummer, but they have their business model, I'm sure. -- www.wescottdesign.comArticle: 152362
On Thu, 11 Aug 2011 21:22:21 +0000, glen herrmannsfeldt wrote: > foxclab01 <foxclab01@n_o_s_p_a_m.yahoo.gr> wrote: > >> I am very new in FPGAs but I have good experience in microcontrollers. >> I need a very high frequency microcontroller for a project. I tried the >> PIC32MX575F512L from microchip, which can be clocked in 80Mhz. >> Unfortunately this frequency was not enough, because it turned out that >> I need at least 300 Mhz frequency. > > FPGAs can process data very fast, but they mostly do it by doing things > in parallel. 300MHz is a little high for the lower priced FPGAs, but > 150MHz isn't so hard. You need to get it down to at least two bits > parallel as fast as you can. If you can't do that in the FPGA, then you > can do it outside. > >> I just need the microcontroller to take USB data from a computer ( fast >> serial data ) and export the data bits in parallel through the output >> ports. If the OP is extrapolating from what he can do to what he needs to do, then he may be OK. But he does need to weigh in. -- www.wescottdesign.comArticle: 152363
On 08/12/2011 04:13 AM, Jon Elson wrote: > On 08/11/2011 01:29 PM, foxclab01 wrote: > >> I just need the microcontroller to take USB data from a computer ( fast >> serial data ) and export the data bits in parallel through the output >> ports. > Have you looked at one of the USB target device chips like the Cypress > CY7C68013A? They have some libraries for this chip that allow 20 - 20 > MByte/second transfers. There is a little board called a SERMOD-56 that > brings out the parallel pins of the chip. > > The advantage of this chip is that the micro is for setup only, and then > the USB hardware takes over to process the bulk data without needing the > CPU. > > Jon The SERMOD-56 board, I believe, is discontinued. But, many Digilent evaluation boards have the Cypress USB chip on board, which is used for loading the bitfiles into the FPGA, etc., but you can also use it for data transfer, and you should be able to load your own firmware onto it after you've programmed the FPGA. On the FPGA side, you don't really need Anyway, I do agree with you on this chip, it's pretty powerful and reasonably easy to use; there's a nice example at http://www.triplespark.net/elec/periph/USB-FX2/ And it's faster than the run-of-the-mill FTDI chip FT245R. I think you have to do a bit of trickery with your host side driver (isochronous transfers, multiple threads?) to be able to get the full speed, though. Using standard blocking bulk transfers, I could only get up to about 11MB/s,though Cypress says it should go up to 40, and the software radio guys say they've gotten 30 or so out of it. FTDI2232H is also supposed to be able to do high-speed transfers in synchronous FIFO mode, though I don't know if this works with the VCP drivers or not.. my guess is not. SteveArticle: 152364
On Aug 11, 12:59=A0am, Raymond Wiker <r...@unknown-00-23-6c-8d-9e-26.lan> wrote: > glen herrmannsfeldt <g...@ugcs.caltech.edu> writes: > > Zach Stechly <lunaticengin...@gmail.com> wrote: > > >> I'm running Xilinx ISE 10.1 on a 64-bit linux machine, and I'm getting > >> a weird error. =A0Designs which do not use a coregen generated file > >> compile fine...however, when I try and use coregen, or even generate a > >> core from the coregen GUI, I get kicked out with the following error: > > >> Generating IP... > >> -cp: command not found > >> ERROR: coreutil:424 - An Error occured while running Java. =A0Please > >> exaime the console or coregen log file for a specific IP related error > >> WARNING:coreutil:266 - could not remove outfile > > >> I'm not sure why it couldn't locate the 'cp' command, as it is located > >> in /bin/. > > > The -cp option to java gives the classpath. =A0 > > > (Note that in linux, a filename can start with -, such that -cp > > is a legal (though confusing) command name.) > > > That doesn't really help you fix the problem, but does explain > > why the cp command isn't helping. =A0 > > > One possibility is that an environment variable is expanded inline, > > and contains a semicolon. =A0That would end the command, such that > > a following -cp would be expected to be a new command. > > Might also be that the environment variable JAVA (or whatever) is not > set, or set to the empty string. Hey guys, I figured it out - we were using the 64-bit version of Xilinx 10.1, but we only had the JRE installed for the 32-bit version. Core Gen went looking in xilinx/ise10/ISE/java/lin64 for the JRE, but couldn't find it. Thanks for all your helpArticle: 152365
On Fri, 12 Aug 2011 09:25:53 +0900, Steve B wrote: > On 08/12/2011 04:13 AM, Jon Elson wrote: >> On 08/11/2011 01:29 PM, foxclab01 wrote: >> >>> I just need the microcontroller to take USB data from a computer ( >>> fast serial data ) and export the data bits in parallel through the >>> output ports. >> Have you looked at one of the USB target device chips like the Cypress >> CY7C68013A? They have some libraries for this chip that allow 20 - 20 >> MByte/second transfers. There is a little board called a SERMOD-56 that >> brings out the parallel pins of the chip. >> >> The advantage of this chip is that the micro is for setup only, and >> then the USB hardware takes over to process the bulk data without >> needing the CPU. >> >> Jon > > The SERMOD-56 board, I believe, is discontinued. But, many Digilent > evaluation boards have the Cypress USB chip on board, which is used for > loading the bitfiles into the FPGA, etc., but you can also use it for > data transfer, and you should be able to load your own firmware onto it > after you've programmed the FPGA. On the FPGA side, you don't really > need > > Anyway, I do agree with you on this chip, it's pretty powerful and > reasonably easy to use; there's a nice example at > http://www.triplespark.net/elec/periph/USB-FX2/ And it's faster than the > run-of-the-mill FTDI chip FT245R. I think you have to do a bit of > trickery with your host side driver (isochronous transfers, multiple > threads?) to be able to get the full speed, though. Using standard > blocking bulk transfers, I could only get up to about 11MB/s,though > Cypress says it should go up to 40, and the software radio guys say > they've gotten 30 or so out of it. > > FTDI2232H is also supposed to be able to do high-speed transfers in > synchronous FIFO mode, though I don't know if this works with the VCP > drivers or not.. my guess is not. Well, I'll be dipped -- I had been sure that the FTDI chips were all limited to USB full speed. The things you learn on USENET... -- www.wescottdesign.comArticle: 152366
Am 11.08.2011 20:29, schrieb foxclab01: > I am very new in FPGAs but I have good experience in microcontrollers. I > need a very high frequency microcontroller for a project. I tried the > PIC32MX575F512L from microchip, which can be clocked in 80Mhz. > Unfortunately this frequency was not enough, because it turned out that I > need at least 300 Mhz frequency. What exactly are you trying to do? And why do you think that you need at least 300 Mhz? The PIC32MX575F512L contains a full speed usb controller, so there is less that 12mbit/s of bandwidth available. If you want to a 8-bit parallel out, that is just 1.5 Mhz. > Is there a way to emulate this behaviour with an FPGA? Yes. But not unlikely this will be much harder and more expensive than doing this with a microcontroller. Or if the task can't be completely done within a microcontroller, combine the microcontroller with a small fpga or cpld. > Are FPGA chips only for development boards or can I use them independently > in a PCB as I would do with any microcontroller? Of course you can use the independently, but most FPGAs aren't as easy to deploy as a microcontroller. Most of them do not contain internal non-volatile memory, so you need a external memory to configure them. Also most of them need multiple externally generated voltages. Greetings, JanArticle: 152367
On Aug 12, 1:40=A0am, Zach Stechly <lunaticengin...@gmail.com> wrote: > I figured it out - we were using the 64-bit version of Xilinx 10.1, > but we only had the JRE installed for the 32-bit version. =A0Core Gen > went looking in xilinx/ise10/ISE/java/lin64 for the JRE, but couldn't > find it. ISE comes with a JRE bundled? Looking under /opt/Xilinx/12.2/ISE_DS/ ISE/java6/lin64/jre, I see it there. Its a shame they can't create decent Linux distribution bundles in RPM or DEB format, and avoid this kind of duplication. ISE seems to have installed its own 32 and 64 bit JREs automatically on my machine. I don't recall being given the option to deselect this in the install process.Article: 152368
On 12.08.11 11:36, wrote rupertlssmith@googlemail.com: > I don't recall being given the option to deselect this > in the install process. The ISE design suite is monolithic. Maybe Xilinx will change that if they crack the 10 GB mark for the whole package :-/ ... regards, BartArticle: 152369
"foxclab01" <foxclab01@n_o_s_p_a_m.yahoo.gr> wrote: >Hello to all. > >I am very new in FPGAs but I have good experience in microcontrollers. I >need a very high frequency microcontroller for a project. I tried the >PIC32MX575F512L from microchip, which can be clocked in 80Mhz. >Unfortunately this frequency was not enough, because it turned out that I >need at least 300 Mhz frequency. > >I just need the microcontroller to take USB data from a computer ( fast >serial data ) and export the data bits in parallel through the output >ports. Use a fast ARM microcontroller which has DMA (like NXP's LCP1700 series which can run at speeds up to 120MHz). This should solve your problems unless you have to do a lot of processing on the data. Transferring 1.2MB/s (full-speed USB) should not be a problem. You can problably optimize a lot by handling data by 32bit words and not bytes. -- Failure does not prove something is impossible, failure simply indicates you are not using the right tools... nico@nctdevpuntnl (punt=.) --------------------------------------------------------------Article: 152370
Have a look at XMOS: http://www.xmos.com/ Their devices run at 400/500 MIPS per core, with the two-core XS1-L2 delivering 1000 MIPS. They can handle high-speed USB in software. LeonArticle: 152371
On 08/11/2011 07:25 PM, Steve B wrote: > And it's faster than the run-of-the-mill FTDI chip FT245R. I think you > have to do a bit of trickery with your host side driver (isochronous > transfers, multiple threads?) to be able to get the full speed, though. > Using standard blocking bulk transfers, I could only get up to about > 11MB/s,though Cypress says it should go up to 40, and the software radio > guys say they've gotten 30 or so out of it. On a decent Linux host PC, I actually got 30 MB/s from USB-> PC, and 22 MB/s from PC -> USB, using some test software from, I think, Wolfgang Weiser. This was just data transfer, with nothing being done with the data. I abandoned the project because I was never able to program their little state machine that is capable of doing hardware handshaking and data strobe timing. Someday, I'd really like to figure out how to make that work without buying a bunch of expensive development software. JonArticle: 152372
Hi there, i just fount this page and i hope that you can help me. Here is what i need to do. I want to interface MC68000 to cyclone II. As you allready know MC68000 is 5V system and i need to convert that signals to 3.3V so i can use it in cyclone. I was working with txs0108e and now i know that 5V<=>3.3V are done in bidirectional mode but i dont know what happened to FCT to LVTTL conversion. Can it be done on this way or i need to use some external FCT to TTL converters. Or i need to use something like quickswich like QS3861. Can anyone help? --------------------------------------- Posted through http://www.FPGARelated.comArticle: 152373
On Aug 3, 7:42=A0am, valtih1978 <d...@not.email.me> wrote: > Ok. You used a tricky way to say that Kolja actually meant > > =A0 =A0 =A0 =A0 _A_sync: process(all) Hi All, I am E Srikanth , and the author of the XCell Article " how do I reset my FPGA. I accept that there were few errors in the article after that has been published. But the the errors have been fixed within few days after the day of publishing. Please download the pdf file again for all the corrections. http://issuu.com/xcelljournal/docs/xcell_journal_issue_76/44?viewMode=3Dmag= azine&mode=3Dembed Regards, E SrikanthArticle: 152374
On Aug 15, 5:25=A0pm, "majsta" <imajstorovic@n_o_s_p_a_m.yahoo.com> wrote: > Hi there, i just fount this page and i hope that you can help me. Here is > what i need to do. I want to interface MC68000 to cyclone II. As you > allready know MC68000 is 5V system and i need to convert that signals to > 3.3V so i can use it in cyclone. I was working with txs0108e and now i kn= ow > that 5V<=3D>3.3V are done in bidirectional mode but i dont know what happ= ened > to FCT to LVTTL conversion. Can it be done on this way or i need to use > some external FCT to TTL converters. Or i need to use something like > quickswich like QS3861. Can anyone help? > > --------------------------------------- =A0 =A0 =A0 =A0 > Posted throughhttp://www.FPGARelated.com I am assuming that you are attaching the FPGA as a memory-mapped device, which means that most of the signals will be unidirectional. For these, I would suggest a simple buffer with a wide input range. I have used the SN74LVC2G34 buffers where I need to drive a 3.3V input on an FPGA with a TTL device, and they have worked very well. Just power the buffer with the Vio of your FPGA, since the inputs are tolerant up to 5.5V regardless of Vcc. You can get devices with the same specifications in hex and octal variants. For the bi-directional bus, I do suggest the IDT quickswitch parts. They are are cheap, have extremely small latencies, and are fairly simple to use. The only caveat is that to use them as voltage translators, you do have to pay attention to the A and B side (since they are FET based, and have an intrinsic diode), and note that you have to supply them with a Vcc no greater than 4.2V to ensure the output never exceeds 3.3V. However, the current demand is very small, and most people get away with just putting a small signal diode between the supply and the part's Vcc input. Just make sure the diode has a Vf greater than 0.8V.
Site Home Archive Home FAQ Home How to search the Archive How to Navigate the Archive
Compare FPGA features and resources
Threads starting:
Authors:A B C D E F G H I J K L M N O P Q R S T U V W X Y Z