cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
utkarshgpt71
Newbie
Newbie
2,417 Views
Registered: ‎04-15-2013

Xilinx Picoblaze Assembler not running in MATLAB

whenever I try to run the picoblaze assembler using xlpb_as command in the MATLAB command prompt (in order to generate a .m file from a .psm file), I get the following error:

 

>> xlpb_as -p control.psm -v 2
Error using xlpb_as (line 33)
C:/Users/utk/Documents/MATLAB/control.psmerror: couldn't run wrapkcpsm2.bat

0 Kudos
3 Replies
m7888
Observer
Observer
896 Views
Registered: ‎06-27-2015

 

I had this issue only in VIVADO. In ISE there was no problem.

One work around is to edit the xlrunperl.m mfile. It is located in your VIVADO directory, somewhere like this:

C:\Xilinx\Vivado\2017.4\scripts\sysgen\matlab

 

Follow the instructions below. I hope this would help:

1) First you need to install Xilinx ISE 14.7 (the most difficult part)

2) Open xlrunperl.m file and find the following lines:

     perl_exe = xilinx.environment.getpath('ise', 'exe', 'xilperl')
     sysgen_dir = xilinx.environment.getpath('sysgen')
     scripts_dir = xilinx.environment.getpath('sysgen', 'script')

3) Replace them with these new lines (use your own installation directory)

      perl_exe    = 'C:/Xilinx/14.7/ISE_DS/ISE/bin/nt64/xilperl';
      sysgen_dir  = 'C:/Xilinx/14.7/ISE_DS/ISE/sysgen';
      scripts_dir = 'C:/Xilinx/14.7/ISE_DS/ISE/sysgen/scripts';

 

0 Kudos
florentw
Moderator
Moderator
871 Views
Registered: ‎11-09-2015

Hi @m7888,

 

Our Community Help has a tip that might help you : Tip: If the message is older than 6-12 months, please post a new message rather than adding to the existing thread. Your inquiry will have a better chance of being picked up by an expert if it is a new topic.

 

https://forums.xilinx.com/t5/help/faqpage/faq-category-id/posting#posting

 

I would suggest you create a new topic on the appropriate board

 

Regards,


Florent
Product Application Engineer - Xilinx Technical Support EMEA
**~ Don't forget to reply, give kudos, and accept as solution.~**
0 Kudos
m7888
Observer
Observer
847 Views
Registered: ‎06-27-2015

Hi florentw,

Thanks for the tip :)

 

Yours,

Mohammad

0 Kudos