skidl icon indicating copy to clipboard operation
skidl copied to clipboard

When creating Nets as part of a Bus, create them in a circuit

Open worktycho opened this issue 1 year ago • 1 comments

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

worktycho avatar Dec 27 '23 20:12 worktycho

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.

devbisme avatar Jan 02 '24 20:01 devbisme

OK, I'll assume this works...

devbisme avatar Mar 22 '24 15:03 devbisme