[gem5-dev] Re: Python level port indirection

2021-03-18 Thread Gabe Black via gem5-dev
Because functions can't be treated like ports and so have to be special cases? That's what we already have, and it doesn't work very well. Right now we can group SimObjects together, but we can't treat them like a unified thing, they're just a bunch of parts strapped together which still have to

[gem5-dev] Re: Python level port indirection

2021-03-18 Thread Jason Lowe-Power via gem5-dev
Hi Gabe, Why have a new special "port" and not just a function (e.g., connectCPU or connectMemory depending on if you're CPU or memory-side focused)? I would strongly prefer to have descriptive names and not something like "Export" which could mean many things. Jason On Wed, Mar 17, 2021 at