Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
18 years ago

SOPC Components not found in Quartus 7.2

I recently upgraded to Quartus 7.1 and went through the pain of migrating all my SOPC components to the new tcl format. The components were all in a library pointed to by the global libraries path.

I open the project in 7.2 and SOPC cannot find these components any more!

My paths are something like this ..

c:\branch7.2\mylib\--component1\hdl
                  \--component2\hdl
                  \--etc.

With v7.1 I placed an empty file .recurs in the c:\branch7.2\mylib directory which appeared to allow SOPC to recurs the subdirs properly. Therefore only needing one path for all my library components. But in 7.2 the SOPC tools does not find them any more.

I've tried adding the paths for c:\branch7.2\mylib as well as c:\branch7.2\mylib\component1 etc. in both project and global libraries paths as well as in SOPC "tools->options->ip search path" with no joy.

Can anybody help me?

14 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    :) My parameters are only integer and moving them from generics to constants within my code and disabling the 'add_parameter' lines in _hw.tcl fixes this problem.

    This is not great as I can no longer parameterise my component! :mad:

    Thanks again Klaus for your help.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    The parameters should have default values :

    ENTITY component IS 
      GENERIC
      (
      parameter  : integer := 4      			
      );		

    Try to regenerate your component with the component editor. Create a new SOPC system an insert your component. Maybe it helps.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    My component parameters already have default values assigned I'm afraid. For example :

    entity StreamCapture is
    generic (
    	master_address_width	: integer := 32;
    	master_data_width		: integer := 64;
    	stream_data_width		: integer := 32;
    	stream_length_width		: integer := 24
    );
    port (
    ...etc.

    If I edit the component again I get what seems to be incorrect tcl for the simulation files property with a dangling " :-

    set_module_property "simulationFiles" "
      "StreamCapture.vhd"

    which accounts for the error on loading the SOPC system :

    Error: StreamCapture_0: extra characters after close-quote

    where originally this was :

    set_module_property simulationFiles {
      "PP_StreamCapture.vhd"}

    reverting this removes the Error: StreamCapture_0: extra characters after close-quote

    Unfortunately I haven't found a combination that allows me to have generics as parameters. I tried removing the _ and capitalising the names with no success.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    The correct syntax for set_module_property simulationfiles according to the manual should be :

    set_module_property simulationFiles