I'm working with ISE 6.2i on a project, and I'm trying to organize the source into libraries. In fact, I'm using a couple Opencores cores for this task as well. The libraries are in the format that Icarus Verilog handles just fine. That is, the library is a directory of verilog files, with each file named after the module it contains. I cannot for the life of me figure out how to get XST to do the same thing. I can list all the files in a file list, but I really just want to point it at the library directory and be done with it. I can see that the -vlgincdir flag to the run subcommand works for includes, but what (if anything) does the job for modules? And also, I cannot find anything that looks like a "-Dmacro=value" switch. Some of these library cores are configured by defines, and I would rather include those defines on the command line, or in the file list as I can with Icarus Verilog and the +define+macro=value statement. -- Steve Williams "The woods are lovely, dark and deep. steve at icarus.com But I have promises to keep, http://www.icarus.com and lines to code before I sleep, http://www.picturel.com And lines to code before I sleep."
XST vs. Verilog Libraries
Started by ●January 14, 2005
Reply by ●January 15, 20052005-01-15
Stephen Williams <spamtrap@icarus.com> wrote:> I'm working with ISE 6.2i on a project, and I'm trying to organize > the source into libraries. In fact, I'm using a couple Opencores > cores for this task as well. The libraries are in the format that > Icarus Verilog handles just fine. That is, the library is a directory > of verilog files, with each file named after the module it contains.> I cannot for the life of me figure out how to get XST to do the > same thing. I can list all the files in a file list, but I really > just want to point it at the library directory and be done with it. > I can see that the -vlgincdir flag to the run subcommand works for > includes, but what (if anything) does the job for modules?Well, XST programmers managed to screw up -vlgincdir for use in conjunction with ISE in many releases. The knowledge base is unclear about if it should work at all with a present release or if there are plans to fix that mode. What a pity... -- Uwe Bonnes bon@elektron.ikp.physik.tu-darmstadt.de Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt --------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------