converter

Nov 22, 2007 3 Replies

hi fnds, 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 jonathan.bromley@MYCOMPANY.com http://www.MYCOMPANY.com The contents of this message may contain personal views which are not the views of Doulos Ltd., unless specifically stated.

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

... unless the hardware description is completed in a single process using no signals. Some examples:

formatting link

-- Mike Treseler

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required