Home > Articles > Networking > Voice/IP Communications

This chapter is from the book

1.4 Integrated Circuit Design Techniques

To make use of the flood of transistors given to us by Moore’s Law, we must design large, complex chips quickly. The obstacle to making large chips work correctly is complexity—many interesting ideas for chips have died in the swamp of details that must be made correct before the chip actually works. Integrated circuit design is hard because designers must juggle several different problems:

  • Multiple levels of abstraction. IC design requires refining an idea through many levels of detail. Starting from a specification of what the chip must do, the designer must create an architecture which performs the required function, expand the architecture into a logic design, and further expand the logic design into a layout like the one in Figure 1-2. As you will learn by the end of this book, the specification-to-layout design process is a lot of work.
  • Multiple and conflicting costs. In addition to drawing a design through many levels of detail, the designer must also take into account costs—not dollar costs, but criteria by which the quality of the design is judged. One critical cost is the speed at which the chip runs. Two architectures that execute the same function (multiplication, for example) may run at very different speeds. We will see that chip area is another critical design cost: the cost of manufacturing a chip is exponentially related to its area, and chips much larger than 1 cm2 cannot be manufactured at all. Furthermore, if multiple cost criteria—such as area and speed requirements—must be satisfied, many design decisions will improve one cost metric at the expense of the other. Design is dominated by the process of balancing conflicting constraints.
  • Short design time. In an ideal world, a designer would have time to contemplate the effect of a design decision. We do not, however, live in an ideal world. Chips which appear too late may make little or no money because competitors have snatched market share. Therefore, designers are under pressure to design chips as quickly as possible. Design time is especially tight in application-specific IC design, where only a few weeks may be available to turn a concept into a working ASIC.

Designers have developed two techniques to eliminate unnecessary detail: hierarchical design and design abstraction. Designers also make liberal use of computer-aided design tools to analyze and synthesize the design.

1.4.1 Hierarchical Design

Divide-and-conquer

Hierarchical design is commonly used in programming: a procedure is written not as a huge list of primitive statements but as calls to simpler procedures. Each procedure breaks down the task into smaller operations until each step is refined into a procedure simple enough to be written directly. This technique is commonly known as divide-and-conquer—the procedure’s complexity is conquered by recursively breaking it down into manageable pieces.

Components

Chip designers divide and conquer by breaking the chip into a hierarchy of components. As shown in Figure 1-4, a component consists of a body and a number of pins—this full adder has pins a, b, cin, cout, and sum. If we consider this full adder the definition of a type, we can make many instances of this type. Repeating commonly used components is very useful, for example, in building an n-bit adder from n full adders. We typically give each component instance a name. Since all components of the same type have the same pins, we refer to the pins on a particular component by giving the component instance name and pin name together; separating the instance and pin names by a dot is common practice. If we have two full adders, add1 and add2, we can refer to add1.sum and add2.sum as distinct terminals (where a terminal is a component-pin pair).

Figure 1-4

Figure 1-4 Pins on a component.

Net lists

We can list the electrical connections which make up a circuit in either of two equivalent ways: a net list or a component list. A net list gives, for each net, the terminals connected to that net. Here is a net list for the top component of Figure 1-5:

net1: top.in1 i1.in
net2: i1.out xxx.B
topin1: top.n1 xxx.xin1
topin2: top.n2 xxx.xin2
botin1: top.n3 xxx.xin3
net3: xxx.out i2.in
outnet: i2.out top.out
Figure 1-5

Figure 1-5 A hierarchical logic design.

A component list gives, for each component, the net attached to each pin. Here is a component list version of the same circuit:

top: in1=net1 n1=topin1 n2=topin2 n3=topin3 out=outnet
i1: in=net1 out=net2
xxx: xin1=topin1 xin2=topin2 xin3=botin1 B=net2
out=net3
i2: in=net3 out=outnet

Given one form of connectivity description, we can always transform it into the other form. Which format is used depends on the application—some searches are best performed net-by-net and others component-by-component. As an abuse of terminology, any file which describes electrical connectivity is usually called a netlist file, even if it is in component list format.

As shown in Figure 1-5, a logic design can be recursively broken into components, each of which is composed of smaller components until the design is described in terms of logic gates and transistors. In this figure, we have shown the type and instance as instance(type); there are two components of type A. Component ownership forms a hierarchy. The component hierarchy of Figure 1-5 is shown in Figure 1-6. Each rounded box represents a component; an arrow from one box to another shows that the component pointed to is an element in the component which points to it. We may need to refer to several instance names to differentiate components. In this case, we may refer to either top/i1 or top/i2, where we trace the component ownership from the most highest-level component and separate component names by slashes (/). (The resemblance of this naming scheme to UNIX file names is intentional—many design tools use files and directories to model component hierarchies.)

Figure 1-6

Figure 1-6 A component hierarchy.

Components as black boxes

Each component is used as a black box—to understand how the system works, we only have to know each component’s input-output behavior, not how that behavior is implemented inside the box. To design each black box, we build it out of smaller, simpler black boxes. The internals of each type define its behavior in terms of the components used to build it. If we know the behavior of our primitive components, such as transistors, we can infer the behavior of any hierarchically-described component.

People can much more easily understand a 100,000,000-transistor hierarchical design than the same design expressed directly as ten million transistors wired together. The hierarchical design helps you organize your thinking—the hierarchy organizes the function of a large number of transistors into a particular, easy-to-summarize function. Hierarchical design also makes it easier to reuse pieces of chips, either by modifying an old design to perform added functions or by using one component for a new purpose.

1.4.2 Design Abstraction

Levels of modeling

Design abstraction is critical to hardware system design. Hardware designers use multiple levels of design abstraction to manage the design process and ensure that they meet major design goals, such as speed and power consumption. The simplest example of a design abstraction is the logic gate. A logic gate is a simplification of the nonlinear circuit used to build the gate: the logic gate accepts binary Boolean values. Some design tasks, such as accurate delay calculation, are hard or impossible when cast in terms of logic gates. However, other design tasks, such as logic optimization, are too cumbersome to be done on the circuit. We choose the design abstraction that is best suited to the design task.

We may also use higher abstractions to make first-cut decisions that are later refined using more detailed models: we often, for example, optimize logic using simple delay calculations, then refine the logic design using detailed circuit information. Design abstraction and hierarchical design aren’t the same thing. A design hierarchy uses components at the same level of abstraction—an architecture built from Boolean logic functions, for example—and each level of the hierarchy adds complexity by adding components. The number of components may not change as it is recast to a lower level of abstraction—the added complexity comes from the more sophisticated behavior of those components.

The next example illustrates the large number of abstractions we can create for a very simple circuit.

The next example shows how a slightly more complex hardware design is built up from circuit to complex logic.

Design abstractions

Figure 1-7 shows a typical design abstraction ladder for digital systems:

  • Specification. The customer specifies what the chip should do, how fast it should run, etc. A specification is almost always incomplete—it is a set of requirements, not a design.
  • Behavior. The behavioral description is much more precise than the specification. Specifications are usually written in English, while behavior is generally modeled as some sort of executable program.
  • Register-transfer. The system’s time behavior is fully-specified—we know the allowed input and output values on every clock cycle—but the logic isn’t specified as gates. The system is specified as Boolean functions stored in abstract memory elements. Only the vaguest delay and area estimates can be made from the Boolean logic functions.
  • Logic. The system is designed in terms of Boolean logic gates, latches, and flip-flops. We know a lot about the structure of the system but still cannot make extremely accurate delay calculations.
  • Circuit. The system is implemented as transistors.
  • Layout. The final design for fabrication. Parasitic resistance and capacitance can be extracted from the layout to add to the circuit description for more accurate simulation.
Figure 1-7

Figure 1-7 A hierarchy of design abstractions for integrated circuits.

Top-down and bottom-up design

Design always requires working down from the top of the abstraction hierarchy and up from the least abstract description. Obviously, work must begin by adding detail to the abstraction—top-down design adds functional detail. But top-down design decisions are made with limited information: there may be several alternative designs at each level of abstraction; we want to choose the candidate which best fits our speed, area, and power requirements. We often cannot accurately judge those costs until we have an initial design. Bottom-up analysis and design percolates cost information back to higher-levels of abstraction; for instance, we may use more accurate delay information from the circuit design to redesign the logic. Experience will help you judge costs before you complete the implementation, but most designs require cycles of top-down design followed by bottom-up redesign.

1.4.3 Computer-Aided Design

CAD tools

The only realistic way to design chips given performance and design time constraints is to automate the design process, using computer-aided design (CAD) tools which automate parts of the design process. Using computers to automate design, when done correctly, actually helps us solve all three problems: dealing with multiple levels of abstraction is easier when you are not absorbed in the details of a particular design step; computer programs, because they are more methodical, can do a better job of analyzing cost trade-offs; and, when given a well-defined task, computers can work much more quickly than humans.

Design entry

Computer-aided design tools can be categorized by the design task they handle. The simplest of CAD tool handles design entry—for example, an interactive schematic drawing package. Design entry tools capture a design in machine-readable form for use by other programs, and they often allow easier modification of a design, but they don’t do any real design work.

Analysis and verification

Analysis and verification tools are more powerful. The Spice circuit simulator, for example, solves the differential equations which govern how the circuit responds to an input waveform over time. Such a program doesn’t tell us how to change the circuit to make it do what we want, but many analysis tasks are too difficult to perform manually.

Synthesis

Synthesis tools actually create a design at a lower level of abstraction from a higher level description. Some layout synthesis programs can synthesize a layout from a circuit description like that in Figure 1-2. Using computers for design is not a panacea. Computer programs cannot now, nor are they ever likely to be able to transform marketing brochures directly into finished IC designs. Designers will always be necessary to find creative designs and to perform design tasks which are too subtle to be left to algorithms.

Both hierarchical design and design abstraction are as important to CAD tools as they are to humans—the most powerful synthesis and analysis tools operate on a very restricted design model. CAD tools can help us immensely with pieces of the design task, but algorithms that have the detailed knowledge required to solve one design problem usually do not have the broad range of data required to balance broad requirements.

Tools as aids

CAD tools must be used judiciously by a human designer to be most effective. Nonetheless, CAD tools are an essential part of the future of IC design because they are the only way to manage the complexity of designing large integrated circuits. Manual design of a hundred-million transistor chip, or even a 100,000 transistor chip, quickly overwhelms the designer with decisions. Not all decisions are equally important—some may have only a minor effect on chip size and speed while others may profoundly change the chip’s costs. By concentrating on the wrong decisions, a designer may cause problems that are not easily correctable later. CAD tools, by automating parts of the design process, help the designer eliminate mundane decisions quickly and concentrate on the make-or-break problems posed by the chip.

For example, long wires can introduce excessive delay, increase power consumption, and create opportunities for crosstalk. Such problems can be found by a program that analyzes delays through the chip, but when designing a chip by hand, it may be easy to miss this single connection, and the error will not be found until the chip comes back from fabrication. CAD tools are particularly important for evaluating complex situations in which solving one problem creates other problems—for example, making one wire shorter makes other wires longer. When two constraints compete, solutions to problems may not be so easy. Making one part of the design faster may, for example, make another part of the design unacceptably large and slow. CAD tools help us solve these problems with analytical methods to evaluate the cost of decisions and synthesis methods that let us quickly construct a candidate solution to a problem. Evaluation of candidate designs is critical to designing systems to satisfy multiple costs because optimizing a complete system cannot be done simply by optimizing all the parts individually—making each part in a chip run as fast as possible in isolation by no means ensures that the entire chip will run as fast as possible. Using CAD tools to propose and analyze solutions to problems lets us examine much larger problems than is possible by hand.

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.

Overview


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information


To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites, develop new products and services, conduct educational research and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@informit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information


Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.

Security


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children


This site is not directed to children under the age of 13.

Marketing


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information


If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

Choice/Opt-out


Users can always make an informed choice as to whether they should proceed with certain services offered by InformIT. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.informit.com/u.aspx.

Sale of Personal Information


Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents


California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure


Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact


Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice


We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020