On 16 April 2012 12:14, Evgeny Voevodin<address@hidden> wrote:
On 16.04.2012 15:01, Peter Maydell wrote:
The other approach to consider would be to make each OR gate a separate
device, and just instantiate N of them. That would probably look
cleaner in the device implementation but be a little more code in
exynos4210.c. I don't have a preference either way -- just a thought.
Do you mean to have each OR gate with only two inputs?
No, I meant that you could have a qdev device which is a single OR
gate with N inputs and one output. (As opposed to now, where
you have a qdev device which is X OR gates all lumped together,
with N * X inputs and X outputs, but each OR gate is actually
not interacting with any of the others.)
-- PMM