comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: Simulation of fixed point in c WITH DIFFERENT BIT-WIDTH
Date: Sun, 30 Oct 2005 18:00:22 +0100
Date: 2005-10-30T18:00:20+01:00	[thread overview]
Message-ID: <1pha1l3xyu60.3jh4odnl0esm$.dlg@40tude.net> (raw)
In-Reply-To: 1130690498.388857.225170@g49g2000cwa.googlegroups.com

On 30 Oct 2005 08:41:38 -0800, mnamky wrote:

> Consider the following exaple
> y = x * b'
> 
> where x is 12-bit wordlength and 11-bit fraction
> and b is 16-bit wordlength and 14-bit fraction

... and b' is a differential of b? (:-)) 
 
> simulation of this code

What does it mean to "simulate code"?

> is rather easy im Matlab but how could we do a
> full analysis of this code in C with a good precision?

"Precision of full code analysis" sounds like compiler writing. Are you
writing a compiler ... in MATLAB/Simulink? (:-))

AFAIK, MATLAB/Simulink generates C and Ada code, so you can take a look at
it.

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de



  reply	other threads:[~2005-10-30 17:00 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-30 16:41 Simulation of fixed point in c WITH DIFFERENT BIT-WIDTH mnamky
2005-10-30 17:00 ` Dmitry A. Kazakov [this message]
2005-10-30 21:46 ` Gautier Write-only
2005-11-01  2:50 ` Steve
2005-11-02 10:42 ` Colin Paul Gloster
2005-11-02 20:43   ` Gautier Write-only
2005-11-03  6:13   ` Simon Wright
2005-11-03 10:46     ` Colin Paul Gloster
2005-11-03 13:47     ` Robert A Duff
2005-11-03 14:33       ` Dmitry A. Kazakov
2005-11-03 18:19         ` Jeffrey R. Carter
2005-11-03 20:55         ` Simon Wright
2005-11-02 10:57 ` Colin Paul Gloster
2005-11-02 14:49   ` Martin Krischik
2005-11-02 20:40   ` Gautier Write-only
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox