FPGA Central - World's 1st FPGA / CPLD Portal

FPGA Central

World's 1st FPGA Portal

 

Go Back   FPGA Groups > NewsGroup > FPGA

FPGA comp.arch.fpga newsgroup (usenet)

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-18-2007, 08:33 AM
aravind
Guest
 
Posts: n/a
Default Tristate bus on spartan FPGA

Hi, im implementing a 16bit bus along the lines of AMBA APB for some
of my peripherals like IDE ATA controller, LCD dsplay controller, ftdi
usb interface etc. But i found that xilinx spartan devices have no
internal tristate buffers.
I have a dozen or more peripherals to connect. Any idea of how i can
implement this?

thanks,
aravind

Reply With Quote
  #2 (permalink)  
Old 09-18-2007, 10:06 AM
RCIngham
Guest
 
Posts: n/a
Default Re: Tristate bus on spartan FPGA

>Hi, im implementing a 16bit bus along the lines of AMBA APB for some
>of my peripherals like IDE ATA controller, LCD dsplay controller, ftdi
>usb interface etc. But i found that xilinx spartan devices have no
>internal tristate buffers.
>I have a dozen or more peripherals to connect. Any idea of how i can
>implement this?
>
>thanks,
>aravind


Use multiplexers. Internal tristate buses are deprecated in ASIC designs
and - most wisely, IMHO - not possible in FPGA designs.

Reply With Quote
  #3 (permalink)  
Old 09-18-2007, 10:46 AM
Maki
Guest
 
Posts: n/a
Default Re: Tristate bus on spartan FPGA


RCIngham wrote:
> >Hi, im implementing a 16bit bus along the lines of AMBA APB for some
> >of my peripherals like IDE ATA controller, LCD dsplay controller, ftdi
> >usb interface etc. But i found that xilinx spartan devices have no
> >internal tristate buffers.
> >I have a dozen or more peripherals to connect. Any idea of how i can
> >implement this?
> >
> >thanks,
> >aravind

>
> Use multiplexers. Internal tristate buses are deprecated in ASIC designs,
> and - most wisely, IMHO - not possible in FPGA designs.


Possible - Yes. But big and slow therefore depreciated.
You can code tristate buses and most tolls will emulate them with
multiplexers.

Regards,
Maki

Reply With Quote
  #4 (permalink)  
Old 09-18-2007, 02:00 PM
Amontec, Larry
Guest
 
Posts: n/a
Default Re: Tristate bus on spartan FPGA

Maki,

If you are thinking CODE REUSE, write using MUX !

The new devices from Xilinx and other vendors do not include the long
Tri-state lines -> So write using MUX !

Laurent
www.amontec.com

wrote:
> RCIngham wrote:
>
>>>Hi, im implementing a 16bit bus along the lines of AMBA APB for some
>>>of my peripherals like IDE ATA controller, LCD dsplay controller, ftdi
>>>usb interface etc. But i found that xilinx spartan devices have no
>>>internal tristate buffers.
>>>I have a dozen or more peripherals to connect. Any idea of how i can
>>>implement this?
>>>
>>>thanks,
>>>aravind

>>
>>Use multiplexers. Internal tristate buses are deprecated in ASIC designs,
>>and - most wisely, IMHO - not possible in FPGA designs.

>
>
> Possible - Yes. But big and slow therefore depreciated.
> You can code tristate buses and most tolls will emulate them with
> multiplexers.
>
> Regards,
> Maki
>

Reply With Quote
  #5 (permalink)  
Old 09-18-2007, 02:31 PM
Jon Beniston
Guest
 
Posts: n/a
Default Re: Tristate bus on spartan FPGA

On 18 Sep, 07:33, aravind <aramos...@gmail.com> wrote:
> Hi, im implementing a 16bit bus along the lines of AMBA APB for some
> of my peripherals like IDE ATA controller, LCD dsplay controller, ftdi
> usb interface etc. But i found that xilinx spartan devices have no
> internal tristate buffers.
> I have a dozen or more peripherals to connect. Any idea of how i can
> implement this?
>
> thanks,
> aravind


As the others have said, use muxes on chip. Also, doesn't AMBA APB
uses muxes anyway?

Cheers,
Jon

Reply With Quote
  #6 (permalink)  
Old 09-18-2007, 03:17 PM
Mike Lewis
Guest
 
Posts: n/a
Default Re: Tristate bus on spartan FPGA


"Jon Beniston" <[email protected]> wrote in message
news:[email protected] oups.com...
> On 18 Sep, 07:33, aravind <aramos...@gmail.com> wrote:
>> Hi, im implementing a 16bit bus along the lines of AMBA APB for some
>> of my peripherals like IDE ATA controller, LCD dsplay controller, ftdi
>> usb interface etc. But i found that xilinx spartan devices have no
>> internal tristate buffers.
>> I have a dozen or more peripherals to connect. Any idea of how i can
>> implement this?
>>
>> thanks,
>> aravind

>
> As the others have said, use muxes on chip. Also, doesn't AMBA APB
> uses muxes anyway?
>
> Cheers,
> Jon
>


APB uses uni-directional read and write databusses.

Mike


Reply With Quote
  #7 (permalink)  
Old 09-18-2007, 08:47 PM
Mike Treseler
Guest
 
Posts: n/a
Default Re: Tristate bus on spartan FPGA

glen herrmannsfeldt wrote:

> I thought the tools would synthesize the appropriate MUX given
> tristate buffer logic. They probably do that better than
> explicitly programmed MUX logic.


I would expect the same utilization for either description.
The question is which description is easier for
the designer to write and test.
That of course, depends on the designer.

-- Mike Treseler
Reply With Quote
  #8 (permalink)  
Old 09-18-2007, 08:53 PM
glen herrmannsfeldt
Guest
 
Posts: n/a
Default Re: Tristate bus on spartan FPGA

Amontec, Larry wrote:

> If you are thinking CODE REUSE, write using MUX !


> The new devices from Xilinx and other vendors do not include the long
> Tri-state lines -> So write using MUX !


I thought the tools would synthesize the appropriate MUX given
tristate buffer logic. They probably do that better than
explicitly programmed MUX logic.

-- glen

Reply With Quote
  #9 (permalink)  
Old 09-18-2007, 11:33 PM
glen herrmannsfeldt
Guest
 
Posts: n/a
Default Re: Tristate bus on spartan FPGA

Mike Treseler wrote:

(I wrote)

>>I thought the tools would synthesize the appropriate MUX given
>>tristate buffer logic. They probably do that better than
>>explicitly programmed MUX logic.


> I would expect the same utilization for either description.
> The question is which description is easier for
> the designer to write and test.
> That of course, depends on the designer.


Someone from Xilinx posted a method that uses the FF's in the
FPGA to do this. I presume that only works if the output is
registered, but it does seem to be an interesting solution.
I doubt it will generate that from explicit MUX logic, though.

Also, the cases with more than one selected at the same time
should be "don't care" states, which MUX logic might not
take into consideration.

-- glen

Reply With Quote
  #10 (permalink)  
Old 09-19-2007, 04:46 AM
aravind
Guest
 
Posts: n/a
Default Re: Tristate bus on spartan FPGA

On Sep 18, 5:31 pm, Jon Beniston <j...@beniston.com> wrote:
> On 18 Sep, 07:33, aravind <aramos...@gmail.com> wrote:
>
> > Hi, im implementing a 16bit bus along the lines of AMBA APB for some
> > of my peripherals like IDE ATA controller, LCD dsplay controller, ftdi
> > usb interface etc. But i found that xilinx spartan devices have no
> > internal tristate buffers.
> > I have a dozen or more peripherals to connect. Any idea of how i can
> > implement this?

>
> > thanks,
> > aravind

>
> As the others have said, use muxes on chip. Also, doesn't AMBA APB
> uses muxes anyway?
>
> Cheers,
> Jon


True, AMBA 2.0 suggests we could use separate read and write data
buses. There shouldn't be a problem for write data bus. but for Read ,
multiple peripherals will be driving the PRDATA signals of AMBA APB
controller. Anyway multiplexing seems to be the only way to implement
it. Just wondering, What approach do ASICs, Processors etc use these
days when a tristate bus is ruled out?

Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Spartan 3 clock to output tristate timing rickman FPGA 8 07-28-2006 12:11 PM
Spartan 3 - Internal busses & tristate ? Sylvain Munaut FPGA 3 10-23-2004 05:12 AM
Tristate Urban Stadler FPGA 3 10-14-2004 10:44 PM
does V2p support tristate Matthew E Rosenthal FPGA 1 04-02-2004 12:50 AM


All times are GMT +1. The time now is 04:08 AM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Copyright 2008 @ FPGA Central. All rights reserved