From: Brian Drummond <brian3@shapes.demon.co.uk>
Subject: Re: Augusta: An open source Ada 2012 compiler (someday?)
Date: Sat, 22 Mar 2014 14:30:57 GMT
Date: 2014-03-22T14:30:57+00:00 [thread overview]
Message-ID: <B8hXu.47511$N24.42992@fx09.fr7> (raw)
In-Reply-To: UDFWu.62053$ac6.46054@fx30.iad
On Thu, 20 Mar 2014 11:35:37 -0700, Shark8 wrote:
> On 19-Mar-14 16:04, Brian Drummond wrote:
>> I strongly believe Ada and VHDL users should talk to each other more
>> than they do!
>
> Isn't that because VHDL is essentially concerned about hardware and
> [most] programmers are essentially worried about software?
These days most hardware designers worry about software too. For testing
and verification, but also much hardware requires software in the form of
drivers, API, applications, or contains its own CPU and requires embedded
SW.
Add in the need to verify DSP algorithms, and hardware designers would
love to see a language that natively supported fixed-point arithmetic.
instead, SystemC adds C++ classes to support user-specified datatypes
including fixed point and is becoming popular...
There is also the move towards "high level synthesis" that can take code
developed in a "high level language" meaning some dialect of C (or
SystemC) and synthesise to hardware, bringing all the benefits of C to
hardware design.
(now why do I find this depressing?)
>-- That said,
> would if be possible/feasible to have a compiler that takes a VHDL
> description of some architecture and Ada source and compile it to run on
> that architecture?
Not at all easy. An instruction set description of some architecture
would be much easier - and allow a compiler to target any CPU for which
such a description can be written.
I am more interested in the synergies between Ada and VHDL as languages.
For example :
A decent subset of Ada is nearly identical to VHDL, allowing users to
switch between them quite painlessly.
The ability to model floating and fixed point and compare accuracy is
very useful (VHDL doesn't natively support fixed point, but having a
proven model to port to the fixed point libraries would be very useful)
Despite the long time use of formal tools (eg static timing analysis) in
HW design, Ada is ahead in formal tools for correctness (SPARK et al)
The Spark restrictions on Ada share quite a lot with the restrictions
inherent in the synthesisable subset of VHDL.
High level synthesis techniques developed for other languages should be
equally applicable to Ada and VHDL.
The only HLS work I know about for Ada is the York Hardware Ada Compiler
http://www.cs.york.ac.uk/ftpdir/reports/2005/YCST/09/YCST-2005-09.pdf
which is an interesting paper, but slightly undermined by the fact that
the subset of Ada (at least in the published example) is essentially
synthesisable VHDL!
- Brian
next prev parent reply other threads:[~2014-03-22 14:30 UTC|newest]
Thread overview: 51+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-19 13:24 Augusta: An open source Ada 2012 compiler (someday?) Peter Chapin
2014-03-19 18:56 ` Tero Koskinen
2014-03-19 23:02 ` Peter Chapin
2014-03-20 18:13 ` Shark8
2014-03-20 22:41 ` Augusta: An open source Ada 2012 compiler (someday?) (Off topic) erlo
2014-03-20 23:21 ` Randy Brukardt
2014-03-19 23:04 ` Augusta: An open source Ada 2012 compiler (someday?) Brian Drummond
2014-03-19 23:24 ` Peter Chapin
2014-03-20 0:00 ` Brian Drummond
2014-03-20 18:35 ` Shark8
2014-03-22 14:30 ` Brian Drummond [this message]
2014-03-20 10:23 ` Lucretia
2014-03-20 10:49 ` J-P. Rosen
2014-03-20 23:15 ` Randy Brukardt
2014-03-24 8:18 ` J Kimball
2014-03-24 9:17 ` Thomas Løcke
2014-03-24 10:00 ` Brian Drummond
2014-03-24 14:16 ` Luke A. Guest
2014-03-24 12:51 ` Peter Chapin
2014-03-24 21:21 ` Randy Brukardt
2014-03-24 23:18 ` Dennis Lee Bieber
2014-03-24 23:50 ` J Kimball
2014-03-25 9:37 ` Stefan.Lucks
2014-03-25 20:47 ` Randy Brukardt
2014-03-25 19:41 ` Michael B.
2014-03-26 1:50 ` Shark8
2014-03-26 20:39 ` Simon Clubley
2014-03-27 9:32 ` Shark8
2014-03-27 20:02 ` Simon Clubley
2014-03-27 20:38 ` Lucretia
2014-03-27 21:51 ` Niklas Holsti
2014-03-27 22:32 ` Luke A. Guest
2014-03-28 5:12 ` Shark8
2014-03-28 5:11 ` J Kimball
2014-03-28 8:06 ` Georg Bauhaus
2014-03-28 11:31 ` Peter C. Chapin
2014-03-31 23:43 ` Randy Brukardt
2014-03-28 8:56 ` Dmitry A. Kazakov
2014-03-28 19:20 ` Dan'l Miller
2014-03-28 20:40 ` Dmitry A. Kazakov
2014-03-29 12:34 ` Dan'l Miller
2014-03-29 13:36 ` Dmitry A. Kazakov
2014-03-29 12:42 ` Dan'l Miller
2014-03-29 0:15 ` Peter Chapin
2014-03-29 3:39 ` Shark8
2014-03-29 8:46 ` Georg Bauhaus
2014-03-29 16:35 ` Peter Chapin
2014-03-29 9:51 ` Georg Bauhaus
2014-03-20 19:03 ` Shark8
2014-03-20 18:10 ` Shark8
2014-03-20 18:20 ` Qun-Ying
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox