----------------------------------------
> Date: Thu, 31 Jul 2008 00:11:33 -0400
> From: [EMAIL PROTECTED]
> To: [email protected]
> Subject: Re: Any company ever publish software that mimics their CPUs 
> *exactly*?
> 
> On Wed, Jul 30, 2008 at 08:56:47PM -0700, Deke Clinger wrote:
>> It sounds like you're basically asking for the designs for the chip
>> itself. Based on my (very limited) knowledge of EDA you might ask the
>> vendor for the logical description of the part in question (likely in
>> the form of a VHDL or Verilog file).
> 
> How similar to C or Python is VHDL and Verilog?  Ideally I'd like to be able
> to automatically convert VHDL/Verilog to C or Python.
> 
> I hope you won't tell me that VHDL and Verilog are very different than general
> programming languages.
> 
VHDL and verilog are not programming languages, they're hardware description 
languages.  They're meant to emulate hardware, and as such have a totally 
different model.  For example-  in VHDL, every statement executes concurrently. 
 So you can't go

x=7;
y=x+1;

The end result is undefined for y, because what value it got for x is unknown.  
Variables are meant to be for pinouts and state storage for the next clock tick 
only.

Gabe

--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to