PC Review


Reply
Thread Tools Rate Thread

AGP SBA question

 
 
pigdos
Guest
Posts: n/a
 
      14th Nov 2006
I've been looking over the AGP 3.0 spec. and noticed there appear to be 8
pins dedicated to SBA and that SBA is a one way bus (from vid card to AGP
port). This is about all I was able to get out of the documentation though.

Is SBA merely the method by which a video card xfers addresses in the AGP
aperture range for which it will read/write? Are these addresses 32-bits in
length? If they are 32-bits how do the 8 SBA pins xfer these 32-bits? Is it
some sort of DDR scheme?

--
Doug


 
Reply With Quote
 
 
 
 
George Macdonald
Guest
Posts: n/a
 
      15th Nov 2006
On Tue, 14 Nov 2006 18:39:27 GMT, "pigdos" <(E-Mail Removed)> wrote:

>I've been looking over the AGP 3.0 spec. and noticed there appear to be 8
>pins dedicated to SBA and that SBA is a one way bus (from vid card to AGP
>port). This is about all I was able to get out of the documentation though.


It's one-way because address requests to main memory only go in the one
direction, from the AGP device to the chipset.

>Is SBA merely the method by which a video card xfers addresses in the AGP
>aperture range for which it will read/write? Are these addresses 32-bits in
>length? If they are 32-bits how do the 8 SBA pins xfer these 32-bits? Is it
>some sort of DDR scheme?


SBA == Side Band Addressing. Note that AGP 3.0 dropped pipelined
addressing on the multiplexed Address/Data Bus. The AGP address
transactions are not just 32-bit addresses - since an AGP data transfer is
8 bytes min-length/aligned, the bottom 3 bits are used for transaction
length info. There's also command info which is transferred on the four
C/BE pins for the non-SBA multiplexed transactions on the Address/Data Bus.

When SBA is used, the C/BE pins are not used for the 4-bit command request
code which is folded into the SBA transaction request, which can handle a
36-bit memory address and also includes the length info and the SBA command
"type code", so that a full SBA transaction can be up to 48-bits in length
and require six SBA bus transfers... *BUT* there are also sticky bits for
addresses, which are held in the target (chipset) from a previous
transaction, so that if an address differs only in the bottom 15 bits from
that of the previous transaction, only 2 bus transfers are required.

There is also an optional extended mode SBA command type which allows for
48-bit memory addresses but I guess that's become kinda academic now with
PCI-E taking over.

The SBA Bus runs at the same 8x speed as the data bus, i.e. clocked at 4x
the base clock plus DDR.

The AGP 2.0 docs cover some of this better than the AGP 3.0, which is
written, in some places, as a comparison with the previous spec.

--
Rgds, George Macdonald
 
Reply With Quote
 
pigdos
Guest
Posts: n/a
 
      21st Nov 2006
Thanks George, interesting stuff, even if it is dead. Are there similar
mechanisms by which PCIe video cards can directly access system memory?

--
Doug
"George Macdonald" <fammacd=!SPAM^(E-Mail Removed)> wrote in message
news(E-Mail Removed)...
>
> SBA == Side Band Addressing. Note that AGP 3.0 dropped pipelined
> addressing on the multiplexed Address/Data Bus. The AGP address
> transactions are not just 32-bit addresses - since an AGP data transfer is
> 8 bytes min-length/aligned, the bottom 3 bits are used for transaction
> length info. There's also command info which is transferred on the four
> C/BE pins for the non-SBA multiplexed transactions on the Address/Data
> Bus.
>
> When SBA is used, the C/BE pins are not used for the 4-bit command request
> code which is folded into the SBA transaction request, which can handle a
> 36-bit memory address and also includes the length info and the SBA
> command
> "type code", so that a full SBA transaction can be up to 48-bits in length
> and require six SBA bus transfers... *BUT* there are also sticky bits for
> addresses, which are held in the target (chipset) from a previous
> transaction, so that if an address differs only in the bottom 15 bits from
> that of the previous transaction, only 2 bus transfers are required.
>
> There is also an optional extended mode SBA command type which allows for
> 48-bit memory addresses but I guess that's become kinda academic now with
> PCI-E taking over.
>
> The SBA Bus runs at the same 8x speed as the data bus, i.e. clocked at 4x
> the base clock plus DDR.
>
> The AGP 2.0 docs cover some of this better than the AGP 3.0, which is
> written, in some places, as a comparison with the previous spec.
>
> --
> Rgds, George Macdonald
>



 
Reply With Quote
 
George Macdonald
Guest
Posts: n/a
 
      21st Nov 2006
On Tue, 21 Nov 2006 02:09:01 GMT, "pigdos" <(E-Mail Removed)> wrote:

>Thanks George, interesting stuff, even if it is dead. Are there similar
>mechanisms by which PCIe video cards can directly access system memory?


Though I don't have access to PCI-e specs, I have to assume it uses sticky
bits - a way to get a packetized or semi-packetized narrow bus like AGP/SBA
to work more efficiently. AIUI, the big difference with PCI-e is that all
addresses which come out of the video card are hardware addresses - IOW
GART translation is built into the video chip circuitry.

>Doug
>"George Macdonald" <fammacd=!SPAM^(E-Mail Removed)> wrote in message
>news(E-Mail Removed)...
>>
>> SBA == Side Band Addressing. Note that AGP 3.0 dropped pipelined
>> addressing on the multiplexed Address/Data Bus. The AGP address
>> transactions are not just 32-bit addresses - since an AGP data transfer is
>> 8 bytes min-length/aligned, the bottom 3 bits are used for transaction
>> length info. There's also command info which is transferred on the four
>> C/BE pins for the non-SBA multiplexed transactions on the Address/Data
>> Bus.
>>
>> When SBA is used, the C/BE pins are not used for the 4-bit command request
>> code which is folded into the SBA transaction request, which can handle a
>> 36-bit memory address and also includes the length info and the SBA
>> command
>> "type code", so that a full SBA transaction can be up to 48-bits in length
>> and require six SBA bus transfers... *BUT* there are also sticky bits for
>> addresses, which are held in the target (chipset) from a previous
>> transaction, so that if an address differs only in the bottom 15 bits from
>> that of the previous transaction, only 2 bus transfers are required.
>>
>> There is also an optional extended mode SBA command type which allows for
>> 48-bit memory addresses but I guess that's become kinda academic now with
>> PCI-E taking over.
>>
>> The SBA Bus runs at the same 8x speed as the data bus, i.e. clocked at 4x
>> the base clock plus DDR.
>>
>> The AGP 2.0 docs cover some of this better than the AGP 3.0, which is
>> written, in some places, as a comparison with the previous spec.
>>
>> --
>> Rgds, George Macdonald
>>

>


--
Rgds, George Macdonald
 
Reply With Quote
 
pigdos
Guest
Posts: n/a
 
      22nd Nov 2006
George, since the minimum AGP data xfer is 8 bytes and always aligned on 8
bytes, wouldn't the 6 LSb's be unused for address information?

--
Doug
"George Macdonald" <fammacd=!SPAM^(E-Mail Removed)> wrote in message
news(E-Mail Removed)...
> On Tue, 14 Nov 2006 18:39:27 GMT, "pigdos" <(E-Mail Removed)> wrote:
>
>
> SBA == Side Band Addressing. Note that AGP 3.0 dropped pipelined
> addressing on the multiplexed Address/Data Bus. The AGP address
> transactions are not just 32-bit addresses - since an AGP data transfer is
> 8 bytes min-length/aligned, the bottom 3 bits are used for transaction
> length info. There's also command info which is transferred on the four
> C/BE pins for the non-SBA multiplexed transactions on the Address/Data
> Bus.
>
> --
> Rgds, George Macdonald
>



 
Reply With Quote
 
George Macdonald
Guest
Posts: n/a
 
      23rd Nov 2006
On Wed, 22 Nov 2006 19:04:19 GMT, "pigdos" <(E-Mail Removed)> wrote:

>George, since the minimum AGP data xfer is 8 bytes and always aligned on 8
>bytes, wouldn't the 6 LSb's be unused for address information?


Here's a exercise for you: Find the next number in the series: 110, 20, 12,
11, 10, ?

;-)

>"George Macdonald" <fammacd=!SPAM^(E-Mail Removed)> wrote in message
>news(E-Mail Removed)...
>> On Tue, 14 Nov 2006 18:39:27 GMT, "pigdos" <(E-Mail Removed)> wrote:
>>
>>
>> SBA == Side Band Addressing. Note that AGP 3.0 dropped pipelined
>> addressing on the multiplexed Address/Data Bus. The AGP address
>> transactions are not just 32-bit addresses - since an AGP data transfer is
>> 8 bytes min-length/aligned, the bottom 3 bits are used for transaction
>> length info. There's also command info which is transferred on the four
>> C/BE pins for the non-SBA multiplexed transactions on the Address/Data
>> Bus.


--
Rgds, George Macdonald
 
Reply With Quote
 
pigdos
Guest
Posts: n/a
 
      25th Nov 2006
I understand part of this, three bits can encode 8 possible addresses, so
we're only interested in address bits 3 and greater?

Your exercise has me stumped.

--
Doug
"George Macdonald" <fammacd=!SPAM^(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> On Wed, 22 Nov 2006 19:04:19 GMT, "pigdos" <(E-Mail Removed)> wrote:
>
>>George, since the minimum AGP data xfer is 8 bytes and always aligned on 8
>>bytes, wouldn't the 6 LSb's be unused for address information?

>
> Here's a exercise for you: Find the next number in the series: 110, 20,
> 12,
> 11, 10, ?
>
> ;-)
>
>>"George Macdonald" <fammacd=!SPAM^(E-Mail Removed)> wrote in message
>>news(E-Mail Removed)...
>>> On Tue, 14 Nov 2006 18:39:27 GMT, "pigdos" <(E-Mail Removed)> wrote:
>>>
>>>
>>> SBA == Side Band Addressing. Note that AGP 3.0 dropped pipelined
>>> addressing on the multiplexed Address/Data Bus. The AGP address
>>> transactions are not just 32-bit addresses - since an AGP data transfer
>>> is
>>> 8 bytes min-length/aligned, the bottom 3 bits are used for transaction
>>> length info. There's also command info which is transferred on the four
>>> C/BE pins for the non-SBA multiplexed transactions on the Address/Data
>>> Bus.

>
> --
> Rgds, George Macdonald
>



 
Reply With Quote
 
krw
Guest
Posts: n/a
 
      25th Nov 2006
In article <3QL9h.9582$(E-Mail Removed)>,
(E-Mail Removed) says...
> I understand part of this, three bits can encode 8 possible addresses, so
> we're only interested in address bits 3 and greater?
>
> Your exercise has me stumped.


George wrote a couple of posts above:
"Since an AGP data transfer is 8 bytes min-length/aligned"

I'd add that so are all memory transfers (8-byte aligned, now 16)
on P5 and later systems.

--
Keith
 
Reply With Quote
 
George Macdonald
Guest
Posts: n/a
 
      25th Nov 2006
On Sat, 25 Nov 2006 00:08:31 GMT, "pigdos" <(E-Mail Removed)> wrote:

>I understand part of this, three bits can encode 8 possible addresses, so
>we're only interested in address bits 3 and greater?


Right.

>Your exercise has me stumped.


It's a good one.;-) Let's see who finds the answer... if anybody else is
reading this.

--
Rgds, George Macdonald
 
Reply With Quote
 
The little lost angel
Guest
Posts: n/a
 
      26th Nov 2006
22On Wed, 22 Nov 2006 21:12:54 -0500, George Macdona
<fammacd=!SPAM^(E-Mail Removed)> wrote:

>Here's a exercise for you: Find the next number in the series: 110, 20, 12,
>11, 10, ?
>
>;-)


Hmm, 20 and 2?

--
A Lost Angel, fallen from heaven
Lost in dreams, Lost in aspirations,
Lost to the world, Lost to myself
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Perhaps and off topic question....but could use some help with video question.....I don't need codec help, just a general question. Bret Miller DIY PC 0 13th Oct 2006 12:23 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:26 AM.