03-27-2012 01:38 AM
Please see the earlier thread called ‘KCPSM3 for windows 7 64-bit?’
Ideally you can use KCPSM6. If not, I expect to receive an email from you soon.
Principal Engineer, Xilinx UK
03-27-2012 03:27 PM
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 ?
03-27-2012 10:56 PM
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
03-28-2012 04:48 AM
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...
Henk van Kampen
03-29-2012 04:43 AM
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 ?
03-29-2012 05:53 AM
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
Henk van Kampen