Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > PSoC® Software > Connect the same signal to all three bits of a bus

Bookmark and Share
Cypress Developer CommunityTM
Forums | Videos | Blogs | Training | Rewards Program | Community Components



Connect the same signal to all three bits of a bus
Moderator:
JFMD

Post Reply
Follow this topic



Connect the same signal to all three bits of a bus

Doug McClean posted on 07 May 2011 11:46 AM PST
Top Contributor
38 Forum Posts

Hello,

I have a 2-input, 3-bit-wide AND gate. I'd like to supply the same signal (which is coming from a single-bit-wide NOT gate) to all 3 bits of the second input to the AND gate.

I tried following the instructions in the PSOC Creator help topic 'Drawing Buses' but no matter what order I do things in I always end up with errors. Usually "No input on instance "and_1", terminal "term1[2:0]". Some ways I have tried even complain that the is no input on the terminal "outTerminal" of the NOT gate, I can't imagine what that message is even trying to mean.

Could someone please walk me through this? I no it can't be complicated, but I am stumped.

 

Thanks,

Doug




Re: Connect the same signal to all three bits of a bus

CKF posted on 09 May 2011 02:46 PM PST
Cypress Employee
32 Forum Posts

Hi Doug,

I spoke with an Apps Engineer about this because I wasn't sure if this was possible.

In general, Creator doesn't support directly connecting a single bit to a bus input signal. The error your seeing is Creator reporting that the input terminal on the AND gate has unconnected signals.

I've attached a schematic image for reference.  In the attached, we used intermediate logic to create a bus for the input on the AND gate.  When you build, all this intermediate logic is optimized out.

The assumption is that the other input on the AND gate is a bus for a specific reason.  Here, we just used a Pins component configured with 3 pins.

Hope this helps!



Re: Connect the same signal to all three bits of a bus

Doug McClean posted on 10 May 2011 10:45 PM PST
Top Contributor
38 Forum Posts

That works, thanks.

 

-Doug






ALL CONTENT AND MATERIALS ON THIS SITE ARE PROVIDED "AS IS". CYPRESS SEMICONDUCTOR AND ITS RESPECTIVE SUPPLIERS MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY OF THESE MATERIALS FOR ANY PURPOSE AND DISCLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THESE MATERIALS, INCLUDING BUT NOT LIMITED TO, ALL IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT OF ANY THIRD PARTY INTELLECTUAL PROPERTY RIGHT. NO LICENSE, EITHER EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, IS GRANTED BY CYPRESS SEMICONDUCTOR. USE OF THE INFORMATION ON THIS SITE MAY REQUIRE A LICENSE FROM A THIRD PARTY, OR A LICENSE FROM CYPRESS SEMICONDUCTOR.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms and Conditions of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms and Conditions of this site. Cypress Semiconductor and its suppliers reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Spec No: None; Sunset Owner: KXP; Secondary Owner: VWA; Sunset Date: 01/01/20