WARP Project Forums - Wireless Open-Access Research Platform

You are not logged in.

#1 2008-Feb-19 08:13:27

atanu
Member
From: India
Registered: 2007-Jun-26
Posts: 33

Error in Workshop Lab-1 adder.mdl

Hi,
We are using MATLAB-2006b, Sysgen-9.1.01 and trying to compile the exiting workshop example 1 (adder model).

During compilation and run in the simulink, I get the following error/warning message:

------------------------------------------------------
>>
Warning: Output port 1 of 'adder_unconverted_backup/Read Only Register/To Register' is not connected.
Warning: Using a default value of 0.2 for maximum step size.  The simulation step size will be equal to or less than this value.  You can disable this diagnostic by setting 'Automatic solver parameter selection' diagnostic to 'none' in the Diagnostics page of the configuration parameters dialog.
>>
------------------------------------------------------

After these warnings, while trying to convert the model to opb complient peripheral using the sysgen2opb('adder'), I get another set of warnings:
-----------------------------------------------------
>> sysgen2opb('adder_unconverted_backup')
Warning: Sysgen block AddSub is unlinked.  This block may not function properly.  Future versions of Sysgen will not support unlinked Sysgen blocks.  Restore the link on the block.
> In F:\MATLABV2\R2006b\toolbox\xilinx\sysgen\bin\xlWarnBlockUnlinked.p>xlWarnBlockUnlinked at 3
  In F:\MATLABV2\R2006b\toolbox\xilinx\sysgen\bin\xlBlockPreSaveCallback.p>xlBlockPreSaveCallback at 50
  In sysgen2opb at 1755
Warning: Sysgen block Constant is unlinked.  This block may not function properly.  Future versions of Sysgen will not support unlinked Sysgen blocks.  Restore the link on the block.
> In F:\MATLABV2\R2006b\toolbox\xilinx\sysgen\bin\xlWarnBlockUnlinked.p>xlWarnBlockUnlinked at 3
  In F:\MATLABV2\R2006b\toolbox\xilinx\sysgen\bin\xlBlockPreSaveCallback.p>xlBlockPreSaveCallback at 50
  In sysgen2opb at 1755
>>
------------------------------------------------------

Finally during the 'Generation' process I get the following message and errors:

------------------------------------------------------
Message in command window:

> In F:\MATLABV2\R2006b\toolbox\xilinx\sysgen\bin\xlWarnBlockUnlinked.p>xlWarnBlockUnlinked at 3
  In F:\MATLABV2\R2006b\toolbox\xilinx\sysgen\bin\xlBlockLoadCallback.p>xlBlockLoadCallback at 82
  In general\private\openmdl at 13
  In open at 146
  In uiopen at 196
Warning: Sysgen block Constant is unlinked.  This block may not function properly.  Future versions of Sysgen will not support unlinked Sysgen blocks.  Restore the link on the block.
> In F:\MATLABV2\R2006b\toolbox\xilinx\sysgen\bin\xlWarnBlockUnlinked.p>xlWarnBlockUnlinked at 3
  In F:\MATLABV2\R2006b\toolbox\xilinx\sysgen\bin\xlBlockLoadCallback.p>xlBlockLoadCallback at 82
  In general\private\openmdl at 13
  In open at 146
  In uiopen at 196
Warning: Matching "From" for "Goto" 'adder_unconverted_backup/Memory Mapped I_O/IP2OPB_IF/Goto6' not found.
> In F:\MATLABV2\R2006b\toolbox\xilinx\sysgen\bin\xlCompileGenerateMdl.p>xlCompileGenerateMdl at 187
  In F:\MATLABV2\R2006b\toolbox\xilinx\sysgen\bin\xlGenerateButton.p>xlGenerateButton at 382
  In F:\MATLABV2\R2006b\toolbox\xilinx\sysgen\bin\xlSysgenGUI.p>xlSysgenGUI at 23
Warning: Matching "From" for "Goto" 'adder_unconverted_backup/Memory Mapped I_O/IP2OPB_IF/Goto7' not found.
> In F:\MATLABV2\R2006b\toolbox\xilinx\sysgen\bin\xlCompileGenerateMdl.p>xlCompileGenerateMdl at 187
  In F:\MATLABV2\R2006b\toolbox\xilinx\sysgen\bin\xlGenerateButton.p>xlGenerateButton at 382
  In F:\MATLABV2\R2006b\toolbox\xilinx\sysgen\bin\xlSysgenGUI.p>xlSysgenGUI at 23
Warning: Using a default value of 0.2 for maximum step size.  The simulation step size will be equal to or less than this value.  You can disable this diagnostic by setting 'Automatic solver parameter selection' diagnostic to 'none' in the Diagnostics page of the configuration parameters dialog.
> In F:\MATLABV2\R2006b\toolbox\xilinx\sysgen\bin\xlCompileGenerateMdl.p>xlCompileGenerateMdl at 187
  In F:\MATLABV2\R2006b\toolbox\xilinx\sysgen\bin\xlGenerateButton.p>xlGenerateButton at 382
  In F:\MATLABV2\R2006b\toolbox\xilinx\sysgen\bin\xlSysgenGUI.p>xlSysgenGUI at 23


Message in popup window
------------------------
Error using ==> xledkpostgen
'psfutil' is not recognized as an internal or external command,
operable program or batch file.


*** ERROR ***
------------------------------------------------------

Could please let us know what could be the possible reason of these errors? Do these tool versions are fine?

best regards,
Atanu

Offline

 

#2 2008-Feb-19 11:11:36

murphpo
Administrator
From: Mango Communications
Registered: 2006-Jul-03
Posts: 5159

Re: Error in Workshop Lab-1 adder.mdl

You can safely ignore the warnings about unlinked blocks; this won't be an issue once we switch to the PLB-based pcore generation flow in Sysgen 10.1.

The error about psfutil is your problem. Do you have the EDK 9.1 installed? psfutil is a command-line utility included with the EDK and is required by the OPB Export target.

Offline

 

#3 2008-Feb-20 00:24:34

atanu
Member
From: India
Registered: 2007-Jun-26
Posts: 33

Re: Error in Workshop Lab-1 adder.mdl

yes, we have installed EDK 9.1 and I have checked that psfutil is working in EDK shell. When issued the psfutil command, the following appears:
--------------
psfutil version Xilinx EDK 9.1 Build EDK_J.19
Copyright (c) Xilinx Inc. 2002.
--------------

Is there anuy way to check the linking of psfutil to OPB export tool?

Offline

 

#4 2008-Feb-20 00:28:36

murphpo
Administrator
From: Mango Communications
Registered: 2006-Jul-03
Posts: 5159

Re: Error in Workshop Lab-1 adder.mdl

Does psfutil work on the Windows command line? The EDK shell may be setting environment variables that aren't properly setup system-wide.

Offline

 

#5 2008-Feb-20 00:32:58

atanu
Member
From: India
Registered: 2007-Jun-26
Posts: 33

Re: Error in Workshop Lab-1 adder.mdl

No, it does not work in windows command line.

When issed in windows command line following appears (which is exactly same as the received error in sysgen):

--------------------------------------------------
C:\Documents and Settings\motolab>psutil
'psutil' is not recognized as an internal or external command,
operable program or batch file.
--------------------------------------------------

Offline

 

#6 2008-Feb-20 00:36:58

murphpo
Administrator
From: Mango Communications
Registered: 2006-Jul-03
Posts: 5159

Re: Error in Workshop Lab-1 adder.mdl

Then that is the underlying problem.

The path to the EDK tools must be in the Windows path environment variable. If you installed the EDK in C:\EDK, then the path must include C:\EDK\bin\nt. You can either edit the path in Windows, or re-run the EDK installer and be sure the environment variable setup is enabled in the installation options.

Offline

 

#7 2008-Feb-20 01:01:19

atanu
Member
From: India
Registered: 2007-Jun-26
Posts: 33

Re: Error in Workshop Lab-1 adder.mdl

Thanks, I am reinstelling the EDK and checking the result.

Offline

 

#8 2008-Feb-20 01:48:37

atanu
Member
From: India
Registered: 2007-Jun-26
Posts: 33

Re: Error in Workshop Lab-1 adder.mdl

Hi,

Thanks for alll the details. We are facing another problem in EDK while trying to generate the system.xmp. I have sent a detailed email containing the error snapshorts to "warp-project@rice.edu".

Once that problem is solved, we will be able to do the through compilation using locally generated system.xmp.

Regards
Atanu

Offline

 

Board footer