Main Page | Report this Page
Computers Forum Index  »  Computer Architecture - FPGA  »  External IO Port without using Xilinx's GPIO IP...
Page 1 of 1    

External IO Port without using Xilinx's GPIO IP...

Author Message
hvo...
Posted: Wed Oct 21, 2009 12:16 am
Guest
Hi,

I am trying to connect an IO signal from my microblaze to the external
top-level vhdl code without using xilinx GPIO IP. My question is, couldn't
I make a port definition in the MHS file and connect to it? for example,

PORT Test_IO = Test_IO, DIR = I // an external port not defined by gpio
ip

and then on my top-level VHDL I would connect to it in the port map by

Test_IO => somesignal,

My second question is how can I read the signal value in microblaze. With
xilinx's GPIO, I could read base address to get the value. But now there's
no base address associated with Test_IO.

Best Regards

HV

---------------------------------------
This message was sent using the comp.arch.fpga web interface on
http://www.FPGARelated.com
 
Antti...
Posted: Wed Oct 21, 2009 1:13 am
Guest
On Oct 20, 11:16 pm, "hvo" <hai... at (no spam) synrad.com> wrote:
Quote:
Hi,

I am trying to connect an IO signal from my microblaze to the external
top-level vhdl code without using xilinx GPIO IP.  My question is, couldn't
I make a port definition in the MHS file and connect to it? for example,

PORT Test_IO = Test_IO, DIR = I     // an external port not defined by gpio
ip

and then on my top-level VHDL I would connect to it in the port map by

Test_IO  => somesignal,

My second question is how can I read the signal value in microblaze.  With
xilinx's GPIO, I could read base address to get the value.  But now there's
no base address associated with Test_IO.

Best Regards

HV        


and your port ist not connected to any microblaze busses, has no
address space
and can not be accessed by the software at all

Antti
 
MM...
Posted: Wed Oct 21, 2009 7:38 pm
Guest
The way I handle this sort of problem in my PPC designs is I have a very
simple custom peripheral, which simply exposes a DCR bus to the top-level
code.

/Mikhail



"hvo" <hai.vo at (no spam) synrad.com> wrote in message
news:fPWdncDZd9QIh0PXnZ2dnUVZ_sWdnZ2d at (no spam) giganews.com...
Quote:
Hi,

I am trying to connect an IO signal from my microblaze to the external
top-level vhdl code without using xilinx GPIO IP. My question is,
couldn't
I make a port definition in the MHS file and connect to it? for example,

PORT Test_IO = Test_IO, DIR = I // an external port not defined by
gpio
ip

and then on my top-level VHDL I would connect to it in the port map by

Test_IO => somesignal,

My second question is how can I read the signal value in microblaze. With
xilinx's GPIO, I could read base address to get the value. But now
there's
no base address associated with Test_IO.

Best Regards

HV

---------------------------------------
This message was sent using the comp.arch.fpga web interface on
http://www.FPGARelated.com
 
hvo...
Posted: Thu Oct 22, 2009 11:14 pm
Guest
Thanks for your comments.

I guess I don't like Xilinx's GPIO IP very much because they take up a lot
of slices to implement (as far as GPIO goes). My application requires a
few GPIO IPs along with other IPs, and I find that Im running out of room
on my Spartan 3AN device.

Im new at this, so im sure theres ways around it. But for a newbee like me,
I wish there were simple GPIO IPs that doesn't take a lot of logic to
implement.

I guess this is where custom IP comes in handy.

Best Regards


---------------------------------------
This message was sent using the comp.arch.fpga web interface on
http://www.FPGARelated.com
 
 
Page 1 of 1    
All times are GMT
The time now is Tue Dec 15, 2009 10:32 am