Go Back   Velocity Reviews > Newsgroups > VHDL
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

VHDL - Programming Xilinx PowerPC

 
Thread Tools Search this Thread
Old 01-06-2006, 09:22 PM   #1
Default Programming Xilinx PowerPC


Hello,

I have a Veritex-4 PCI board and I like to program the PowerPC on it. I
don't have the EDK from Xilinx. Here are my questions:



How can program the PowerPC without buying EDK?

As I know the compiler and linker is free (part of GNU) where can I get them
for free?

How can I download the compiled program to PowerPC?

How can I get the output? For example if I write a hello world type of
program, can I see the STDIO on screen?



Any help is much appreciated.



Best regards






ma
  Reply With Quote
Old 01-06-2006, 10:13 PM   #2
Antti Lukats
 
Posts: n/a
Default Re: Programming Xilinx PowerPC
"ma" <> schrieb im Newsbeitrag
news:LcBvf.86365$. uk...
> Hello,
>
> I have a Veritex-4 PCI board and I like to program the PowerPC on it. I
> don't have the EDK from Xilinx. Here are my questions:
>
>
> How can program the PowerPC without buying EDK?
>

short answer: you can not
long answer: you can if write your own minimal replacement fo EDK

> As I know the compiler and linker is free (part of GNU) where can I get
> them for free?
>

ppc gcc can be obtained but it want help you much, see above

> How can I download the compiled program to PowerPC?
>

over JTAG or buy preloading BRAMs

> How can I get the output? For example if I write a hello world type of
> program, can I see the STDIO on screen?
>
>

use EDK or add your peripherals and re-implemented all the funtionality
provide by EDK

> Any help is much appreciated.
>


doing it wihtout EDK costs you WAY more than than obtaining EDK, it could be
done, but the time needed for that just isnt worht doing it

sorry, but Xilinx REALLY REALLY doesnt want anyone to work on the Virtex PPC
without using EDK, it is doable (without EDK) but it really isnt worht
trying

Antti




Antti Lukats
  Reply With Quote
Old 01-06-2006, 10:18 PM   #3
ma
 
Posts: n/a
Default Re: Programming Xilinx PowerPC
Thanks.
Can I program it without using JTAG possibly over PCI bus? I am ready to
write appropriate driver if I know where can I get the documentation for
writing such driver.

Best regards

"Antti Lukats" <> wrote in message
news:dpmq2m$c97$...
> "ma" <> schrieb im Newsbeitrag
> news:LcBvf.86365$. uk...
>> Hello,
>>
>> I have a Veritex-4 PCI board and I like to program the PowerPC on it. I
>> don't have the EDK from Xilinx. Here are my questions:
>>
>>
>> How can program the PowerPC without buying EDK?
>>

> short answer: you can not
> long answer: you can if write your own minimal replacement fo EDK
>
>> As I know the compiler and linker is free (part of GNU) where can I get
>> them for free?
>>

> ppc gcc can be obtained but it want help you much, see above
>
>> How can I download the compiled program to PowerPC?
>>

> over JTAG or buy preloading BRAMs
>
>> How can I get the output? For example if I write a hello world type of
>> program, can I see the STDIO on screen?
>>
>>

> use EDK or add your peripherals and re-implemented all the funtionality
> provide by EDK
>
>> Any help is much appreciated.
>>

>
> doing it wihtout EDK costs you WAY more than than obtaining EDK, it could
> be done, but the time needed for that just isnt worht doing it
>
> sorry, but Xilinx REALLY REALLY doesnt want anyone to work on the Virtex
> PPC without using EDK, it is doable (without EDK) but it really isnt worht
> trying
>
> Antti
>
>





ma
  Reply With Quote
Old 01-06-2006, 10:24 PM   #4
Antti Lukats
 
Posts: n/a
Default Re: Programming Xilinx PowerPC
"ma" <> schrieb im Newsbeitrag
news:X0Cvf.86397$. uk...
> Thanks.
> Can I program it without using JTAG possibly over PCI bus? I am ready to
> write appropriate driver if I know where can I get the documentation for
> writing such driver.


you can "load" the program by any means you wish - as logn as you have
written your own bootstrap loader.
this can be of PCI bus also.

but that is not your problem, without EDK you wast WAY too much time and
most likely end up with nothing anyway - there is nothing to 'program' as
long as you dont have the proper system bus structure and peripheral IP
cores in place, and even as it is possible to be done without using EDK, it
doesnt make sense.


Antti





Antti Lukats
  Reply With Quote
Old 01-06-2006, 11:09 PM   #5
Petter Gustad
 
Posts: n/a
Default Re: Programming Xilinx PowerPC
"ma" <> writes:

> Where can I find information about writing a driver for downloading
> program to PowerPC


It depends. You have to get the code into memory somehow, either BRAM,
SDRAM, FLASH, etc. that you have on your board. How you do that
depends on the IO interface you have on your board, JTAG, USB, PCI,
RS-232, etc.

> redirecting its STDIO to a window in PC?


That also depends on the IO interface you have on your board. If you
have a serial-port you can print to the serial-port and get the output
to a window on your PC using kermit or whatever serial program you
prefer.

Petter

--
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?


Petter Gustad
  Reply With Quote
Old 01-06-2006, 11:11 PM   #6
ma
 
Posts: n/a
Default Re: Programming Xilinx PowerPC
That make sense.
My idea is that I buy EDK and then develop my driver to download and use the
processor without JTAG by writing my own driver for PCI. My main aim is to
learn in the cheapest way!
Where can I find information about writing a driver for downloading program
to PowerPC and also redirecting its STDIO to a window in PC?

Best regards and thanks for your kind help.

"Antti Lukats" <> wrote in message
news:dpmqni$db0$...
> "ma" <> schrieb im Newsbeitrag
> news:X0Cvf.86397$. uk...
>> Thanks.
>> Can I program it without using JTAG possibly over PCI bus? I am ready to
>> write appropriate driver if I know where can I get the documentation for
>> writing such driver.

>
> you can "load" the program by any means you wish - as logn as you have
> written your own bootstrap loader.
> this can be of PCI bus also.
>
> but that is not your problem, without EDK you wast WAY too much time and
> most likely end up with nothing anyway - there is nothing to 'program' as
> long as you dont have the proper system bus structure and peripheral IP
> cores in place, and even as it is possible to be done without using EDK,
> it doesnt make sense.
>
>
> Antti
>
>
>





ma
  Reply With Quote
Old 01-07-2006, 12:06 AM   #7
ma
 
Posts: n/a
Default Re: Programming Xilinx PowerPC
Thanks
I think I understood what I should do to download the program into PowerPC
at least in theory
But I couldn't understand what how can use PCI bus for getting STDIO out of
board? assume that I have the following code in my PowerPC program:

main()
{
printf("hello world\n");
}

what is the path from PowerPC to a window on PC? assuming I know how to
communicate between FPGA board and PC.

Best regards



"Petter Gustad" <> wrote in message
news:...
> "ma" <> writes:
>
>> Where can I find information about writing a driver for downloading
>> program to PowerPC

>
> It depends. You have to get the code into memory somehow, either BRAM,
> SDRAM, FLASH, etc. that you have on your board. How you do that
> depends on the IO interface you have on your board, JTAG, USB, PCI,
> RS-232, etc.
>
>> redirecting its STDIO to a window in PC?

>
> That also depends on the IO interface you have on your board. If you
> have a serial-port you can print to the serial-port and get the output
> to a window on your PC using kermit or whatever serial program you
> prefer.
>
> Petter
>
> --
> A: Because it messes up the order in which people normally read text.
> Q: Why is top-posting such a bad thing?
> A: Top-posting.
> Q: What is the most annoying thing on usenet and in e-mail?





ma
  Reply With Quote
Old 01-07-2006, 12:42 AM   #8
mk
 
Posts: n/a
Default Re: Programming Xilinx PowerPC
On Sat, 07 Jan 2006 00:06:09 GMT, "ma" <> wrote:

>Thanks
>I think I understood what I should do to download the program into PowerPC
>at least in theory
>But I couldn't understand what how can use PCI bus for getting STDIO out of
>board? assume that I have the following code in my PowerPC program:
>
>main()
>{
> printf("hello world\n");
>}
>
>what is the path from PowerPC to a window on PC? assuming I know how to
>communicate between FPGA board and PC.


Telling you the path is the easy part. You need to (re-)implement the
printf library function and instead of writing to a file (number 1
IIRC) you write the data to a memory buffer and generate an interrupt
to the PCI bus. Your driver running on the PC, having received the
interrupt, would read the data from the same buffer. It is no
different than a network card receiving a packet from the network
actually. How would you write a device driver which dumps all the
packets to screen ? It's the same only the data doesn't come from the
wire but from your printf implementation. You can structure your pc
device driver/hardware communication stack similarly.


mk
  Reply With Quote
Old 01-07-2006, 05:27 AM   #9
Jack Klein
 
Posts: n/a
Default Re: Programming Xilinx PowerPC
On Fri, 06 Jan 2006 21:22:51 GMT, "ma" <> wrote in
comp.dsp:

> Hello,
>
> I have a Veritex-4 PCI board and I like to program the PowerPC on it. I
> don't have the EDK from Xilinx. Here are my questions:
>
>
>
> How can program the PowerPC without buying EDK?
>
> As I know the compiler and linker is free (part of GNU) where can I get them
> for free?
>
> How can I download the compiled program to PowerPC?
>
> How can I get the output? For example if I write a hello world type of
> program, can I see the STDIO on screen?
>
>
>
> Any help is much appreciated.
>
>
>
> Best regards


Your program is not just programming the PowerPC core(s). The
processors are hard core, but they have no connection at all to the
outside world. You have to configure the FPGA to provide some
internally memory, and for a program of any size, to act as a memory
controller to more memory off the chip.

Virtix provides IP for all of this, and all of this must be done
before the PowerPC can even fetch its first instruction.

--
Jack Klein
Home: http://JK-Technology.Com
FAQs for
comp.lang.c http://c-faq.com/
comp.lang.c++ http://www.parashift.com/c++-faq-lite/
alt.comp.lang.learn.c-c++
http://www.contrib.andrew.cmu.edu/~a...FAQ-acllc.html


Jack Klein
  Reply With Quote
Old 01-07-2006, 08:14 AM   #10
Hal Murray
 
Posts: n/a
Default Re: Programming Xilinx PowerPC
>> How can I download the compiled program to PowerPC?
>>

>over JTAG or buy preloading BRAMs


Are they cheaper than the EDK?

Are they available through the Xilinx online store?

(good one)

--
The suespammers.org mail server is located in California. So are all my
other mailboxes. Please do not send unsolicited bulk e-mail or unsolicited
commercial e-mail to my suespammers.org address or any of my other addresses.
These are my opinions, not necessarily my employer's. I hate spam.



Hal Murray
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Asynchronous Web Page Programming in 70-528 Marc W MCTS 1 11-13-2008 09:39 PM
Xilinx 7.1 and testbench error boitsas Software 0 01-15-2008 04:14 PM
VHDL (Assigning pins in xilinx) amanpervaiz Hardware 3 12-02-2006 04:37 PM
Programming Blu-Ray using Java ME (J2ME) asj DVD Video 5 07-27-2006 12:26 AM
HD-DVD Players/Media BiG_Orange DVD Video 54 10-29-2003 01:08 AM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46