4
\$\begingroup\$

I have a sheet that needs to be repeated 30 times. Normally this has not been an issue.

However, one of the components in the sheet is a shift register that has a serial in and a serial out (for chaining multiple devices together).

A single serial signal comes from the top level, and goes into the sheet to the serial in of the first sheet and the serial out is to go to the serial in of the next sheet etc..

I'm having a bit of difficulty arranging my sheets so that its easy to wire, and easy to see what exactly is happening.

Any thoughts of how I can pipe the output of one sheet into the input of the same sheet (repeated) ?

I had 30 sheets before, but when I had to make a change in the wiring, I had to make 30 changes overall and I don't want to do that again, which is why I'm trying to do it this way.

Here's an example of what I mean.

enter image description here

This is a shift register, where Q7S is the serial output. So this shift register can be cascaded to form a long chain.

But there is more stuff happening on this schematic that is not shown, and so this entire schematic has been been made into a sheet symbol because everything that happens here, gets repeated a bunch of time.

enter image description here

For the very first shift register, I feed it data that comes from my microcontroller (DATA_IN_1). But the Q7S from sheet RELAY_1, becomes the serial input for sheet RELAY_2, and so.

The problem I was having, was setting up the connections (wires, busses, net names) so that I can get the connection I wanted so that I can cascade the shift registers together.

I say "the problem I was having", is because I ended up changing my design that I no longer needed to cascade them together and so didn't need to worry about how the connections were. However, I still would like to know, and it might be a good question for this community. This could also be a limitation of the software. I don't know.

\$\endgroup\$

2 Answers 2

2
\$\begingroup\$

I solved this Problem by using to Name definitions for the same bus. This bus is connected to Input and Output of the sbsheet. The index of the outgoing bus is incremented by 1. Hence the current Output Signal is the Input Signal for the next REPEAT-run.

EDIT: I made a mistake in my original screenshot. In this way Inputs are Outputs... However, I corrected the screenshot. Try to use a Diode between IN and OUT in the subsheet to check right connection.

Corrected REPEAT sheet

\$\endgroup\$
1
  • \$\begingroup\$ Oh you are fancy. Give me a few hours to try this out, but from what you are saying, this seems like the way to do it! \$\endgroup\$
    – efox29
    Sep 1, 2015 at 10:05
1
\$\begingroup\$

If i interpret you correctly you have made a design and put it into a schematic page. The design does a specific function. Now you want to add 30 of these functions and connect them together. If you find an error you would like to make changes to the design on one place and have it propagated to all 30 instances of the function.

I think that you should start to look at these pages:

\$\endgroup\$
6
  • \$\begingroup\$ No not quite. I ended up changing my schematic. The problem was feeding the output of a sheet (repeated) into the input. Think of a sheet (repeated 30 times) with a shift register. To cascade them, the output of the shift register goes into the input of the next shift register, but because its the same sheet symbol, im feeding the output of say sheet 1 into the input of sheet 2. This was the problem. \$\endgroup\$
    – efox29
    May 5, 2015 at 12:31
  • \$\begingroup\$ @efox29 So how did you solve your problem? You should add an answer.. \$\endgroup\$
    – m.Alin
    May 5, 2015 at 18:54
  • \$\begingroup\$ @efox29, I'm afraid I still don't understand what you are trying to do but it seems like you've solved it. If you have the time it would be interesting to see some kind of picture describing what you've done. \$\endgroup\$ May 5, 2015 at 19:06
  • 1
    \$\begingroup\$ Give me a few hours. I'll show you what I mean later today. \$\endgroup\$
    – efox29
    May 5, 2015 at 19:30
  • \$\begingroup\$ @m.Alin i didnt solve this problem. I changed it so that this question didnt need answering. But I think it is a good question that if someone has an answer great! I asked Altium, but I'm still waiting. They are slow. \$\endgroup\$
    – efox29
    May 6, 2015 at 6:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.