Jump to content


Location not defined in architecture file


  • You cannot reply to this topic
1 reply to this topic

#1 Omar Ahmed

    Member

  • Members
  • PipPip
  • 4 posts

Posted 09 November 2009 - 05:15 PM

I am trying to convert my work to HDl, but the impulse give me this error "Location not defined in architecture file: make: *** [RFC_pipeline.xhw] Error 1"
Please guy if you know what is going on, let me know.
Omar

#2 meix

    Advanced Member

  • Impulse Staff
  • PipPipPip
  • 32 posts

Posted 17 November 2009 - 10:34 PM

Hi Omar,

I examined your code, and found that you used co_memory_create in a wrong way. Here is a line of your code:

CODE
lookuptable00 = co_memory_create("lookuptable00", "mem00", MEMORY_SIZE * sizeof(co_int10));


The second parameter is not supposed to be a name for you to specify. It should be as shown below:

const char *loc -- Architecture-specific physical hardware location associated with this memory. Valid values of this argument are platform-dependent.

Change the line to the following to use default settings:

CODE
lookuptable00 = co_memory_create("lookuptable00", "", MEMORY_SIZE * sizeof(co_int10));


Here is an excerpt from our user guide on Xilinx Virtex-4 PLB PSP:


Choosing an External Memory

The choice of which external memory device to store data in is important to achieving the best performance for an application. External memories may differ in size, performance characteristics, and how they are connected in the FPGA-based system. Which memories are available depends on the choice of Platform Support Package, as well as on which physical hardware platform is being used.

Platform Support Packages specify which memory locations are available to the programmer. The location of a shared memory resource is chosen by the programmer using the co_memory_create function.

Memory locations supported by Xilinx PowerPC-based platforms (Virtex-II Pro, Virtex-4 FX, and Virtex-5 FXT) are:

  • "ext0": OPB -- Any memory connected to the OPB bus
  • "plbmem": PLB -- Any memory connected to the PLB bus
  • "" (empty string): PLB -- Default: plbmem

If an invalid memory location is specified, the Impulse C compiler will print an error.



Mei








1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users