Author Topic: bus slice duplicate errors  (Read 8682 times)

0 Members and 2 Guests are viewing this topic.

Offline vixoTopic starter

  • Regular Contributor
  • *
  • Posts: 75
bus slice duplicate errors
« on: March 24, 2015, 01:31:53 pm »
Hi, I've made a multisheet design in altium, but on compiling I get some errors - Duplicate Bus Names Bus Slice. My design has a top sheet(sheet1), which contains four subsidiary sheets(sheet2), and each of those four sheets contain sixteen copies of a third sheet(sheet3) - hope that's clear.

The error seems to be occurring because the four sheet2s have a bus inside them, and when that bus is duplicated it isn't automatically renamed something which distinguishes it from the other sheet2s - Im guessing this because I get the error three times, so the first instance the bus is named and the further three times the sheet is duplicated creates errors. If i increase the number repeats to 5, i then get four errors. These are the only errors I get, so all the nets and components have been renamed ok.

The top sheet also contains a net and this causes no problems, so I suppose the naming of the nets works ok. The project net identifier scope is set to automatic, and seems to have defaulted to hierchical as this option give the same errors.

anyone have any idea why this is happening?   
 

Offline T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 21972
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: bus slice duplicate errors
« Reply #1 on: March 24, 2015, 03:20:47 pm »
Might need strict hierarchical definition?  Beware your supply nets.

I've not needed buses within repeated channels, myself, so I don't know this specific case.

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 

Offline vixoTopic starter

  • Regular Contributor
  • *
  • Posts: 75
Re: bus slice duplicate errors
« Reply #2 on: March 24, 2015, 06:50:46 pm »
unfortunately doesn't seem to be that simple - i still get the same errors with hierarchical selected!
 

Offline ajb

  • Super Contributor
  • ***
  • Posts: 2675
  • Country: us
Re: bus slice duplicate errors
« Reply #3 on: March 24, 2015, 08:48:26 pm »
Are you using the buses to bring signals in and out of the sheets?  If not, you may be able to use individual net labels to make the connections between bus members, and leave the bus as a graphical element only.
 

Offline vixoTopic starter

  • Regular Contributor
  • *
  • Posts: 75
Re: bus slice duplicate errors
« Reply #4 on: March 25, 2015, 11:04:39 am »
yes, im using them to supply each of 16 signals to each of the repeats of sheet3 - see the image attached . the buses causing the problems are led_gnd[16..1] and selectx[16..1]
 

Offline T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 21972
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: bus slice duplicate errors
« Reply #5 on: March 25, 2015, 01:47:01 pm »
Does the reverse order matter?  I always thought it was [1..16].  Why it should be different from VHDL notation (higher-lower) or if it matters, I don't know..
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 

Offline vixoTopic starter

  • Regular Contributor
  • *
  • Posts: 75
Re: bus slice duplicate errors
« Reply #6 on: March 25, 2015, 03:19:40 pm »
nope, still no cigar  :) I tried that already

I think you can use either forward or reverse order and will reverse which number net goes to which number repeat
 

Offline ajb

  • Super Contributor
  • ***
  • Posts: 2675
  • Country: us
Re: bus slice duplicate errors
« Reply #7 on: March 25, 2015, 06:42:57 pm »
Can you tell what names the nets in each sheet are winding up with?  The error you're getting sort of sounds like the bus names are duplicated by net names, does Altium add a suffix to the bus name on compilation like it does with nets in a multi sheet design?  I've only used nets twice in Altium, and only in a top level sheet...
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf