03-19-2008 09:18 AM
03-25-2008 09:26 AM
If you have really read all the documentation and tried and looked at the examples you have said that you have then I’m really not sure how to help you because that is how the vast majority of people do successfully get started very quickly with PicoBlaze. I can only assume that something specific has confused you and you just can not see the obvious for a while.
Did you also look at ‘KCPSM3_Manual.pdf’ which was supplied in the PicoBlaze (KCPSM3) ZIP file? Although this says mainly the same as the other documents, the different style may help you.
Also ‘UART_real_time_clock.pdf’ supplied in the ZIP file is a more step by step description of using PicoBlaze in a simple VHDL design and that again may be what you are looking for.
Do please come back and let us know what specific things confused you as that will be helpful for the next PicoBlaze novice.
04-16-2008 11:29 PM
04-17-2008 01:47 AM
04-21-2008 03:10 AM
Yes you need to create a UCF file manually or using the Constraints Editor or Floorplanner in the ISE tools.
In asking this question I don’t think you have quite grasped the concept of PicoBlaze. PicoBlaze is a 100% embedded processor macro meaning that in the vast majority of cases it only connects directly to the resources inside the FPGA. The UCF file defines the pin constraints on the physical device which is somewhat isolated from PicoBlaze itself. As an example, PicoBlaze may connect internally to a UART macro and then only the serial input and output signals of the UART macro will connect to the physical pins on the device package. So KCSPM3 is only dealing with the connection between the PicoBlaze processor and the UART (to match your hardware design) and the UCF file is dealing with the connection of your hardware design to the physical package pins.
I recommend that you study the reference designs for the Spartan-3 Starter Kits to see multiple examples of designs containing PicoBlaze.
08-25-2008 02:37 AM
I'm a sophomore in China.This summer holiday,my teacher show me the Spartan3E Starter Kit Board.It's complete unfamiliar to me.Now I have learned very roughly how to design through the study of these days,and I can design some simple program of vhdl and constraint pins through edit ucf file, then download to the board.But, please excuse a novice ask a fool question,Picoblaze is a processor embeded in FPGA,and if I want to use the processor,so I have to grasp the language of Picoblaze and use the language to program and control the Picoblaze?
A further question,I change the LCD display charactor code in the "control.psm" file which in "s3esk_startup.zip",the "control.vhdl file" which the assembler of KCPSM3 generated is not same as the "control.vhdl file" in "s3esk_startup.zip".I can't comprehension the meaning of the code.Does the assembler only generate the ROM data?So we need add the other functional modules?And what modules should we add?Are there some manuals and where introduce?I hope a novice could accept...
Thanks for answers!
08-25-2008 06:57 PM
I recently got a book titled "FPGA Prototyping by VHDL Examples" by Chu. It uses the hands-on approach and includes many practical examples. Four chapters are dedicated to PicoBlaze, covering both assembly coding and custom hardware I/O interface. You can find more detail in amazon.com or the author's web. I believe a Verilog version is also available.
Hope this helps.
12-29-2009 09:23 AM
I have a question to. The .psm file has to be created under dos? Or I better say how can I create the .psm file. please help me :D
You can use any text editor you like to create the source. I use the pBlazeIDE or emacs, but any editor will work.