On 10/26/06, Ara.T.Howard <ara.t.howard / noaa.gov> wrote:
>
> i need to model the on board cpu of a satellite in order to mock running
> uploaded commands.  basically i need to model the internal state and all
> incoming commands so i can determine register states at a given point in time.
> has anyone out there done something similar?  and helpful libs?  basically
> i'll need something like
>
>   dmsp_cpu = cpu{
>     register 'oax'
>     register 'oal'
>
>     mem 0x55, :value => 0x2a39
>
>     instruction 'oaxload' do |value|
>       oax[ value ]
>     end
>   }
>
> etc.
>

You might want take a look at RHDL ( http://rhdl.rubyforge.org )

Phil