Search found 8 matches

by maurice
November 17th, 2013, 7:19 pm
Forum: Project Ideas
Topic: Microblaze on Mojo?
Replies: 18
Views: 15942

Re: Microblaze on Mojo?

I got it working in both directions and made a new module bitrate_converter to save cluttering up the top level module. The code for it is below. Its tricky to keep the inputs and outputs sorted because there are so many receivers and transmitters. module bitrate_converter( input clk, input rst, inp...
by maurice
November 15th, 2013, 11:39 am
Forum: Project Ideas
Topic: Microblaze on Mojo?
Replies: 18
Views: 15942

Re: Microblaze on Mojo?

Sure. Here is my top level module, which includes the tiny serial baud rate converter state machine. I'm just using the existing avr serial interface module again but changing the baud rate. Excuse my messy code. It contains remnants of several experiments. module mojo_top( input clk, input rst_n, i...
by maurice
November 14th, 2013, 3:21 pm
Forum: Project Ideas
Topic: Microblaze on Mojo?
Replies: 18
Views: 15942

Re: Microblaze on Mojo?

I took your advice Justin and added a "serial converter" that took the data from the MB and sent it on to the avr interface. It works. I simpy instantiated another serial rx module and added a little state machine to transfer the data when its ready. Now the standard MB serial output (at 9600 bd at ...
by maurice
November 12th, 2013, 6:44 pm
Forum: Project Ideas
Topic: Microblaze on Mojo?
Replies: 18
Views: 15942

Re: Microblaze on Mojo?

Hi Justin. I'm glad that you are adding a tutorial on adding the Microblaze core. That will make the Mojo board a lot more useful for large scale experimenting. To get around the avr baud rate problem I connected the Microblaze uart directly to the external pins. Then connected a bluetooth serial po...
by maurice
November 11th, 2013, 12:01 pm
Forum: Project Ideas
Topic: Microblaze on Mojo?
Replies: 18
Views: 15942

Re: Microblaze on Mojo?

It seems to me that the avr baud rate is fixed at 500000 bd. And the Microblaze standard uart doesnt work at that non standard rate with a 50MHz clock. I tried instantiating a Microblaze uart with programmable baud rate and trying different rates near 500K but I'm still getting garbage characters ou...
by maurice
November 10th, 2013, 5:30 pm
Forum: Project Ideas
Topic: Microblaze on Mojo?
Replies: 18
Views: 15942

Re: Microblaze on Mojo?

I made a little progress on this experiment. I found that the promgen tool can convert a .bit file to a .bin file for the Mojo loader. My command (in the TCL console) was: promgen -u 0 mojo_top.bit -b -p bin -w I added some code to write to the GPIO output and it works, so my Microblaze program is l...
by maurice
November 7th, 2013, 10:21 am
Forum: Project Ideas
Topic: Microblaze on Mojo?
Replies: 18
Views: 15942

Microblaze on Mojo?

After having some success getting the Picoblaze core running on Mojo, I decided to try for the next level - Microblaze. That CPU is much more powerful, has gnu compilers, etc and should be a good base for many experiments. I found that Jim Duckworth's step by step guide http://ece.wpi.edu/~rjduck/Mi...
by maurice
November 2nd, 2013, 12:19 pm
Forum: Project Ideas
Topic: Picoblaze on Mojo
Replies: 0
Views: 2493

Picoblaze on Mojo

Like others I looked at getting Zpuino to work on Mojo, as it does on the Papilio board. The main stumbling block seems to be that on Mojo the AVR manages the SPI flash , so its not directly accessible from the fpga. At least not without a little hardware modification or changing the AVR firmware. S...