Académique Documents
Professionnel Documents
Culture Documents
1) Open Xilinx 10.1. XPS (Xilinx Platform Studio) using following commands :
csh -----> 5 ( for Xilinx EDK10.1)-------> 112 (for XPS) ---- >
-1-
Department of Electronics & Communication – S V N I T Microblaze-Starter Guide
3) Set Microblaze clock frequency as default value. Set debug option and Local memory option as per
requirement. On-chip H/W debug will require JTAG cable. Click next.
4) Microblaze supports HyperTerminal through which standard output can be seen. It need RS-232
cable. To enable this select one of the XPS_UARTs as shown below:
-2-
Department of Electronics & Communication – S V N I T Microblaze-Starter Guide
5) Microblaze provides inbuilt XPS_TIMER which can be used to count number of cycle required for
your application.
-3-
Department of Electronics & Communication – S V N I T Microblaze-Starter Guide
Unmark Peripheral Test as it is not required. STDIN and STDOUT will show the
standard i/o of your kit. Click next.
Base system builder will now generate the address of each peripheral you have
selected. Click generate to build the project.
You will find the following display representing your system and path where it is
located. click FINISH to finalize your design.
-4-
Department of Electronics & Communication – S V N I T Microblaze-Starter Guide
1) After creating new project you will find the following XPS view :
-5-
Department of Electronics & Communication – S V N I T Microblaze-Starter Guide
3) Set Compiler option Debug and Option No Optimization ( If you have loops in your
design than it is advisable to choose this option)
4) Right click on Source in my_application add existing source. Add your source *.c file which has
to be stored in folder “pcore” automatically generated by system.
-6-
Department of Electronics & Communication – S V N I T Microblaze-Starter Guide
-7-
Department of Electronics & Communication – S V N I T Microblaze-Starter Guide
4) Select “Fast Simplex Link” click next Select input and output number of interface to
coprocessor. click next.
-8-
Department of Electronics & Communication – S V N I T Microblaze-Starter Guide
8) Select name of your top level entity or module name as shown below :click next.
-9-
Department of Electronics & Communication – S V N I T Microblaze-Starter Guide
10) Select your HDL file from folder pcore : click next.
11) Your HDL code is compiled at this stage. If there is any error occur it will show you massage in
log file. Otherwise following window will appear select both FSL link click next.
- 10 -
Department of Electronics & Communication – S V N I T Microblaze-Starter Guide
13) Open “ Hardware” Configure Coprocessor : Select your Coprocessor click Add.
14) Find the new FSL interface connected with Microblaze as shown below :
- 11 -