Simple ISE Microblaze with GPIO and custom logic example?

D

Dave

Guest
Does anyone have a simple example of how to build a Microblaze
application starting with the ISE that includes a GPIO port connected
to custom logic?

What I'm looking for is something like maybe an 8-bit GPIO input port
with an interrupt connected to a custom decoder internal to the FPGA.
In addition, maybe an 8-bit GPIO output port connected to custom
logic. So it would be something like this:

outside world --> FPGA pins --> custom decoder --> GPIO port --> OPB --
Microblaze
|--> GPIO port --> interrupt controller --> Microblaze

and

outside world <-- FPGA pin <-- custom logic <-- GPIO port <-- OPB <--
Microblaze

Thanks
 
Does anyone have a simple example of how to build a Microblaze
application starting with the ISE that includes a GPIO port connected
to custom logic?

What I'm looking for is something like maybe an 8-bit GPIO input port
with an interrupt connected to a custom decoder internal to the FPGA.
In addition, maybe an 8-bit GPIO output port connected to custom
logic. So it would be something like this:

outside world --> FPGA pins --> custom decoder --> GPIO port --> OPB --
Microblaze

|--> GPIO port --> interrupt controller --> Microblaze

and

outside world <-- FPGA pin <-- custom logic <-- GPIO port <-- OPB <--
Microblaze

Thanks
Have you tried the EDK tutorial? You should be able to figure it out afte
doing that. Also you shouldnt really be using the OPB bus if its a ne
design.

Jon

---------------------------------------
Posted through http://www.FPGARelated.com
 
On Dec 21, 12:34 pm, Dave <starfire...@cableone.net> wrote:
Does anyone have a simple example of how to build a Microblaze
application starting with the ISE that includes a GPIO port connected
to custom logic?

What I'm looking for is something like maybe an 8-bit GPIO input port
with an interrupt connected to a custom decoder internal to the FPGA.
In addition, maybe an 8-bit GPIO output port connected to custom
logic.  So it would be something like this:

outside world --> FPGA pins --> custom decoder --> GPIO port --> OPB --

Microblaze

|--> GPIO port --> interrupt controller --> Microblaze

and

outside world <-- FPGA pin <-- custom logic <-- GPIO port <-- OPB <--
Microblaze

Thanks
There is something called a "Simple Microblaze" (XAPP1141) that is
supposed to be
easy to use like a big PicoBlaze. If you're more comfortable using
ISE and HDL
design than messing around with EDK it might be what you want. You'd
need
to make your own GPIO, but the bus connections are simpler. You also
don't
necessarily need the full-blown XPS development environment to use it,
just
ISE and the SDK (not EDK).

http://www.xilinx.com/support/documentation/application_notes/xapp1141.pdf

-- Gabor
 
On Dec 21, 3:00 pm, Gabor <ga...@alacron.com> wrote:
There is something called a "Simple Microblaze" (XAPP1141) that is
supposed to be
easy to use like a big PicoBlaze.  If you're more comfortable using
ISE and HDL
design than messing around with EDK it might be what you want.  You'd
need
to make your own GPIO, but the bus connections are simpler.  You also
don't
necessarily need the full-blown XPS development environment to use it,
just
ISE and the SDK (not EDK).

http://www.xilinx.com/support/documentation/application_notes/xapp114...

-- Gabor-
Thanks, Gabor.
 
Thanks for the tip, Gabor. I've hunted around and can't seem to find
the SMM distribution on Xilinx's site or in the ISE Webpack 12.2/EDK
(trial version) directories, at least on 12.2. Does anyone know where
this is available from?

Joel
 
I don't think they have anything specific for 12.2, but the app note
and design files are available at:http://www.xilinx.com/support/documentation/anembedprocess.htm
Perfect! Thanks very much.

Joel
 
On Dec 22, 4:45 pm, Joel <whydontyoublogabou...@gmail.com> wrote:
Thanks for the tip, Gabor. I've hunted around and can't seem to find
the SMM distribution on Xilinx's site or in the ISE Webpack 12.2/EDK
(trial version) directories, at least on 12.2. Does anyone know where
this is available from?
I don't think they have anything specific for 12.2, but the app note
and design files are available at:
http://www.xilinx.com/support/documentation/anembedprocess.htm
 

Welcome to EDABoard.com

Sponsor

Back
Top