I have written an assembler for PicoBlaze (KCPSM3) in Perl. It's working for all of my test cases (including quite a complex program with over
600 instructions). It is a full syntax checker (somewhat more lenient than the distributed KCPSM3.EXE), as well as a generator of all the files (vhdl and verilog templates, .dec, .hex, .m, and .log files). The main features are:- platform independence (perl distributions are available for all the major OSs)
- will support mutiple source files
- will support filenames over 8 characters
- not all template files are required, and can have other names than ROM_form.*
- generation of ChipScope token files
I'd like to make a call for test cases, or potential users. Please email me if you're at all interested. It's possible that this script may be included in future distributions of PicoBlaze.
Thanks,
Mike Peattie