skidl
skidl copied to clipboard
When creating Nets as part of a Bus, create them in a circuit
When creating Nets as part of extending a Bus, create the nets as part of the circuit of what we want to connect them to, rather than the default circuit. This causes a crash if this functionality is used on a circuit other than the default circuit
Thanks for fixing this!
I had to change your code since an int doesn't have a circuit attribute. So I changed both your modifications to use the circuit of the bus (circuit=self.circuit). I checked the modifications into the development branch. Test it and make sure it does what you need.
OK, I'll assume this works...