Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > PSoC® Software > how to connect several BUS

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



how to connect several BUS
Moderator:
JFMD

Post Reply
Follow this topic



how to connect several BUS

pavloven posted on 30 Apr 2013 8:44 AM PST
Top Contributor
78 Forum Posts

Is it possible to connect the fragments of severalBUS




Re: how to connect several BUS

hli posted on 30 Apr 2013 12:06 PM PST
Top Contributor
675 Forum Posts

At least not making it looking much better than your original solution. What you can do:

  • draw your two busses
  • for each bus, create 7 breakout wires
  • assign each breakout wire with the proper bit (0-6)
  • then you can connect the breakout wires with each other

I tested this, and the busses still kept their original names.

Correction: I just tried to build this project, and got the error: "CRL and SR are connected and have inconsistent base names".

So this doesn't work, and seems not to be supported. But in the end this makes sense that way - nets need to have consistent names to ensure proper routing.

I would propose you create a bus containing the data lines and th4 clock. Then you can connect only the lines you really need, like you would do in any other schematics editor.



Re: how to connect several BUS

pavloven posted on 01 May 2013 11:57 PM PST
Top Contributor
78 Forum Posts

thanks. It is a pity that I can not assign a common name of several conductors in different bus.
Information for Technical Support:
 When i edit bus and has error - error remains even after removal of the bus.
 I have to close the project and download it again.
 An example of such an error is attached below.
 



Re: how to connect several BUS

Bob Marlowe posted on 01 May 2013 12:15 AM PST
Top Contributor
1768 Forum Posts

A very unusual way to get out of this naming-problem could be to write a custom-component and hoping for the optimizer.

 

Bob



Re: how to connect several BUS

Bob Marlowe posted on 01 May 2013 12:43 AM PST
Top Contributor
1768 Forum Posts

Yes, that approach works, see attached project

 

Bob



Re: how to connect several BUS

pavloven posted on 01 May 2013 02:33 AM PST
Top Contributor
78 Forum Posts

Thank you, Bob. I tried to change your project, but I have certainly failed.



Re: how to connect several BUS

hli posted on 01 May 2013 03:29 AM PST
Top Contributor
675 Forum Posts

This "persistent error" problem happens not only with busses, but with serveral others too. Sometimes they even persist aver re-opening the project. And there is no way to clear the error list :(



Re: how to connect several BUS

Bob Marlowe posted on 01 May 2013 03:32 AM PST
Top Contributor
1768 Forum Posts

One of the errors you get has to do with connecting an input pin to the output of the status register, same with the control reg.

Control has inputs, Status has outputs...

 

Bob



Re: how to connect several BUS

Bob Marlowe posted on 01 May 2013 03:47 AM PST
Top Contributor
1768 Forum Posts

... and connecting more than 1 signal to form a bus does not work within a component, but you may make the connection on the schematic by specifying the signal to be part of the bus. I would suggest you to correct your Input/Output problem and post your resulting project again.

 

Bob



Re: how to connect several BUS

Bob Marlowe posted on 01 May 2013 07:32 AM PST
Top Contributor
1768 Forum Posts

Sorry, my last posts were rubbish!

Corrected project attached.

 

Bob



Re: how to connect several BUS

pavloven posted on 01 May 2013 11:39 AM PST
Top Contributor
78 Forum Posts

:)))))))))))



Re: how to connect several BUS

Bob Marlowe posted on 01 May 2013 12:27 PM PST
Top Contributor
1768 Forum Posts

Yes, that should always work, I never doubted that. But you wanted to connect differently NAMED nets and that will only work with the UserModule-trick.

 

Bob



Re: how to connect several BUS

pavloven posted on 01 May 2013 01:57 PM PST
Top Contributor
78 Forum Posts

Oh, I'm sorry. I forgot that only half of the question asked.

Part 2: Is it possible to connect the conductors of bus in a random order.
(such as the project below).

I will not ask if I could rename the bus conductors))).

 






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: GRAA; Secondary Owner: RAIK; Sunset Date: 01/01/20