cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
chapman
Xilinx Employee
Xilinx Employee
18,443 Views
Registered: ‎09-05-2007

PicoBlaze FAQ – Are there any reference designs?

PicoBlaze FAQ – Are there any reference designs?

 

The PicoBlaze download ZIP file for KCPSM3 contains two reference designs:-

 

‘kcpsm3_int_test’ is a simple example used to illustrate how interrupt works and corresponds to the description contained in ‘KCPSM3_Manual.pdf’ pages 58-61.

 

‘UART_real_time_clock.pdf’ and associated file is the main reference design which illustrates KCPSM3 and the UART macros being used in a design you can experiment with. Sections of the hardware and software coding are described in detail and much of this code can be used as the starting point for your own designs.

 

We are then fortunate to have some excellent low cost starter kits which are ideal for learning how to use PicoBlaze as well as for developing designs before you have built your own hardware. Each starter kit is similar with the principle difference being the feature device of the Spartan-3 Generation. So there is the Spartan-3E Starter Kit, the Spartan-3A Starter Kit and the Spartan-3AN Starter Kit......

 

http://www.xilinx.com/s3estarter
http://www.xilinx.com/s3estarter

http://www.xilinx.com/s3estarter

 

Associated with each board are reference designs which you can download. Many of the designs for the 3E and 3A boards utilise PicoBlaze and can be accessed via links from the above web sites or directly using the following…..

 

http://www.xilinx.com/products/boards/s3estarter/reference_designs.htm
http://www.xilinx.com/products/boards/s3astarter/reference_designs.htm

 

Each PicoBlaze design is described in detail and the VHDL and PSM files contain comprehensive comments in order that the code is easier to understand and potentially use in your own designs.

 

The PicoBlaze download ZIP file for KCPSM6 contains design templates and a simple reference design using the UART macros. Please see the 'UART' directory and read the descriptions in 'UART6_User_Guide_8July11.pdf' and the source code provided.

 

I do hope all these reference design will enable you to be productive quickly. Please allow me to suggest that if you have never used PicoBlaze before then do start with something very simple; making an LED flash is always a rewarding experience when you know you did it all by yourself.

 

Regards,

 

Ken Chapman

Ken Chapman
Principal Engineer, Xilinx UK
3 Replies
vaibhavm
Visitor
Visitor
10,378 Views
Registered: ‎01-30-2011

Hi Ken ,

 

I am trying UART aplication using KCPSM6 using version 13.1 . But it giving error "ERROR:HDLCompiler:806 - "D:\Project\test\uart_control.vhd" Line 330: Syntax error near ""{INIT_00}"".. Error related to VHDL Protected Types . As per Answer record i tried with newer version i.e. 14.x , but same problem. Plz help me to rsolve this error.Plz find archive project .

 

thanks

vaibhav

0 Kudos
chapman
Xilinx Employee
Xilinx Employee
10,372 Views
Registered: ‎09-05-2007

In this design, ‘uart_control.vhd’ is supposed to be the definition of the PicoBlaze program memory, and as such, it should be a file generated by the KCPSM6 assembler. However, what you have provided in ‘test.zip’ appears to be a direct copy of the ‘ROM_form.vhd’ template which is definitely not the correct way to prepare this file.

 

Please refer to the KCPSM6 User Guide (KCPSM6_User_Guide_30April12.pdf) to see how the assembler should be used to generate the program memory definition file. In particular please see pages 11 and 14.

Ken Chapman
Principal Engineer, Xilinx UK
0 Kudos
cfauck
Visitor
Visitor
6,684 Views
Registered: ‎10-01-2009

Hi Ken,

 

there are additional reference designs on http://www.fautronix.com/fidex-downloads . For example a design who illustrates how to extend the PicoBlaze with an interrupt register and page support.

 

-Christoph

0 Kudos