Author Message
 Post subject: Buses and hierarchical sheets
PostPosted: 08 Nov 2015, 00:35 
Offline

Joined: 08 Nov 2015, 00:25
Posts: 3
I am pretty new to DipTrace. Is there a way to use buses in hierarchical sheets? The last reference to buses in multiple sheets in this forum is from 2012. Hierarchy connectors don't seem to accept a bus connection.

A workaround I found is to use bus connectors. However, they do not show up in the hierarchical block. The alternative would be to use multi-sheets designs without the hierarchy.

Thank you for your help!


Top
 Profile  
 
 Post subject: Re: Buses and hierarchical sheets
PostPosted: 10 Nov 2015, 06:38 
Offline

Joined: 10 Jan 2015, 02:00
Posts: 188
Location: Anaheim, CA 92806
On the lower-level schematic: create a bus with the relevant signals. Connect it to a hierarchical label (on the right-hand toolbar, the letter "A" with a yellow port symbol), which gives it a label which can be seen on the instantiating sheet.

_________________
PCB Manufacturing


Top
 Profile  
 
 Post subject: Re: Buses and hierarchical sheets
PostPosted: 10 Nov 2015, 08:08 
Offline

Joined: 08 Nov 2015, 00:25
Posts: 3
Hi,

thanks for the reply. The "hierarchical label" part is what I am probably missing. I don't see any right-hand toolbar. I believe I have all the toolbars enabled. Are your talking about a "Place Hierarchy Connector" button?

If I add a hierarchy connector, I cannot connect it to a bus.


Top
 Profile  
 
 Post subject: Re: Buses and hierarchical sheets
PostPosted: 10 Nov 2015, 17:33 
Offline
Expert

Joined: 20 Jun 2015, 14:39
Posts: 944
I think "Techno Tronix" was talking about the Bus connector illustrated below.

Experiment-I
1) On the hierarchical sheet I created a bus containing many Nets and named it BUS_NET.
2) Then I attached a bus connector to it and gave it the same name.
3) Dropped another bus connector on the hierarchical sheet and gave it the same name, also.
4) Attached another bus line to the second bus connector and gave it the same name.
Observations-I
* Both bus connectors formed rectangles around their labels and displayed green dots as expected.
* Both buses contained identical Nets as expected.

Experiment-II
5) Dropped a bus connector on the main sheet with an identical name.
6) Attached a bus line to it and gave it the same name.
Observations-II
* Bus connector did not form a rectangle around its label and green dot was not displayed.
* Bus did not contain any Nets.

Experiment-III
7) Dropped another bus connector on the main sheet and gave it the same name, also.
8) Attached another bus line to the second bus connector on the main sheet and gave it the same name.
Observations-III
* Both bus connectors formed rectangles around their labels and displayed green dots as expected.
* The main sheet buses had no Nets. They were connected to each other, but not to the identically-named buses on the hierarchical sheet.

Is there something else that needs to be done for this to work?


You do not have the required permissions to view the files attached to this post.

_________________
Tom


Top
 Profile  
 
 Post subject: Re: Buses and hierarchical sheets
PostPosted: 11 Nov 2015, 07:32 
Offline

Joined: 08 Nov 2015, 00:25
Posts: 3
I learned that the type of sheet makes the difference:

The result of your observations in experiment 1 happens only if both sheets are of type "Normal" (as opposed to "Hierarchy block"). If the sheets are both normal the context of the bus name is the same and you can see the same signals. On the other hand, the sheet in "Hierarchy block" mode creates a new context so that the buses are not the same.

My conclusion is that bus connectors cannot be used with hierarchy blocks, but only with multi-sheet schematics.

I agree with the design choice in DipTrace (if my understanding is correct and there is no bug here :) ). Creating a bus connector in a hierarchy block is like using global variables in C++ :) If that is the case though, there is a missing functionality: Buses ports out of hierarchy blocks.

I believe that this should be elevated to a bug/enhancement.

Fab


Top
 Profile  
 
 Post subject: Re: Buses and hierarchical sheets
PostPosted: 20 Nov 2015, 02:53 
Offline
Technical Support

Joined: 14 Jun 2010, 06:43
Posts: 2762
Buses and bus connectors can be used on hierarchical sheet but there is no way to out buses from hierarchical sheet through hierarchcial pins. They (hierarchical pins) can be used for nets only. For example, if a bus on hierarchical sheet contains 10 nets and all of them should be transfered to main sheet, 10 hierarchical pins should be added on hierarchical sheet, i.e. one pin for one net.


Top
 Profile  
 
 Post subject: Re: Buses and hierarchical sheets
PostPosted: 11 Aug 2016, 11:25 
Offline

Joined: 03 Jul 2015, 05:02
Posts: 3
This would be a great enhancement if a "Bus Hierarchy Connector" exists!!!
This is so painful to transfer a bus, net by net, from one hierarchy block to another.

JYL


Top
 Profile  
 
 Post subject: Re: Buses and hierarchical sheets
PostPosted: 12 Aug 2016, 08:49 
Offline
Technical Support

Joined: 14 Jun 2010, 06:43
Posts: 2762
We will consider a "Bus Hierarchy Connector" for future versions. It would solve many problems with imports but we need to integrate the feature in many existing functions.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group