05-22-2015 04:21 PM
As part of my research project at university I need to debug my code running on an ARM. We use a digilent Nexys 3 development board with a Xilinx Spartan 6 which has an ARM Cortex M0 included. My problem: A former student has concepted and realized the hardware for the FPGA in Xilinx's ISE Project Navigator and I have only limited knowledge about its functions. With it I can easily generate a bitstream and load it via digilent's Adept tool onto the FPGA.
Now, in order to be able to debug the system with Xilinx's SDK I need somehow to export the hardware configuration in form of a .mhs or .xmp file from the Project Navigator. Unfortunately, I can't find such a file in the project structure of the Project Navigator. Basically all files are Verilog files (including the top level file) which are included in each other. Even the ARM core is described with Verilog as a collection of signal relations. Therefore, the export option as mentioned for example here aren't available for any of these files.
Now to my question:
Obviously, my goal is to avoid setting up a new toolchain and be able to use as much as possible of the existing setup. I don't know if this is realistic ;)
Any advice is much appreciated!
05-24-2015 03:10 PM
05-23-2015 03:39 AM
05-24-2015 11:44 AM
Thank you for your quick answer!
There is no xmp file in the ISE project - only the HDL/netlist files so after your answer I guess there is no way to export this to SDK - too bad. Attached you can find an overview of the project structure, I blured all unnecessary verilog/HDL components.
Concerning the ARM executable: I use ARM Keil where I can chose the right setting for my Cortex M0 from presets. The integration with the remaining HDL modules is done over communication on the AMBA bus and address mapping. So the ARM tool itself is not aware of the FPGA environment. I guess my only option is then to try to debug directly with the ARM tool, right?
05-24-2015 03:10 PM