??? 04/20/07 18:41 Read: times |
#137666 - ModelSim, PicoBlaze, MicroBlaze Responding to: ???'s previous message |
Mahmood Elnasser said:
1. I just downloaded the evaluation version of modelsim to practice some test benches on it. Is this version as good as the full version? do you know of any limitations? There are some "professional" features missing (various code coverage tools, and things you've never heard about). The "free" ModelSim XE is slower than paid-for PE and SEE, and will slow down further if the number of lines of code exceeds some magic number. (I've exceeded that magic number doing a backannotated timing sim with VITAL models. It was unusable. The good news is that you rarely need to run a timing sim.) 2. I was reading about picoblaze microcontroller core from xilinx. It is very bad microcontroller compared to real 8052, dspic etc in terms of programming instructions. If you'd further read about it, you'd realize that it was never intended to replace an 8051 or a PIC. Its design criteria were: small (use very few resources) and simple instruction set with constant timing. To that end, it succeeds -- I have PicoBlazes running in two designs right now. It's called a "processor" but it's really a programmable state machine. I use the PicoBlazes for things where a traditional state machine just gets real ugly. My question is isn't it better to use external microcontroller and program it with decent instruction sets or C language and interface it to normal FPGA or CPLD to get the best of both worlds. I know if you do it inside the fpga you save on pcb space and achieve higher operating speed due to short busses inside the fpga but is the hassle of programming the core with lousy instruction set worth it? As in all things: it depends. If you need the extra features of many microcontrollers, then you use the micro. In some cases, a microcontroller may be overkill. In other cases, an external microcontroller isn't embedded deep enough with the rest of the FPGA fabric and you need clock-to-clock turnaround. In other cases, the microcontroller is the only way to go, especially if you need the timer resources, the interrupts, some comparators, DACs, ADCs and other features. Pick the right tool for the job. Don't just shove an 8051 in there because you're comfortable with it. 3. I'm going to build my first CPLD board next monday to control HD44780 LCD. Hope the XC9572XL I have will have enuf resources to do the job otherwise I have to think about another project. Ah, but think about how you'll get data TO the CPLD so it has something interesting to display ... -a |