simulavr-devel
[Top][All Lists]
Advanced

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

Re: [Simulavr-devel] some thoughts about the design


From: Theodore A. Roth
Subject: Re: [Simulavr-devel] some thoughts about the design
Date: Mon, 29 Sep 2003 21:10:38 -0700 (PDT)

On Tue, 30 Sep 2003, Andreas Buhr wrote:

:)Hello all
:)
:)I see some problems in the current implementation of the VDevices:
:)At the moment, each VDev has a base and a size, i.e. each VDev has a 
:)contigous range in the memory.
:)This works for all the old devices, but not for some new ones. For 
:)example the atmega169 has three TIMSK from 0x6E to 0x70 and three TIFR 
:)from 0x35 to 0x37. In between there are a lot of other devices, like 
:)eeprom e.g..
:)
:)Anyone some ideas?
:)Or did I miss something?

You didn't miss anything, it's definitely a design flaw. I'm not sure right 
now what needs to be done though. Probably need to change the VDev to be a 
single address, but installable at many addresses. Then multiplex on the 
handled addresses within the VDev methods.

Ted Roth





reply via email to

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