EDK 8.2i/cygwin issues

Dear all,

I am new to the EDK and just trying out my first project. I am running EDK 8.2i on Windows XP . I already have an install of cygwin and would prefer to use that rather than the one bundled with the EDK.

If I do Hardware->Generate Netlist I get a parse error on the makefile, caused by the line XILINX_EDK_DIR = C:/EDK_82 in system_incl.make. The standard cygwin version of make does not handle the colon in this path. If I substitute XILINX_EDK_DIR = C\:/EDK_82 or XILINX_EDK_DIR = /cygdrive/c/EDK_82 and run the make from the command line it is fine. Unfortunately this file is created by the Platform Studio GUI every time the Generate Netlist command is executed and my modification is overwritten.

If I hide my cygwin installation so the Platform Studio uses the bundled install this problem does not occur, but there is a problem later on (when parsing the UCF) that I do not get when running it from the command line. Even if this did work, I really want to use my install of cygwin, as I use it for a great deal more than Platform Studio.

I have searched the Xilinx answers and google groups but can't see anything, it could be that I'm just not using the magic words. Any help greatly appreciated!

TIA,

Peter

Reply to
Peter Mendham
Loading thread data ...

Sorry, correction. The UCF problem occurs when running the "Generate Bitstream" command. The problem is evident when running the command either using the Xilinx installed cygwin, or using my own (with the XILINX_EDK_DIR correction). This is clearly a new problem altogether, and most probably unrelated to my original cygwin query.

Peter

Peter Mendham wrote:

Reply to
Peter Mendham

Well, I solved the UCF problem myself with a bit of RTFM. The project I am using was originally created for EDK 8.1i so uses the old naming convention for DCMs. See answer record 23993.

My problem with cygwin and the EDK generated make files still stands though.

Peter

Peter Mendham wrote:

Reply to
Peter Mendham

If you have kept up your cygwin distribution, it is likely this problem is caused by the newer version of make that gets installed. I don't remember the version numbers for the newer versions, but if you back up to make version 3.80, it will probably work.

The problem has to do with supported characters in paths in the version of make.

If you are writing your own makefiles, in some cases you can get around the problem by using cygpath to generate compatible paths.

Terry Brown

Reply to
tbrown

Terry,

Thanks for your reply. It looks like you're right. I used the EDK to generate the makefiles, then corrected the home directory line to read: XILINX_EDK_DIR = /cygdrive/c/EDK_82 Then saved the make files under a new name. I then set the project to use these files and all is now happy. I think I'll do this rather than roll back make, and wait for Xilinx to correct the makefiles produced by the EDK ;)

Thanks,

Peter

tbrown wrote:

Reply to
Peter Mendham

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.