Re: C compiler supporting arbitrary bit width integral datatypes?

=?ISO-8859-1?Q?Bj=F6rn_Franke?= <bfranke@inf.ed.ac.uk>
Thu, 11 Jun 2009 15:21:03 +0100

          From comp.compilers

Related articles
C compiler supporting arbitrary bit width integral datatypes? ihusar@fit.vutbr.cz (2009-06-07)
Re: C compiler supporting arbitrary bit width integral datatypes? bfranke@inf.ed.ac.uk (=?ISO-8859-1?Q?Bj=F6rn_Franke?=) (2009-06-08)
Re: C compiler supporting arbitrary bit width integral datatypes? harold.aptroot@gmail.com (Harold Aptroot) (2009-06-08)
Re: C compiler supporting arbitrary bit width integral datatypes? jeremy.bennett@embecosm.com (Jeremy Bennett) (2009-06-11)
Re: C compiler supporting arbitrary bit width integral datatypes? bfranke@inf.ed.ac.uk (=?ISO-8859-1?Q?Bj=F6rn_Franke?=) (2009-06-11)
Re: C compiler supporting arbitrary bit width integral datatypes? jeremy.bennett@embecosm.com (Jeremy Bennett) (2009-06-11)
| List of all articles for this month |

From: =?ISO-8859-1?Q?Bj=F6rn_Franke?= <bfranke@inf.ed.ac.uk>
Newsgroups: comp.compilers
Date: Thu, 11 Jun 2009 15:21:03 +0100
Organization: Edinburgh University
References: 09-06-028 09-06-036 09-06-043
Keywords: C, architecture
Posted-Date: 11 Jun 2009 10:27:33 EDT



Jeremy Bennett wrote:


> Or use the language behind the CoWare tools, SystemC, which has a
> free and open source reference implementation
> (www.systemc.org). It's a template library for C++ aimed at hardware
> modeling. Standardized as IEEE 1666, which unusually for the IEEE
> can be downloaded free.


As far as I know the language behind CoWare's Processor Designer is LISA
. On Coware's website it says:


"The key to Processor Designer's automation is its Language for
Instruction Set Architectures, LISA 2.0. In contrast to SystemC, which
has been developed for efficient specification of systems, LISA 2.0 is
a processor description language that incorporates all necessary
processor-specific components such as register files, pipelines, pins,
memory and caches, and instructions. "


> CoWare's tools are good, and they have other tools aimed at ASICs in
> general. There are plenty of others out there as well. Generally
> they add a graphical development environment (Eclipse based in many
> cases, including CoWare) and libraries of pre-packaged IP models
> (bus protocols, common peripherals, transactors). However the
> underlying functionality of SystemC may be sufficient for your
> purposes.


I'm not quite sure how SystemC might help the original poster in
constructing the compiler targeting arbitrary bit-width integers.


Cheers,


        Bjoern








>> ihusar@fit.vutbr.cz wrote:
>>> Hello everyone,
>>>
>>> I am working on a project, where we are trying to make a development
>>> environment for new ASIP processor design. This project, among other
>>> parts, contains compiler and simulator generator. For these two parts,
>>> I would need some C compiler, that supports arbitrary bit-width
>>> integers.
>>>
>>> For the simulator, we need to generate code that simulates registers of
>>> arbitrary bit width and for compiler generator, we would need to
>>> optimize C code that describes instruction's behavior to extract
>>> instruction selectrion rule for each instruction,
>>>
>>> Have you heard or read about such compiler? (any references would be
>>> useful)
>>>
>>> P.S.: So far, I have found Valen-C project (quite old, not made it work
>>> yet), then I tried the clang frontend (it seems that to implement
>>> support would be quite problematic but not impossible) and also I am
>>> going to try some synthetizers that generate HW from C code.



Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.