On-chip Split Bus Versus Switching Interconnects

Jan. 11, 2007
The content for this article is currently unavailable. Please check back for updates....

A parallel bus is the simplest architecture. It’s easy to add peripherals, but the bus bandwidth then needs to be shared when servicing them. Bus bandwidth often limits peripherals, yet some buses can handle all of the peripherals without a problem.

Most low-end processors that lack DMA or coprocessor support still can deal with every peripheral. In this case, though, the processor’s speed in fetching and executing instructions ultimately limits performance. The processor is directly involved with all peripheral accesses, so accelerating the processor will boost overall system performance.

A processor’s work may consist of moving data to and from peripherals, but these chores usually can be offloaded using DMA or multiple cores. In a single-bus system, these devices must share the bus bandwidth. This lets the processor run at a slower speed, thereby using less of the bus bandwidth. Likewise, the peripheral data load on a system isn’t always constant. In bursty environments, the DMA or the processor may use 100% of the bus bandwidth to the possible detriment of the other intelligent devices on the bus.

Splitting a single bus into multiple buses and distributing the intelligent peripherals among these buses is one way to raise the potential throughput, assuming transfers can be limited to a local bus. Moving data from one bus to another essentially hits the limitations of a single bus. This is why a block of memory often is dedicated to a particular bus—therefore, a DMA controller could move data between the local memory and a peripheral.

Systems with higher performance generally try to maximize throughput. One approach, a crossbar switch, connects one set of devices to another. In most cases, it’s a set of processors or DMA units and a set of memory blocks or peripherals. The crossbar switch can connect any device in one set to any device in the other set, but a device can only control or be controlled by one other device. If A and B want to use C, then A goes first and B waits, as with a bus. The difference between the bus and a crossbar switch is that the crossbar switch can support any number of simultaneous exchanges, as long as conflicts don’t occur.

Crossbar switches are expensive, especially when the devices within a set number more than half a dozen. Larger systems typically use a packet-switching system. One notable processor family, AMD’s Opteron, employs this tactic. The Opteron is based on HyperTransport, a high-speed, chip-to-chip interconnect.

This type of switch fabric is built around switches that pass packets of data around. Latency is higher than it would be with a crossbar switch, but caching can significantly reduce its impact. The advantage is that a fabric scales much better, and it’s also something that can be easily linked off-chip.

About the Author

William G. Wong | Senior Content Director - Electronic Design and Microwaves & RF

I am Editor of Electronic Design focusing on embedded, software, and systems. As Senior Content Director, I also manage Microwaves & RF and I work with a great team of editors to provide engineers, programmers, developers and technical managers with interesting and useful articles and videos on a regular basis. Check out our free newsletters to see the latest content.

You can send press releases for new products for possible coverage on the website. I am also interested in receiving contributed articles for publishing on our website. Use our template and send to me along with a signed release form. 

Check out my blog, AltEmbedded on Electronic Design, as well as his latest articles on this site that are listed below. 

You can visit my social media via these links:

I earned a Bachelor of Electrical Engineering at the Georgia Institute of Technology and a Masters in Computer Science from Rutgers University. I still do a bit of programming using everything from C and C++ to Rust and Ada/SPARK. I do a bit of PHP programming for Drupal websites. I have posted a few Drupal modules.  

I still get a hand on software and electronic hardware. Some of this can be found on our Kit Close-Up video series. You can also see me on many of our TechXchange Talk videos. I am interested in a range of projects from robotics to artificial intelligence. 

Sponsored Recommendations

Comments

To join the conversation, and become an exclusive member of Electronic Design, create an account today!