comp.lang.ada
 help / color / mirror / Atom feed
From: happy_teddys@hotmail.com (Jim)
Subject: Re: Is there a translator from SPARK Ada to VHDL?
Date: 10 Feb 2005 10:03:46 -0800
Date: 2005-02-10T10:03:46-08:00	[thread overview]
Message-ID: <2e9040a1.0502101003.3f46ce16@posting.google.com> (raw)
In-Reply-To: 1106480549.963006.322830@z14g2000cwz.googlegroups.com

"Suslik" <adi.google.@suslik.org> wrote in message news:<1106480549.963006.322830@z14g2000cwz.googlegroups.com>...
> Upkeep wrote:
> > Straightforward search in Google for "Ada VHDL translator"
> immediately
> > brings "Ada to Behavioral VHDL Translator" in many references.
> 
> Yep, that's Sheraga's work.  He did something similar with C too.
> 
> The big problem is that behavioural VHDL (expressive, remarkably like
> Ada in syntax including a reasonable type system and iterative control
> structures) is not the same thing as synthesizable VHDL (very small
> subset, limited to reacting to signals on wires and updating state).
> And your VHDL must be synthesizable in order to load it onto an FPGA or
> produce an ASIC design.  Since mapping from behavioural to
> synthesizable VHDL is very hard in the general case, you have a
> problem.  (A secondary problem is that there is still not agreement on
> what VHDL is really synthesizable, although some progress has been made
> with a working group in this area).
> 
> The eventual aim of the work I started on SPARK-to-VHDL was to provide
> a synthesizable VHDL implementation of SPARK programs.  A key step is
> to route through the Pebble synchronous hardware description language
> which maps nicely onto synthesizable VHDL.  You can choose to produce a
> pipelined implementation or a machine that executes SPARK pseudo-code.
> I also looked at how you can take a selected portion of a SPARK
> program, implement it in hardware, and replace its implementation with
> a handshaking interface to the hardware while still keeping the SPARK
> program description correct.

thank you for your reply. I think, that the Spark Ada isn't suitable
for hardware description, special for FPGA in safety critical systems,
because man must translates from Ada code into Pebble, then into VHDL,
in this procedure how can man assure that no errors of the code are
arisen? Furthermore why do you use Pebble? Why does man translate from
Ada direct into VHDL code, then  with the other synthesis tool
e.g.Xilinx WebPack write VHDL code in FPGA.?
 
I think, maybe Spark Ada is appropriate for the design of a complex
system(e.g. Hardware/Software co-design similar to SystemC) , very
safe language for the software desription.

Jim



  reply	other threads:[~2005-02-10 18:03 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-20 23:44 Is there a translator from SPARK Ada to VHDL? Jim
2005-01-21  4:42 ` Stephen Leake
2005-01-21  7:26   ` Vinzent 'Gadget' Hoefler
2005-01-21 15:25     ` Peter Amey
2005-02-27 15:50   ` Colin Paul Gloster
2005-01-21  6:06 ` Upkeep
2005-01-23 11:42   ` Suslik
2005-02-10 18:03     ` Jim [this message]
2005-02-27 15:49       ` Paul Colin Gloster
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox