Sign In

Don't have a Xilinx account yet?

  • Choose to receive important news and product information
  • Gain access to special content
  • Personalize your web experience on Xilinx.com

Create Account

Username

Password

Forgot your password?
XClose Panel
Xilinx Home
Reply
Regular Contributor
dag1
Posts: 86
Registered: ‎12-08-2007
0

picoblaze error: KCPSM3.exe incopatible with 64 bit Windows

Hi

 

Is there a version of KCPSM3.exe for Windows 64 bit ?

or

is there another way of compiling from PicoBlaze .psm to .vhd ?

 

thanks

Dag

Xilinx Employee
chapman
Posts: 413
Registered: ‎09-05-2007
0

Re: picoblaze error: KCPSM3.exe incopatible with 64 bit Windows

Please see the earlier thread called ‘KCPSM3 for windows 7 64-bit?’

 

http://forums.xilinx.com/t5/PicoBlaze/KCPSM3-for-windows-7-64-bit/td-p/104539

 

Ideally you can use KCPSM6. If not, I expect to receive an email from you soon.

Ken Chapman
Principal Engineer, Xilinx UK
Regular Contributor
dag1
Posts: 86
Registered: ‎12-08-2007
0

Re: picoblaze error: KCPSM3.exe incopatible with 64 bit Windows

Thanks for your reply

 

Can you send me the link for this application KCPSM6 ?

thanks

 

Dag

Regular Contributor
dag1
Posts: 86
Registered: ‎12-08-2007
0

Re: picoblaze error: KCPSM3.exe incopatible with 64 bit Windows

Hi Ken

I found the material containing KCPSM6.

Thanks for that.

 

From reading the first few pages of the user guide I seem to understand that

KCPSM6 assembler is for Spartan6.

 

Since I use the Spartan3e cards, I would like to know if I could use KCPSM6 to compile 

.psm to .vhd for Spartan3 device ?

 

If the answer is yes, do I need to use any additional options ?

 

thanks

Dag

Expert Contributor
eilert
Posts: 2,058
Registered: ‎08-14-2007
0

Re: picoblaze error: KCPSM3.exe incopatible with 64 bit Windows

Hi Dag,

unfortunately the answer is "No".

KCPSM3 and KCPSM6 Picoblazes have different capabilities and opcode-encoding.

 

So for working with S3 devices of any kind (E/A/AN) you have to use KCPSM3.exe if you want to use the original syntax.

However there are other Picoblaze assemblers available, but they use a slightly different syntax.

 

To solve your problem you might use some tool like dosbox (http://www.dosbox.com) or some other virtualisation software.

For using KCPSM.exe some simple DOS is sufficcient, no need for windows there.

This way you should be able to overcome the 64-bit trouble you had.

 

Have a nice synthesis

  Eilert

Visitor
mediatronix
Posts: 17
Registered: ‎06-26-2009
0

Re: picoblaze error: KCPSM3.exe incopatible with 64 bit Windows

Dear Dag:

 

Please have a look at: http://www.mediatronix.com/?q=pBlazASM. Here you find several tools for assembling and merging template files. All are Win64 compatible.

 

Latest addition is a bitstream utility pBlazBIT that allows you to directly patch bitstream files, so there is no need to compile and compile and compile...

 

Regards,

Henk van Kampen

Regular Contributor
dag1
Posts: 86
Registered: ‎12-08-2007
0

Re: picoblaze error: KCPSM3.exe incopatible with 64 bit Windows

Hi

I am able to run  pBlazASM.exe in Windows 64bit.

 

But it does not generate the .VHD file after readning my .PSM file.

 

Do I need to put any "template" files in the diretory ?

 

I tried with the -m option. It generates the .MEM file.

 

But I cannot use the application PB_BMM.exe to convert .MEM to .VHD because PB_BMM does not run win Windows 64 bit.

 

Therefore, how can I produce the .VHD code from .PSM in Windows 64 bit using the pBlazeXXX.exe applications ?

thanks

 

Dag

Visitor
mediatronix
Posts: 17
Registered: ‎06-26-2009
0

Re: picoblaze error: KCPSM3.exe incopatible with 64 bit Windows

Dear Dag:

Use the pBlazMEM utility to merge the MEM file contents in the template VHD file you need. Something like:

    pBlazMRG -v -mpblaze.mem -spblaze.scr -tROM_SCR_1024.tpl -eCodeROM uCodeROM.vhd

Regards,
Henk van Kampen