From: Simon Wright <simon@pushface.org>
Subject: Re: SPARK 2014 and protected objects
Date: Wed, 31 Aug 2016 21:55:41 +0100
Date: 2016-08-31T21:55:41+01:00 [thread overview]
Message-ID: <lyzinshd4i.fsf@pushface.org> (raw)
In-Reply-To: 7b6e2997-fea8-4840-8829-8f975b4eed4a@googlegroups.com
Shark8 <onewingedshark@gmail.com> writes:
>> I had Protected_Value outside the PO because it's standing in for a
>> number of I/O registers communicating with devices on a shared SPI
>> bus via their /Chip Select lines. Not sure how to deal with the
>> concept of "a number of machine registers"!
>
> Well, if they're memory-mapped registers you could use something like:
> Regester_A : Word with Address => Location;
I meant rather how I was to get SPARK to handle them. I suppose one
could detail each individual register or even bit field, but as far as I
can see most folk just turn SPARK_Mode off.
next prev parent reply other threads:[~2016-08-31 20:55 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-30 10:34 SPARK 2014 and protected objects Simon Wright
2016-08-30 14:45 ` Shark8
2016-08-30 15:33 ` Simon Wright
2016-08-30 18:42 ` Simon Wright
2016-08-30 18:47 ` Simon Wright
2016-08-31 0:11 ` Shark8
2016-08-31 7:42 ` Simon Wright
2016-08-31 15:41 ` Shark8
2016-08-31 20:55 ` Simon Wright [this message]
2016-09-01 20:07 ` Shark8
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox