f



How to integrate Matlab, c++, and verilog


-------- Original Message --------
Date: 12 Sep 2003 23:52:45 GMT
Newsgroups: comp.lang.verilog

Hello,

My university has NC-verilog from cadence.  I've used
it mostly from the command-line, in much the same way I
used verilog-XL.

I have also used matlab/c++ (with the standard template
library, STL) to explore some CAD algorithms.  Matlab
is the top-most environment.  It calls my C++ program,
which was compiled in a very specifical way (described
in the matlab documentation) to be called as a dynamic
library.  My C++ program does call-backs to the parent
matlab environment for some things.  Some matlab files
are also used in the compilation process.

I've come to a phase in my thesis where I have to
combine matlab, C++/STL, and nc-verilog.  The C++ code
must evaluate a great number of verilog designs by
repeatedly invoking simulations.  Hopefully, I can do
this by keeping the simulation engine running and
simply resubmitting various verilog files.  Only
certain parameter definitions will change between the
various simulations.  Hopefully, I can avoid
recompiling.  Ideally, I can extract output data from
certain nodes without having to write to a file.

My understanding is that API work can be very
cumbersome and messy.  A colleague suggested looking at
SystemC.  He has some experience with Verilog's PLI,
but advises against going that route.  So I will start
checking out the SystemC website.

I wonder if more experienced people than I can give me
a heads up on what to expect.  Can I still have matlab
as the topmost environment, with my C++ code launching
some verilog environment?  I mean cleanly, of course,
though some way is better than no way.  Is there an
example/tutorial on this?

Thanks.

Fred
0
fma (165)
9/14/2003 4:09:49 AM
comp.cad.cadence 5429 articles. 8 followers. Post Follow

0 Replies
1074 Views

Similar Articles

[PageSpeed] 44

Reply:

Similar Artilces:

C/C++ in matlab and matlab in C/C++ ?
Is it possible to read C/C++ code in matlab and the other way around too? Hi, as long as C or C++ are written in text files you can edit them in the matlab editor. To see the special character of C or C++ coding language, in the editor go to menus: file>preferences>Edito/Debugger>language and on popup "Language" select "C/C++". This does not allow you to run the C/C++ code, just to view it i nicer way... regards, chris saneman <asdfsdf@asd.com> wrote in message <frl846 $f8i$2@news.net.uni-c.dk>... > Is it possible to read C/C...

methods to call matlab in C C++ and call C C++ in matlab
Hi, I am reading the help documents about how to program matlab and C C++ together and my questions are a little bit general. It seems that are several ways to call matlab in C C++ and another several ways to call C C++ in matlab. Please correct me if I am wrong or missing something when I try to list them. To call matlab code in C C++, are there two methods available? The first one is Matlab engine and the second one is to use MATLAB Compiler mcc to create C or C++ shared libraries from your MATLAB code. To call C C++ in matlab, are there also two methods? The first one is to call funct...

C/C++ in MATALB or MATLAB in C/C++?
Hi I've been asking on the net how to use MEX properly so that I can use C/C++ in MATLAB, but information is not forthcoming. There seems to be a lot on using MATLAB in C/C++ but not the other way around. I understand Mathworks is trying very hard to sell the Matlab Compiler, but even so, why is it SO hard to get information about MEX? Or is it that I've missed something very fundamental, meaning that I'm struggling over something that is actually quite easy? Any thoughts and info would be great. Thanks BullDog BullDog wrote: > Hi > > I've been asking on the net ...

US-MA-Natick: Developer, C++, C, XML, Java, MATLAB, Simulink, CAD tools; C-P (45306657604)
US-MA-Natick: Developer, C++, C, XML, Java, MATLAB, Simulink, CAD tools; C-P (45306657604) ========================================================================================== Position: Developer Reference: SMC01487 Location: Natick MA Duration: C-P Skills: 3+yrs of software engineering with strong C++, C, XML, and Java programming skills. Experience with MATLAB and Simulink. Knowledge in simulation algorithms and engineering systems. Experience with engineering simulation and CAD tools Please send your curre...

US-MA-Natick: Developer, C++, C, XML, Java, MATLAB, Simulink, CAD tools; C-P (45306646688)
US-MA-Natick: Developer, C++, C, XML, Java, MATLAB, Simulink, CAD tools; C-P (45306646688) ========================================================================================== Position: Developer Reference: SMC01487 Location: Natick MA Duration: C-P Skills: 3+yrs of software engineering with strong C++, C, XML, and Java programming skills. Experience with MATLAB and Simulink. Knowledge in simulation algorithms and engineering systems. Experience with engineering simulation and CAD tools Please s...

US-MA-Natick: Developer, C++, C, XML, Java, MATLAB, Simulink, CAD tools; C-P (45307232407)
US-MA-Natick: Developer, C++, C, XML, Java, MATLAB, Simulink, CAD tools; C-P (45307232407) ========================================================================================== Position: Developer Reference: SMC01487 Location: Natick MA Duration: C-P Skills: 3+yrs of software engineering with strong C++, C, XML, and Java programming skills. Experience with MATLAB and Simulink. Knowledge in simulation algorithms and engineering systems. Experience with engineering simulation and CAD tools Please send your curre...

US-MA-Natick: Developer, C++, C, XML, Java, MATLAB, Simulink, CAD tools; C-P (45306932416)
US-MA-Natick: Developer, C++, C, XML, Java, MATLAB, Simulink, CAD tools; C-P (45306932416) ========================================================================================== Position: Developer Reference: SMC01487 Location: Natick MA Duration: C-P Skills: 3+yrs of software engineering with strong C++, C, XML, and Java programming skills. Experience with MATLAB and Simulink. Knowledge in simulation algorithms and engineering systems. Experience with engineering simulation and CAD tools Please send your curre...

US-MA-Natick: Developer, C++, C, XML, Java, MATLAB, Simulink, CAD tools; C-P (45307257608)
US-MA-Natick: Developer, C++, C, XML, Java, MATLAB, Simulink, CAD tools; C-P (45307257608) ========================================================================================== Position: Developer Reference: SMC01487 Location: Natick MA Duration: C-P Skills: 3+yrs of software engineering with strong C++, C, XML, and Java programming skills. Experience with MATLAB and Simulink. Knowledge in simulation algorithms and engineering systems. Experience with engineering simulation and CAD tools Please s...

vectorized computation in C++ such as those in Matlab (Matlab to C++)?
Dear all, Can C++/STL/Boost do the vectorized calculation as those in Matlab? For example, in the following code, what I really want to do is to send in a vector of u's. All other parameters such as t, l1, l2, l3, etc. are scalars... But u is a vector. Thus, t6 becomes a vector. t9 is an element-wise multiplication... The following code was actually converted from Matlab. If vectorized computation is not facilitated, then I have to call this function millions of times. But if vectorized computation is okay, then I can send in just a u vector with batch elements a time. I have many such code in Matlab need to be converted into C++ with vectorization. Any thoughts? Thank you! double t5, t6, t7, t9, t11, t13, t16, t20, t23, t27, t32, t34, t36, t37, t38, t42, t44, t47, t48, t51, t52, t54, t59, t60, t61, t66, t67, t69, t74, t75, t76, t81, t82, t84, t87, t105, t106, t110, t112; t5 = exp(-t * l1 - t * l2 - t * l3); t6 = t * u; t7 = mu1 * mu1; t9 = u * u; t11 = kappa * kappa; t13 = 0.1e1 / (t9 * t7 + t11); > Dear all, > > Can C++/STL/Boost do the vectorized calculation as those in Matlab? > > For example, in the following code, what I really want to do is to > send in a vector of u's. > > All other parameters such as t, l1, l2, l3, etc. are scalars... > > But u is a vector. > > Thus, t6 becomes a vector. > > t9 is an element-wise multiplication... > > The following code was actually converted f...

matlab beginner: calling matlab from C/C++
I'm relatively new to the world of Matlab. I want to call my matlab own code from a C/C++ program on a machine with matlab installed. Do I need to compile the matlab code using matlab compiler tool or the matlab engine is enough for this? Thanks a lot for your help On Nov 28, 10:03 am, "Paeo Campigotto" <campigo...@dit.unitn.it> wrote: > I'm relatively new to the world of Matlab. > I want to call my matlab own code from a C/C++ program on a > machine with matlab installed. > Do I need to compile the matlab code using matlab compiler > tool or the matla...

US-TX-Austin: Signal Processing Eng., C/C++, Matlab, Verilog, algorithm devel.; (45339157602)
US-TX-Austin: Signal Processing Eng., C/C++, Matlab, Verilog, algorithm devel.; (45339157602) ============================================================================================= Position: Signal Processing Eng. Reference: SMC01894 Location: Austin TX Duration: Perm Skills: 6 years of total industry experience or greater An in-depth knowledge of signal processing algorithm development A solid understanding of C/C++ and Matlab A solid understanding of Verilog or similar language Pr...

US-TX-Austin: Signal Processing Eng., C/C++, Matlab, Verilog, algorithm devel.; (45338414402)
US-TX-Austin: Signal Processing Eng., C/C++, Matlab, Verilog, algorithm devel.; (45338414402) ============================================================================================= Position: Signal Processing Eng. Reference: SMC01894 Location: Austin TX Duration: Perm Skills: 6 years of total industry experience or greater An in-depth knowledge of signal processing algorithm development A solid understanding of C/C++ and Matlab A solid understanding of Verilog or similar language Pr...

US-TX-Austin: Signal Processing Eng., C/C++, Matlab, Verilog, algorithm devel.; (45336914404)
US-TX-Austin: Signal Processing Eng., C/C++, Matlab, Verilog, algorithm devel.; (45336914404) ============================================================================================= Position: Signal Processing Eng. Reference: SMC01894 Location: Austin TX Duration: Perm Skills: 6 years of total industry experience or greater An in-depth knowledge of signal processing algorithm development A solid understanding of C/C++ and Matlab A solid understanding of Verilog or similar language Pr...

US-TX-Austin: Signal Processing Eng., C/C++, Matlab, Verilog, algorithm devel.; (45341214405)
US-TX-Austin: Signal Processing Eng., C/C++, Matlab, Verilog, algorithm devel.; (45341214405) ============================================================================================= Position: Signal Processing Eng. Reference: SMC01894 Location: Austin TX Duration: Perm Skills: 6 years of total industry experience or greater An in-depth knowledge of signal processing algorithm development A solid understanding of C/C++ and Matlab A solid understanding of Verilog or similar language Pr...

US-TX-Austin: Signal Processing Eng., C/C++, Matlab, Verilog, algorithm devel.; (45340314409)
US-TX-Austin: Signal Processing Eng., C/C++, Matlab, Verilog, algorithm devel.; (45340314409) ============================================================================================= Position: Signal Processing Eng. Reference: SMC01894 Location: Austin TX Duration: Perm Skills: 6 years of total industry experience or greater An in-depth knowledge of signal processing algorithm development A solid understanding of C/C++ and Matlab A solid understanding of Verilog or similar language Pr...

US-TX-Austin: Signal Processing Eng., C/C++, Matlab, Verilog, algorithm devel.; (45342658836)
US-TX-Austin: Signal Processing Eng., C/C++, Matlab, Verilog, algorithm devel.; (45342658836) ============================================================================================= Position: Signal Processing Eng. Reference: SMC01894 Location: Austin TX Duration: Perm Skills: 6 years of total industry experience or greater An in-depth knowledge of signal processing algorithm development A solid understanding of C/C++ and Matlab A solid understanding of Verilog or similar language Pr...

US-TX-Austin: Signal Processing Eng., C/C++, Matlab, Verilog, algorithm devel.; (45342914401)
US-TX-Austin: Signal Processing Eng., C/C++, Matlab, Verilog, algorithm devel.; (45342914401) ============================================================================================= Position: Signal Processing Eng. Reference: SMC01894 Location: Austin TX Duration: Perm Skills: 6 years of total industry experience or greater An in-depth knowledge of signal processing algorithm development A solid understanding of C/C++ and Matlab A solid understanding of Verilog or similar language Prior experience in a communications or related IC development environment Knowledgeable with standard IC design tool flows Wireless LAN or OFDM algorithm experience Excellent communication skills Scope: Signal processing design engineer. Activities include algorithm development and implementation in both RTL and firmware for wireless communications ASICs. Responsibilities: Actively participating in the definition and implementation of communication ASICs Algorithm design Implementation and debug Methodology definition Please send your current resume in confidence to <staffing@eurosoft-inc.com> ..45342914401. ...

US-TX-Austin: Signal Processing Eng., C/C++, Matlab, Verilog, algorithm devel.; (45345332406)
US-TX-Austin: Signal Processing Eng., C/C++, Matlab, Verilog, algorithm devel.; (45345332406) ============================================================================================= Position: Signal Processing Eng. Reference: SMC01894 Location: Austin TX Duration: Perm Skills: 6 years of total industry experience or greater An in-depth knowledge of signal processing algorithm development A solid understanding of C/C++ and Matlab A solid understanding of Verilog or similar language Pr...

US-TX-Austin: Signal Processing Eng., C/C++, Matlab, Verilog, algorithm devel.; (45337214404)
US-TX-Austin: Signal Processing Eng., C/C++, Matlab, Verilog, algorithm devel.; (45337214404) ============================================================================================= Position: Signal Processing Eng. Reference: SMC01894 Location: Austin TX Duration: Perm Skills: 6 years of total industry experience or greater An in-depth knowledge of signal processing algorithm development A solid understanding of C/C++ and Matlab A solid understanding of Verilog or similar language Pr...

US-TX-Austin: Signal Processing Eng., C/C++, Matlab, Verilog, algorithm devel.; (45338157629)
US-TX-Austin: Signal Processing Eng., C/C++, Matlab, Verilog, algorithm devel.; (45338157629) ============================================================================================= Position: Signal Processing Eng. Reference: SMC01894 Location: Austin TX Duration: Perm Skills: 6 years of total industry experience or greater An in-depth knowledge of signal processing algorithm development A solid understanding of C/C++ and Matlab A solid understanding of Verilog or similar language Pr...

US-TX-Austin: Signal Processing Eng., C/C++, Matlab, Verilog, algorithm devel.; (45346257607)
US-TX-Austin: Signal Processing Eng., C/C++, Matlab, Verilog, algorithm devel.; (45346257607) ============================================================================================= Position: Signal Processing Eng. Reference: SMC01894 Location: Austin TX Duration: Perm Skills: 6 years of total industry experience or greater An in-depth knowledge of signal processing algorithm development A solid understanding of C/C++ and Matlab A solid understanding of Verilog or similar language Pr...

US-TX-Austin: Signal Processing Eng., C/C++, Matlab, Verilog, algorithm devel.; (45340632407)
US-TX-Austin: Signal Processing Eng., C/C++, Matlab, Verilog, algorithm devel.; (45340632407) ============================================================================================= Position: Signal Processing Eng. Reference: SMC01894 Location: Austin TX Duration: Perm Skills: 6 years of total industry experience or greater An in-depth knowledge of signal processing algorithm development A solid understanding of C/C++ and Matlab A solid understanding of Verilog or similar language Pr...

US-TX-Austin: Signal Processing Eng., C/C++, Matlab, Verilog, algorithm devel.; (45346532419)
US-TX-Austin: Signal Processing Eng., C/C++, Matlab, Verilog, algorithm devel.; (45346532419) ============================================================================================= Position: Signal Processing Eng. Reference: SMC01894 Location: Austin TX Duration: Perm Skills: 6 years of total industry experience or greater An in-depth knowledge of signal processing algorithm development A solid understanding of C/C++ and Matlab A solid understanding of Verilog or similar language Pr...

US-TX-Austin: Signal Processing Eng., C/C++, Matlab, Verilog, algorithm devel.; (45347132400)
US-TX-Austin: Signal Processing Eng., C/C++, Matlab, Verilog, algorithm devel.; (45347132400) ============================================================================================= Position: Signal Processing Eng. Reference: SMC01894 Location: Austin TX Duration: Perm Skills: 6 years of total industry experience or greater An in-depth knowledge of signal processing algorithm development A solid understanding of C/C++ and Matlab A solid understanding of Verilog or similar language Pr...

Web resources about - How to integrate Matlab, c++, and verilog - comp.cad.cadence

Spredfast Integrates Bazaarvoice To Add Input From Users Of Facebook, Other Social Networks
... networks often play a role in purchasing decisions. Recognizing this, social marketing software provider Spredfast announced that it integrated ...

Apple’s iPhoto ’09 Integrates Facebook Connect for Easier Photo Sharing
Free Trial with Qwaya – the affordable Facebook advertising tool. Supports bulk editing, scheduling, rules, conversion tracking and more. Sign ...

Integrate Inc.
Learn about working at Integrate Inc.. Join LinkedIn today for free. See who you know at Integrate Inc., leverage your professional network, ...

Payments : What are the best payment processors to integrate with for global payment coverage?
Payments : What are the best payment processors to integrate with for global payment coverage?

SnapEntry - fast diary/journal, integrates with Evernote on the App Store
Read reviews, compare customer ratings, see screenshots, and learn more about SnapEntry - fast diary/journal, integrates with Evernote. Download ...

StumbleUpon Integrates into Google Results - Flickr - Photo Sharing!
Explore Tamar Weinberg's photos on Flickr. Tamar Weinberg has uploaded 4087 photos to Flickr.

How to create a hangout-on-air, integrate with a Google+ event and set it up on YouTube afterwards ...
You'll learn a load of hints and tips for broadcasting your own live events, starting with... Pre event: start hangout, check the box Add in ...

ForeScout integrates its NAC with AirWatch's mobile management - AirWatch, ForeScout Technologies, security ...
ForeScout Technologies and AirWatch have integrated their respective products for network access control and mobile management in a bid to give ...

Shoes of Prey integrates Google Apps, analytics
Shoes of Prey integrates Google Apps, analytics iT News Among those who came on board were Mike Cannon-Brookes, of Atlassian fame, Michael ...

Apple integrates Facebook into iPhone
Apple integrates Facebook into iPhone

Resources last updated: 3/15/2016 6:05:41 PM