gsch2pcb support sub-circuit and sub-layout
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gEDA |
New
|
Undecided
|
Unassigned |
Bug Description
I think this should be a feature request.
We are trying to design the system hierarchy design. That mean the design will contain multiple sub-circuits and each of them has a corresponding sub-layout.
The sub-circuit already supported by the gschematic and gnetlist. The sub-layout can be loaded by pcb. But the connection between is not automatic. There are some people writing some scripts to do this but it is not simple enough.
I hope the gsch2pcb can handle this automatically by checking the components name. If the name containing a '\' then it means that is a sub-circuit. So it look for the "footprint" of that component with a .pcb extension. And load that .pcb in. and change the name of all it's sub-components with the prefix to that sub-circuit.
I tried to look at the source and it might should goes in the somewhere in the
gnet-gsch2pcb.scm or gnet-gsch2pcb.