FPGA Central - World's 1st FPGA / CPLD Portal

FPGA Central

World's 1st FPGA Portal

 

Go Back   FPGA Groups > NewsGroup > FPGA

FPGA comp.arch.fpga newsgroup (usenet)

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-22-2007, 11:22 AM
dilip
Guest
 
Posts: n/a
Default converter

hi fnds,
is there any software that converts 'c' program to a 'vhdl' program??
Reply With Quote
  #2 (permalink)  
Old 11-22-2007, 11:57 AM
Jonathan Bromley
Guest
 
Posts: n/a
Default Re: converter

On Thu, 22 Nov 2007 03:22:02 -0800 (PST),
dilip <[email protected]> wrote:

> is there any software that converts
> 'c' program to a 'vhdl' program??


Not without application of brain, no.

Look for information on some relevant products:

Cynthesizer (Forte Design Systems)
Catapult C (Mentor Graphics)
C-synthesis (Celoxica)
CyberWorkBench (NEC)
SystemStudio (Synopsys)

and probably a bunch more I haven't thought of.

To get you started, here's a translation of a well-known
C program into VHDL, achieved without any special software:

use std.textio.all;
entity hello is end;
architecture world of hello is
begin
process
begin
write(output, "Hello World" & CR & LF);
wait;
end process;
end;

--
Jonathan Bromley, Consultant

DOULOS - Developing Design Know-how
VHDL * Verilog * SystemC * e * Perl * Tcl/Tk * Project Services

Doulos Ltd., 22 Market Place, Ringwood, BH24 1AW, UK
[email protected]
http://www.MYCOMPANY.com

The contents of this message may contain personal views which
are not the views of Doulos Ltd., unless specifically stated.
Reply With Quote
  #3 (permalink)  
Old 11-25-2007, 09:57 AM
glen herrmannsfeldt
Guest
 
Posts: n/a
Default Re: converter

dilip wrote:

> is there any software that converts 'c' program to a 'vhdl' program??


There is always a C compiler generating a ROM for a processor
implemented in VHDL ready to synthesize. That might not be what you meant.

The thought process is different between serial C and "everything
happens all the time" HDL's. A VHDL program is more like wire
and gates, and very little like a C program.

-- glen

Reply With Quote
  #4 (permalink)  
Old 11-25-2007, 05:42 PM
Mike Treseler
Guest
 
Posts: n/a
Default Re: converter

glen herrmannsfeldt wrote:

> The thought process is different between serial C and "everything
> happens all the time" HDL's. A VHDL program is more like wire
> and gates, and very little like a C program.


.... unless the hardware description is completed
in a single process using no signals. Some examples:
http://home.comcast.net/~mike_treseler/

-- Mike Treseler
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
FPGA + A/D converter Srikanth Anumalla FPGA 3 06-02-2004 10:59 PM
Re: LCD and step-up DC-DC converter. Rob Judd FPGA 0 08-05-2003 03:47 AM


All times are GMT +1. The time now is 09:58 AM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Copyright 2008 @ FPGA Central. All rights reserved