Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* QBus Question: C/D slots
@ 1995-08-15  4:00 Robert Smith
  1995-08-16  4:00 ` Stephen Hoffman
  0 siblings, 1 reply; 5+ messages in thread
From: Robert Smith @ 1995-08-15  4:00 UTC (permalink / raw)


I may be suffering from Oldtimers (keep forgetting whether I 
read something on this or not disease) but can some kind person
please explain to me the meaning of  Q-22 C/D?

I think it means Q bus, 22 bit addressing, and C/D slots are wired
for DMA (or NPR in the days of the unibus).

For example - the microvax backplanes are listed as Q22 with the first N
slots C/D.  On a BA123 box I believe this is the first four slots.

Now I think this means that the cpu goes in one, the mem in the next two,
and I don't think I really know what goes in slot 4....

Is the BA23 backplane the same?

thanks in advance for any help in getting this thru my thick skull!

V/R
bob

<<The content of this electronic communications represents the 
views of the sender at the time of transmission and does not 
represent the views of my employer or clients. //Bob Smith>>
rmsmith@csc.com rmsmith@sed.csc.com




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: QBus Question: C/D slots
  1995-08-15  4:00 QBus Question: C/D slots Robert Smith
@ 1995-08-16  4:00 ` Stephen Hoffman
  1995-08-16  4:00   ` Ron Natalie
  0 siblings, 1 reply; 5+ messages in thread
From: Stephen Hoffman @ 1995-08-16  4:00 UTC (permalink / raw)



In article <40qmoi$l1q@explorer.csc.com>, rmsmith@csc.com (Robert Smith)
writes:

:I may be suffering from Oldtimers (keep forgetting whether I 
:read something on this or not disease) but can some kind person
:please explain to me the meaning of  Q-22 C/D?
:
:I think it means Q bus, 22 bit addressing, and C/D slots are wired
:for DMA (or NPR in the days of the unibus).
:
:For example - the microvax backplanes are listed as Q22 with the first N
:slots C/D.  On a BA123 box I believe this is the first four slots.

  BA23: 3, BA123: 4, BA2xx & BA4xx: all.

:Now I think this means that the cpu goes in one, the mem in the next two,
:and I don't think I really know what goes in slot 4....
:
:Is the BA23 backplane the same?
:
:thanks in advance for any help in getting this thru my thick skull!

  The Q22 is commonly used as an I/O bus, and the CD interconnect has
  various uses but is most commonly used as part of a CPU-to-memory
  interconnection.  As any owner of the MicroVAX I may directly or
  indirectly realize, the Q22 bus does have memory space in addition
  to I/O space, but the memory space is limited to a 4MB address space.
  The CD interconnect (with the over-the-top ribbon cables) allows
  access to rather more memory -- it's part of the memory subsystem
  on some MicroVAX and VAX 4000 processors.

  The DMA circuitry is part of the Q22 bus, and the CD interconnect is
  quite seperate from the Q22 DMA request and grant processing.

  One can place a dual-width Q22 card in a Q22/CD slot, but one cannot
  place a quad-width Q22 card into a Q22/CD.  (One can sometimes get
  around this -- don't try this one at home folks, this is a professional
  hardware hacker's trick and it can trash the board if not done right
  and it can void service contracts and warrantees -- by cutting the Q22
  DMA etch that would otherwise have been installed in the CD slot.)

  If no card is installed in an intermediate Q22 slot, one must insert
  a Q22 DMA grant card -- `holes' in the Q22 bus are bad news and can
  cause bus hangs and other errant behaviour -- into the Q22 slot.  And
  the mistaken insertion of a Q22 grant card into a CD slot has the
  potential to cause problems.  There is no CD grant card.  (Much to
  the relief of ASCAP.  :-)

  In the BA23, the first three slots are Q22/CD, and subsequent slots
  are serpentine Q22.

  BA2xx, BA4xx series:

	  6      5      4      3      2      1
	<-Q22  <-Q22  <-Q22  <-Q22  <-Q22  <-Q22

	<-CD   <-CD   <-CD   <-CD   <-CD   <-CD

   BA23 series:

	  6      5      4      3      2      1
          Q22  <-Q22    Q22  <-Q22  <-Q22  <-Q22
           |      A     |
           V      |     V
        <-Q22    Q22  <-Q22    CD   <-CD   <-CD


   BA23 series:

          6      5      4      3      2      1
	<-Q22   Q22  <-Q22  <-Q22  <-Q22  <-Q22
           A     |      
           |     V      
          Q22  <-Q22   CD   <-CD   <-CD   <-CD


  ------------------------------ Opinionative -------------------------------
   Stephen Hoffman      OpenVMS Engineering      hoffman@xdelta.enet.dec.com
  ---------------------------------------------------------------------------




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: QBus Question: C/D slots
  1995-08-16  4:00 ` Stephen Hoffman
@ 1995-08-16  4:00   ` Ron Natalie
  1995-08-17  4:00     ` Stephen Hoffman
  0 siblings, 1 reply; 5+ messages in thread
From: Ron Natalie @ 1995-08-16  4:00 UTC (permalink / raw)


Stephen Hoffman (hoffman@xdelta.enet.dec.com) wrote:

:   The Q22 is commonly used as an I/O bus, and the CD interconnect has
:   various uses but is most commonly used as part of a CPU-to-memory
:   interconnection.  As any owner of the MicroVAX I may directly or
:   indirectly realize, the Q22 bus does have memory space in addition
:   to I/O space, but the memory space is limited to a 4MB address space.
:   The CD interconnect (with the over-the-top ribbon cables) allows
:   access to rather more memory -- it's part of the memory subsystem
:   on some MicroVAX and VAX 4000 processors.

The Q-Bus, Unibus, and the entire PDP-11 and VAX architectures for that
matter don't distiguish at all between I/O and memory, as far as the
architecture is concerned, it's all memory.

:   If no card is installed in an intermediate Q22 slot, one must insert
:   a Q22 DMA grant card -- `holes' in the Q22 bus are bad news and can
:   cause bus hangs and other errant behaviour -- into the Q22 slot.  And
:   the mistaken insertion of a Q22 grant card into a CD slot has the
:   potential to cause problems.  There is no CD grant card.  (Much to
:   the relief of ASCAP.  :-)

Not just DMA (NPG), but also the interrupt mechanism (Bus Grants) that are
daisy chained through each card.

-Ron




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: QBus Question: C/D slots
  1995-08-16  4:00   ` Ron Natalie
@ 1995-08-17  4:00     ` Stephen Hoffman
  1995-08-18  4:00       ` Ron Natalie
  0 siblings, 1 reply; 5+ messages in thread
From: Stephen Hoffman @ 1995-08-17  4:00 UTC (permalink / raw)



In article <40u0ad$iql@topaz.sensor.com>, ron@topaz.sensor.com
(Ron Natalie) writes:

:Stephen Hoffman (hoffman@xdelta.enet.dec.com) wrote:
:
::   The Q22 is commonly used as an I/O bus, and the CD interconnect has
::   various uses but is most commonly used as part of a CPU-to-memory
::   interconnection.  As any owner of the MicroVAX I may directly or
::   indirectly realize, the Q22 bus does have memory space in addition
::   to I/O space, but the memory space is limited to a 4MB address space.
::   The CD interconnect (with the over-the-top ribbon cables) allows
::   access to rather more memory -- it's part of the memory subsystem
::   on some MicroVAX and VAX 4000 processors.
:
:The Q-Bus, Unibus, and the entire PDP-11 and VAX architectures for that
:matter don't distiguish at all between I/O and memory, as far as the
:architecture is concerned, it's all memory.

   Oh how I wish this were true.  :-)

   The VAX Architecture does make an effort to avoid implementation
   details, but all memory is not created equal, and the architecture
   does make various differentiations -- even the 1981 Architecture
   Handbook points out differences.  As one works at the device driver
   level, one will find that not all memory reacts in quite the same
   fashion -- one will find various differences.  (Most (all?) are
   even documented. :-)

   In the specific MicroVAX Q-bus case I was referencing, there exist
   three regions: Q-bus I/O space, Q-bus memory space, and VAX memory
   space.

   Q-bus memory space is not typically mapped into system physical or
   system virtual address space as most folks do not have Q-bus memory
   installed, but it can be done.  (The MicroVAX I was limited to the
   use of Q-bus memory space.  The MicroVAX II moved the main memory
   off the Q-bus.)  And depending on the widget(s) involved, one may
   need to do a little work with the CSR and with the page tables. 
   Obviously, one finds mostly CSRs in I/O space.

   Qbus space and VAX memory spaces are treated differently for certain
   driver-visible operations, though they are all mapped (or can all be
   mapped, depending on the particular Q-bus widgets involved) into the
   processor's system physical or virtual address space.  One salient
   example of the differences between memory and I/O: not all VAX
   instructions can be safely used in I/O space -- one can safely use
   only a subset of the available VAX instructions.  One can find the
   read and write order processing and the interlocks constrained,
   depending on the particular reference and/or the particular widget
   and/or the alignment of the reference.

   And one can also find a few (weird) I/O widgets where one issues a
   read instruction to activate or otherwise alter the contents of the
   CSR.  (One does not find this read-to-write behaviour in memory space.)
   And I'll completely ignore the I/O widgets that can (and do) reference
   the host page tables.

  ------------------------------ Opinionative -------------------------------
   Stephen Hoffman      OpenVMS Engineering      hoffman@xdelta.enet.dec.com
  ---------------------------------------------------------------------------




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: QBus Question: C/D slots
  1995-08-17  4:00     ` Stephen Hoffman
@ 1995-08-18  4:00       ` Ron Natalie
  0 siblings, 0 replies; 5+ messages in thread
From: Ron Natalie @ 1995-08-18  4:00 UTC (permalink / raw)


Stephen Hoffman (hoffman@xdelta.enet.dec.com) wrote:
:    Oh how I wish this were true.  :-)

It is true.

:    The VAX Architecture does make an effort to avoid implementation
:    details, but all memory is not created equal, and the architecture
:    does make various differentiations -- even the 1981 Architecture
:    Handbook points out differences.  As one works at the device driver
:    level, one will find that not all memory reacts in quite the same
:    fashion -- one will find various differences.  (Most (all?) are
:    even documented. :-)

Didn't say the memory acted differently, just said that they all share
the same "space," which is true.

:    In the specific MicroVAX Q-bus case I was referencing, there exist
:    three regions: Q-bus I/O space, Q-bus memory space, and VAX memory
:    space.

There is no such difference Q-Bus I/O space vs Q-Bus memory space.  They
share the same space.  Now by convention I/O devices have different addresses
but as far as the bus goes, things DONT care.

:    Q-bus memory space is not typically mapped into system physical or
:    system virtual address space as most folks do not have Q-bus memory
:    installed, but it can be done.  (The MicroVAX I was limited to the
:    use of Q-bus memory space.  The MicroVAX II moved the main memory
:    off the Q-bus.)  And depending on the widget(s) involved, one may
:    need to do a little work with the CSR and with the page tables. 
:    Obviously, one finds mostly CSRs in I/O space.

How the individual buses get mapped in, has nothing to do with the fact
that they are the same space.

:    Qbus space and VAX memory spaces are treated differently for certain
:    driver-visible operations, though they are all mapped (or can all be
:    mapped, depending on the particular Q-bus widgets involved) into the
:    processor's system physical or virtual address space.  One salient
:    example of the differences between memory and I/O: not all VAX
:    instructions can be safely used in I/O space -- one can safely use
:    only a subset of the available VAX instructions.  One can find the
:    read and write order processing and the interlocks constrained,
:    depending on the particular reference and/or the particular widget
:    and/or the alignment of the reference.

:    And one can also find a few (weird) I/O widgets where one issues a
:    read instruction to activate or otherwise alter the contents of the
:    CSR.  (One does not find this read-to-write behaviour in memory space.)
:    And I'll completely ignore the I/O widgets that can (and do) reference
:    the host page tables.


Again, I never said that some addresses in the space don't act differently
than others.  That however doesn't alter the fundamental pressence.  They
are all the same space.  The PDP-11 and VAX architectures do not differ
in the treatment of memory vs. I/O.  It's just that certain addresses you
choose to *TREAT* differently.  That is, avoiding read-modify-write cycles
and caching.

Compare this to any of the Intel processors, or to most of the processors
that pre-date the PDP-11.  You have to use special instructions to touch
I/O devices compared to memory.

-Ron




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1995-08-18  4:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-08-15  4:00 QBus Question: C/D slots Robert Smith
1995-08-16  4:00 ` Stephen Hoffman
1995-08-16  4:00   ` Ron Natalie
1995-08-17  4:00     ` Stephen Hoffman
1995-08-18  4:00       ` Ron Natalie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox