You need to log in to create posts and topics.

Problems with names that contains underscore in package hierarchies

Hello,

I've been testing the new feature (in SimulIDE-R2194_Win64) that allows buses in package's pins (It's great!). But testing it, I've discovered that the package hierarchy fails when you use names that include underscores '_' for the components (but only starting from the second level of hierarchy, i.e: when you create a package that includes a component named with '_'). I don't know if this error has been already reported (didn't find it). I've checked that it only happends when you include underscores (but I didn't try with other special characters!). It does not depend on whether your are using busses or not.

As an example to reproduce the error:

  • Create a component (package) called Comp_1 than only includes an And gate (or whatever, it does not matter) and include it in the user libraries
  • Use this component to create another component (package) called NewComp (or whatever), and include it in the user libraries

Now, when you try to instantiate NewComp in a schematic, an error will appear saying something like:

SubCircuit::construct: No package files found for Comp
...user folder...../NewComp/data/Comp/Comp.package
SubCircuit: NewComp NewComp-2 ERROR Creating Component: Subcircuit Comp_1-6 Comp_1-6
ERROR!! SubCircuit::loadSubCircuit: NewComp NewComp-2 null startPin in Connector 2_Comp_1-6-A
ERROR!! SubCircuit::loadSubCircuit: NewComp NewComp-2 null startPin in Connector 2_Comp_1-6-B
ERROR!! SubCircuit::loadSubCircuit: NewComp NewComp-2 null startPin in Connector 2_Comp_1-6-Y

In the file attached you can find both componets for testing

Uploaded files:

Hi. Thanks for reporting.
Solved at Rev 2204.