qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v2 2/2] hw/exynos4210_gic.c: Introduce n_in and


From: Evgeny Voevodin
Subject: Re: [Qemu-devel] [PATCH v2 2/2] hw/exynos4210_gic.c: Introduce n_in and n_out propeties.
Date: Mon, 16 Apr 2012 15:29:35 +0400
User-agent: Mozilla/5.0 (X11; Linux i686; rv:11.0) Gecko/20120329 Thunderbird/11.0.1

On 16.04.2012 15:17, Peter Maydell wrote:
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


Hmmm. Having one output per gate we can configure resulting multiplexer easier then now in the case of different inputs per gate. Seems you're right. Again :)

--
Kind regards,
Evgeny Voevodin,
Leading Software Engineer,
ASWG, Moscow R&D center, Samsung Electronics
e-mail: address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]