首页 | 本学科首页   官方微博 | 高级检索  
相似文献
 共查询到19条相似文献,搜索用时 140 毫秒
1.
嵌入式实时程序设计中C/C++代码的优化   总被引:5,自引:0,他引:5  
本文简单介绍了嵌入式实时程序设计的特点和嵌入式系统中语言的选择,着重介绍了以下几种在嵌入式实时程序设计中优化C/C++代码的方法。  相似文献   

2.
针对嵌入式数据库中B+_树索引机制的空间利用率低下及面对庞杂数据的处理能力不足,提出了一种改进的B+_树索引机制,使用这种索引机制能较好地解决在存储容量受限的嵌入式系统中提高数据空间利用率和处理庞杂数据能力的问题。  相似文献   

3.
本文提出了一种基于SystemC的嵌入式系统设计方法,SystemC是OSCI(Open SystemC Initiative)组织制定和维护的一种开放源代码的C++建模平台,提供支持硬件建模和仿真的C++类库及相应的仿真内核,SystemC消除了一直存在于系统级设计和硬件设计之间的语言隔阂,支持在整个嵌入式系统设计流程内使用C++来统一描述硬件和软件,基于C++的系统功能定义能够方便有效地映为硬件实现部分和软件实现部分,该方法同传统的设计方法相比更加灵活和有效。  相似文献   

4.
针对嵌入式SQL编程技术,本文论述了C程序中嵌入SQL语句的代码格式,嵌入式SQL语言与C语言之间的通信方式以及嵌入式SQL应用程序在VC++6.0中的编译过程,并给出了直观的代码实例。  相似文献   

5.
本文介绍了用Borland公司的编译器/汇编器/链接器和Paradigm公司的定位器/调试器进行x86嵌入式系统开发的全过程,对其中一些关键性技术难题进行了阐述,并提出了相应的解决办法。本文技术性、实用性较强,对于嵌入式应用软件的开发具有重要指导意义。  相似文献   

6.
用嵌入式SQL语言开发ORACLE数据库应用的方法研究   总被引:1,自引:0,他引:1  
本文旨在研究用嵌入式SQL语言开发ORACLE数据库应用的方法。文章首先介绍了PRO*C/C 预编译器及其在VC环境中的配置方法,然后对运用嵌入式SQL和PRO*C/C 开发ORACLE数据库应用程序的方法进行了系统的研究。  相似文献   

7.
Qt/Embedded(以下简称QtE)是发布Qt库的名公司Trolltech专门面向嵌入式系统的GUI开发库。它是一种C 图形用户界面应用程序构架,可以为开发提供其所需的在嵌入式环境中的、功能全面的图形界面开发工具。它把Qt的全部功能(包括强大的功能和不变的应用程序接口)带入Linux的嵌入式系统。QtE结合了小型  相似文献   

8.
随着嵌入式系统的迅速发展,嵌入式程序的复杂度急剧增加.原有的开发方法无论在开发过程中还是在后期维护上都显得力不从心.文中将面向对象技术在通用程序设计中的成功经验应用于嵌入式开发.BSP是位于嵌入式系统的底层软件,与硬件有着紧密的联系,最能体现嵌入式系统是软件与硬件的结合体这一特点.文中使用了在BSP开发中最常见的例子说明如何在嵌入式系统中使用面向对象技术来提高开发效率,缩短开发周期,提高软件的可维护性.  相似文献   

9.
C+ +Builder5中Windows 消息响应机制分析   总被引:7,自引:0,他引:7  
在Winodws系统,消息是无所不在。C++Builder5的可视化组件库(VCL)提供了对大多数Windows消息的处理机制,程序开发人员在一般情况下无需理会Windows消息的细节。然而由于Windows操作系统终究是一个以消息驱动的系统。掌握C++Builder中如何进行捕获Windows消息仍然是C++Builder5程序开发人员所必需的。本阐述了Windows消息的概念,对C++Builder的消息映射机制进行了系统分析,同时个实际范例,仔细说明了其中之技巧。  相似文献   

10.
《微计算机信息》2005,21(6X):140-140
EC5-1713LDNA是一款采用Intel845Gv芯片组精心设计的工业级多功能嵌入式5.25″socket单板电脑。EC5-1713LDNA具有稳定的性能和强大的功能,可广泛应用于金融,电信,网络,多媒体终端,视频等各个高性能嵌入式要求的场合。  相似文献   

11.
U3D文件在PDF中的应用及其C++编程实现   总被引:2,自引:0,他引:2  
在探讨PDF文件格式的基础上,提出了一种通用三维(简称U3D)文件格式嵌入到PDF文件中的方法。这种方法具有可扩展性,对于如何在其他文件中支持U3D文件格式的应用研究也具有一定的参考价值。最后,还通过C++编程实现了在PDF文件中嵌入3D作品,并允许用户交互地观看显示效果。  相似文献   

12.
朱红 《计算机教育》2009,(15):73-74,88
提高学生的计算机知识水平和实践动手能力,是计算机教学的根本任务。本文提出了一种上机实践教材的新思路,遵循学生的学习规律,从阅读程序模仿程序入手,由浅入深,最后达到拓展思维、提高编程能力的目的。  相似文献   

13.
Kim  K.H. 《Computer》2000,33(6):72-80
Ideally, according to the author, a real-time distributed programming method should be based on a general high-level style that could be easily accommodated by application programmers using C++ and Java. If such a method were to exist, these programmers could specify the interactions among distributed components and the timing requirements of various actions without expending much effort. Facilitating high-level, high precision, real-time object programming by establishing some form of language tools has consequently become a subject of great interest to the embedded systems community. This article focuses on application programming interfaces (APIs) that take the form of C++ and Java class libraries and support high-level, high precision, real-time object programming without requiring new language translators. These APIs wrap the services of the real-time object execution engines, which consist of hardware, node OSs, and middleware; they enable convenient high-level programming almost to the extent that a new real-time object language can. The author explains the API's fundamental features, how they interact among real-time objects, and how multicast channels and real-time multicast APIs contribute  相似文献   

14.
综述MATLAB与VC++的交互编程   总被引:14,自引:0,他引:14  
在通信等工程领域的计算机仿真中,VC和Matlah的交互编程可以结合两者的优点,提高仿真效率。文中介绍了Matlah与VC 之间交互编程的几种方法,包括调用Matlab引擎、C语言mex程序、mat文件操作程序等方法,并特别介绍了Matlab Visual Studio Add-in的使用。同时分析了各种方法的优缺点和适用场合,提出了适合于算法仿真的交互编程方法。  相似文献   

15.
Model-based development (MBD) holds the promise to capture potential timing problems in embedded software during the early phases of the development, securing the production of bug-free embedded software. For most MBD approaches, the source code is just an intermediate artifact that can be generated automatically from the models. This assumption clashes with an undeniable fact: a large share of the commercial embedded software exploits existing libraries or is developed using C/C++ natively. A way to reconcile the ambitions of MBD with the use of a programming language is by offering new language constructs and an innovative compilation tool-chain that prevents model error and timing problems “by construction.” However, the persistent popularity of C/C++ among embedded programmers and the limited availability of tools have severely limited the uptake of alternative programming languages for embedded software. Therefore, we propose an original route. Our language proposal, named Tice, has been shaped as a C++ active library. Tice retains full compatibility with existing C++ code, which can be integrated easily into new Tice-based projects. The enforcement of Tice syntax and semantics can be made by a standard C++ compiler, forgoing the need for new tools. In this article, we describe Tice's syntax, semantics, and model of computation and communication. We demonstrate Tice's practical applicability on an industrial scale use-case and give ample evidence for Tice's efficient compilation using off-the-shelf C++ compilers. Finally, we show Tice's code generation process.  相似文献   

16.
The growing complexity and high efficiency requirements of embedded systems call for new code optimization techniques and architecture exploration, using retargetable C and C++ compilers. The first commercial tools are already in industrial use. Meanwhile, researchers are developing new processor-specific code generation techniques that continually narrow the code quality gap between C compilers and assembly programming. The approaches that achieve the right balance of flexibility, code quality, retargeting effort, and compatibility with existing design tools will be successful  相似文献   

17.
The real-time simulation of multibody models on embedded systems is of particular interest for controllers and observers such as model predictive controllers and state observers, which rely on a dynamic model of the process and are customarily executed in electronic control units. This work first identifies the software techniques and tools required to easily write efficient code for multibody models to be simulated on ARM-based embedded systems. Automatic Programming and Source Code Translation are the two techniques that were chosen to generate source code for multibody models in different programming languages. Automatic Programming is used to generate procedural code in an intermediate representation from an object-oriented library and Source Code Translation is used to translate the intermediate representation automatically to an interpreted language or to a compiled language for efficiency purposes. An implementation of these techniques is proposed. It is based on a Python template engine and AST tree walkers for Source Code Generation and on a model-driven translator for the Source Code Translation. The code is translated from a metalanguage to any of the following four programming languages: Python-Numpy, Matlab, C++-Armadillo, C++-Eigen. Two examples of multibody models were simulated: a four-bar linkage with multiple loops and a 3D vehicle steering system. The code for these examples has been generated and executed on two ARM-based single-board computers. Using compiled languages, both models could be simulated faster than real-time despite the low resources and performance of these embedded systems. Finally, the real-time performance of both models was evaluated when executed in hard real-time on Xenomai for both embedded systems. This work shows through measurements that Automatic Programming and Source Code Translation are valuable techniques to develop real-time multibody models to be used in embedded observers and controllers.  相似文献   

18.
嵌入式程序设计中C/C++代码的优化   总被引:5,自引:2,他引:5  
本文介绍了在嵌入式程序设计中几种提高C/C 代码效率的方法,通过对例子的分析,探讨了影响程序效率的原因。  相似文献   

19.
传统采用VHF通信的波浪浮标系统需要架设岸站接收机,采用GPRS无线通信解决方案的波浪浮标系统可以省去岸站接收机的费用,并且性能更加稳定可靠。本文主要介绍了服务器端通信模块的设计、数据处理处理模块的设计。软件的编辑使用VisualC++6.0软件,通信模块的设计采用MFC封装的CSocket类,CSocket类派生于完全封装了WindowsSocketsAPI函数的CAsyncSocket类,采用CSocket类可以更加方便地编写网络应用程序。数据处理模块采用了MATLAB与VisualC++混合编程,利用MATLAB留有的动态链接库DLL外部接口可以很方便地将MATLAB功能嵌入到VisualC++的MFC工程中,利用MATLAB与VisualC++混合编程可以方便地进行海浪频谱分析。  相似文献   

设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号