Monday, August 16, 2021

Multistage Switching Network in multiprocessors system

 

Different schemes of interconnection structure are:



Operation of 2 x 2 Interchange switch

The basic component of a multistage network is a two-input, two-output interchange switch. As shown in figure below the 2 x 2 switch has two inputs, labelled A and B, and two outputs, labelled 0 and 1.

 

Figure : Operation of 2x2 interchange switch

The switch has the capability of connecting input A to either of the outputs. Terminal B of the switch behaves in a similar fashion. If inputs A and B both request the same output terminal, only one of them will be connected; the other will be blocked.

Binary Tree Switches

Using the 2 x 2 switch as a building block, it is possible to build a multistage network to control the communication between a number of sources and destinations. To see how this is done, consider the binary tree shown in figure below. The two processors P1 and P2 are connected through switches to eight memory modules marked in binary from 000 through 111. The path from a source to a destination is determined from the binary bits of the destination number.

 

Figure : Binary Tree Switches strcuture

For example, to connect P1 to memory 101, it is necessary to form a path from P1 to output 1 in the first-level switch, output 0 in the second-level switch, and output 1 in the third-level switch. The first bit of the destination number determines the switch output in the first level. The second bit specifies the output of the switch in the second level, and the third bit specifies the output of the switch in the third level. It is clear that either P1 or P2 can be connected to any one of the eight memories. Certain request patterns, however, cannot be satisfied simultaneously. For example, if P1 is connected to one of the destinations 000 through 011, it means P2 can be connected to only one of the destinations 100 through 111.

Omega Switching Network

Many different topologies have been proposed for multistage switching networks to control processor-memory communication in a tightly coupled or to in a loosely coupled system. One such topology is the omega-switching network shown in figure below. In this configuration, there is exactly one path from each source to any particular destination. Some request patterns, however, cannot be connected simultaneously.

 

Figure : Omega Switching Network

For example, any two sources cannot be connected simultaneously to destinations 000 and 001. A particular request is initiated in the switching network by the source, which sends a 3-bit pattern representing the destination number. As the binary pattern moves through the network, each level examines a different bit to determine the 2 x 2 switch setting. Level 1 inspects the most significant bit, level 2 inspects the middle bit, and level 3 inspects the least significant bit. When the request arrives on either input of the 2 x 2 switch, it is routed to the upper output if the specified bit is 0 or to the lower output if the bit is 1.

Tightly Coupled System

In this system, the source is a processor and the destination is a memory module. The first pass through the network sets up the path. After path setup, transfer the address into memory and then transfer the data in either direction based on read or write request.

Loosely Coupled System

In this system, both the source and destination are processing elements. After the path is estab­lished, the source processor transfers a message to the destination processor.


If you want to know about how to consturcut Omega Switchign Network & How to work Omega Switching Network. You can watch second video of this post.


To learn more about Multistage Switching Network, watch below video


Video : Multistage Switching Network


Video : Working of Omega Switching Network

Watch more videos click here.


1 comment:

  1. Best Resort in Prini Manali

    Best Resort in Prini Manali

    Prini, a serene and picturesque village just a short drive from Manali, is increasingly becoming a preferred destination for travelers seeking peaceful hillside retreats amidst nature. With lush greenery, panoramic views of the Himalayan ranges, and a calm, refreshing climate year‑round, Prini is perfect for families, couples, and solo travelers looking to escape the bustle of city life. If you’re planning a vacation here, choosing the best resort in Prini Manali ensures comfort, memorable experiences, and easy access to the region’s top attractions.

    Prini’s proximity to Manali town makes it strategically attractive: you enjoy the tranquillity of a quiet village while being close to shopping hubs, historic temples, scenic viewpoints, and adventure spots like Solang Valley and Rohtang Pass. Resorts in Prini combine contemporary comforts with traditional mountain charm, offering guests an immersive Himalayan experience.

    What Makes a Great Resort in Prini Manali?

    The best resorts in Prini offer a blend of comfortable accommodation, excellent hospitality, scenic surroundings, and family‑friendly amenities. Ideal resorts here typically feature spacious rooms with valley or mountain views, restaurant and dining services serving local and international cuisines, recreational areas, and modern facilities such as free Wi‑Fi, room service, and travel assistance.

    Many top resorts in Prini are designed to make your stay pleasurable regardless of the season. In summer, the pleasant weather invites long walks and outdoor dining, while winter brings a magical snowy landscape perfect for cozy fireside evenings and local sightseeing.

    Top Features to Look for

    Scenic views and peaceful location: Resorts in Prini are known for their natural settings — choose one with garden or mountain views to make your stay truly memorable.

    Comfortable and well‑furnished rooms: Spacious rooms with modern amenities like LCD TVs, attached bathrooms, and comfortable bedding enhance relaxation.

    On‑site dining: Multi‑cuisine restaurants and local Himachali food options add to the experience. Many resorts also offer breakfast, lunch, and dinner plans.

    Recreation and leisure: On‑site lawns, bonfire setups, indoor game facilities, and kid‑friendly spaces add value for families and groups.

    Friendly service & easy access: Efficient staff and easy connectivity to Manali attractions make your stay convenient.

    Recommended Resort Experiences in Prini

    One of the best resorts in Prini Manali is known for its warm hospitality, scenic location, and comfortable rooms with Himalayan views. Guests often highlight the peaceful ambience, delicious on‑site cuisine, and proximity to popular attractions as major benefits. Whether you’re here for a weekend getaway or an extended vacation, the resort provides a perfect base to explore the region.

    Many resorts in this area also offer concierge services for local tours, sightseeing planning, and adventure bookings — making it easy to organize activities like river rafting, trekking, paragliding, or cultural tours around Manali.

    Why Stay in Prini?

    Staying in Prini gives you the best of both worlds: the calm and rejuvenating atmosphere of a mountain village, and easy access to Manali’s vibrant tourist circuit. Resorts here provide a quieter environment compared to central Manali, allowing guests to wake up to crisp mountain air, enjoy sunrise views over hills, and unwind in a beautiful natural setting.

    Prini is also close to attractions like Hidimba Devi Temple, Manu Temple, Van Vihar, and various scenic picnic spots — many of which you can visit directly from your resort.

    Conclusion

    Choosing the best resort in Prini Manali ensures a delightful combination of nature, comfort, and hospitality.

    ReplyDelete