captain_morgan has quit [Quit: Ping timeout (120 seconds)]
captain_morgan has joined #yosys
BinaryLust has quit [Ping timeout: 240 seconds]
strongsaxophone has quit [Quit: Lost terminal]
cr1901_modern has quit [Ping timeout: 265 seconds]
<rswarbrick>
When rewriting stuff to apply a bind statement, I need to replace a cell with one pointing at a different module. Since there are other users of the cell (which I don't want to change), it feels like I need a Cell copy constructor, to make a fresh version that I can hack on. That's marked as =delete. Am I missing something?
<whitequark>
rswarbrick: C++ copy constructor and logical copy operation are often different in C++ codebases
<whitequark>
like they are in Yosys
<whitequark>
specifically copying a Cell with C++ semantics would not be valid as it would mess up the tracking of cells inside modules
<rswarbrick>
Understood. So how do I make a new module "like this one, but with a different type for cell X"?
<whitequark>
I'm not sure if there's an existing function to do that
<whitequark>
oh
<whitequark>
module->addCell(name, existingCell)
<whitequark>
that makes a new cell that copies type, connections, parameters and attributes from existingCell
<rswarbrick>
Ah, brill. I didn't spot that, sorry.
<rswarbrick>
Thank you very much!
vidbina has quit [Ping timeout: 272 seconds]
emeb has joined #yosys
jakobwenzel has quit [Quit: jakobwenzel]
X-Scale` has joined #yosys
X-Scale has quit [Ping timeout: 260 seconds]
X-Scale` is now known as X-Scale
jfcaron_ has joined #yosys
dys has quit [Ping timeout: 260 seconds]
citypw has quit [Ping timeout: 240 seconds]
cr1901_modern has joined #yosys
jfcaron_ has quit [Ping timeout: 256 seconds]
FL4SHK has quit [Quit: WeeChat 2.7.1]
FL4SHK has joined #yosys
jfcaron_ has joined #yosys
kgugala_ has joined #yosys
kgugala has quit [Ping timeout: 260 seconds]
kgugala_ has quit [Read error: Connection reset by peer]
kgugala has joined #yosys
kgugala_ has joined #yosys
kgugala has quit [Ping timeout: 272 seconds]
dys has joined #yosys
BinaryLust has joined #yosys
Cerpin has quit [Quit: leaving]
Cerpin has joined #yosys
dys has quit [Ping timeout: 240 seconds]
kgugala has joined #yosys
kgugala_ has quit [Ping timeout: 272 seconds]
kgugala_ has joined #yosys
kgugala has quit [Ping timeout: 256 seconds]
kgugala has joined #yosys
kgugala_ has quit [Ping timeout: 258 seconds]
Cerpin has quit [Quit: Lost terminal]
Cerpin has joined #yosys
rswarbrick has quit [Ping timeout: 256 seconds]
emeb_mac has joined #yosys
kgugala has quit [Ping timeout: 246 seconds]
kgugala_ has joined #yosys
miek has quit [Quit: miek]
<az0re>
is @nakengelhardt on here?
<az0re>
or only Slack?
<ZirconiumX>
Seems only Slack
<daveshah>
She has been online here in the past but looks like not at the moment
<az0re>
I hate Slack... if one of you is already on it, can you ping her and ask her to come on IRC, pretty please?