期刊文献+
共找到23篇文章
< 1 2 >
每页显示 20 50 100
Multi-threaded code generation from Signal program to OpenMP 被引量:2
1
作者 Kai HU Teng ZHANG Zhibin YANG 《Frontiers of Computer Science》 SCIE EI CSCD 2013年第5期617-626,共10页
The use of multi-core processors will become a trend in safety critical systems. For safe execution of multi- threaded code, automatic code generation from formal spec- ification is a desirable method. Signal, a synch... The use of multi-core processors will become a trend in safety critical systems. For safe execution of multi- threaded code, automatic code generation from formal spec- ification is a desirable method. Signal, a synchronous lan- guage dedicated for the functional description of safety crit- ical systems, provides soundness semantics for determinis- tic concurrency. Although sequential code generation of Sig- nal has been implemented in Polychrony compiler, deter- ministic multi-threaded code generation strategy is still far from mature. Moreover, existing code generation methods use certain multi-thread library, which limits the cross plat- form executions. OpenMP is an application program inter- face (API) standard for parallel programming, supported by several mainstream compilers from different platforms. This paper presents a methodology translating Signal program to OpenMP-based multi-threaded C code. First, the intermedi- ate representation of the core syntax of Signal using syn- chronous guarded actions is defined. Then, according to the compositional semantics of Signal equations, the Signal pro- gram is synthesized to dependency graph (DG). After par- allel tasks are extracted from dependency graph, the Signal program can be finally translated into OpenMP-based C code which can be executed on multiple platforms. 展开更多
关键词 multi-thread synchronous language Signal,code generation OpenMP
下载PDF
A Novel Algorithm of Error Check and Code Generation for Structured Flowchart
2
作者 Mingcheng Qu Naigang Cui +1 位作者 Xianghu Wu Yongchao Tao 《Journal of Harbin Institute of Technology(New Series)》 CAS 2017年第4期18-30,共13页
Structured flowchart( SFC) and Automatic code generation based on SFC( CG-SFC) have been widely used in software requirements,design and testing phases. Some CG-SFC tools such as Rhapsody have the ability to build flo... Structured flowchart( SFC) and Automatic code generation based on SFC( CG-SFC) have been widely used in software requirements,design and testing phases. Some CG-SFC tools such as Rhapsody have the ability to build flowchart and generate code,but they do not check whether a given flowchart is correct or structural. For unstructured error ‘goto'statements will be generated randomly. We proposed three algorithms and some error recognition criteria to solve those problems. Structure recognition algorithm can recognize Selection,While/for and do-while structures. Error recognition algorithm incorporating criteria can check all the errors. At last,we develop a CG-SFC system,and compared with existing Rhapsody,it shows that the proposed algorithms are correct and effective. 展开更多
关键词 structured flowchart code generation error check feature recognition
下载PDF
A Solution Based on Modeling and Code Generation for Embedded Control System 被引量:1
3
作者 Guohua WU Dongwu CHENG Zhen ZHANG 《Journal of Software Engineering and Applications》 2009年第3期160-164,共5页
With the development of computer technology, embedded control system plays an important role in modern industry. For the embedded system, traditional development methods are time-consuming and system is not easy to ma... With the development of computer technology, embedded control system plays an important role in modern industry. For the embedded system, traditional development methods are time-consuming and system is not easy to maintain. Domain-specific modeling provides a solution for the problems. In this paper, we proposed development architecture for embedded control systems based on MIC. GME is used to construct meta-model and application model, model in-terpreter interprets model and stores model information in xml format document. The final cross-platform codes are automatically generated by different templates and xml format document. This development method can reduce time and cost in the lifecycle of system development. 展开更多
关键词 Domain-Specific Modeling Model Interpreter code generation Embedded Control System
下载PDF
Research and Application of Code Automatic Generation Algorithm Based on Structured Flowchart
4
作者 Xiang-Hu Wu Ming-Cheng Qu +1 位作者 Zhi-Qiang Liu Jian-Zhong Li 《Journal of Software Engineering and Applications》 2011年第9期534-545,共12页
It is of great significance to automatically generate code from structured flowchart. There are some deficiencies in existing researches, and their key algorithms and technologies are not elaborated, also there are ve... It is of great significance to automatically generate code from structured flowchart. There are some deficiencies in existing researches, and their key algorithms and technologies are not elaborated, also there are very few full-featured integrated development platforms that can generate code automatically based on structured flowchart. By analyzing the characteristics of structured flowchart, a structure identification algorithm for structured flowchart is put forward. The correctness of algorithm is verified by enumeration iteration. Then taking the identified flowchart as input, an automatic code generation algorithm is proposed. Also the correctness is verified by enumeration iteration. Finally an integrated development platform is developed using those algorithms, including flowchart modeling, code automatic generation, CDT\GCC\GDB etc. The correctness and effectiveness of algorithms proposed are verified through practical operations. 展开更多
关键词 Automatic generation of codes Structured Flowchart Identification of Structure Integrated Development Platform
下载PDF
Quad-Level Cell NAND Design and Soft-Bit Generation for Low-Density Parity-Check Decoding in System-Level Application
5
作者 LIU Shijun ZOU Xuecheng WANG Baocun 《Wuhan University Journal of Natural Sciences》 CAS CSCD 2018年第1期70-78,共9页
QLC(Quad-Level Cell) NAND flash will be one of the future technologies for next generation memory chip after three-dimensional(3D) TLC(Triple-Level Cell) stacked NAND flash. In QLC device, data errors will easil... QLC(Quad-Level Cell) NAND flash will be one of the future technologies for next generation memory chip after three-dimensional(3D) TLC(Triple-Level Cell) stacked NAND flash. In QLC device, data errors will easily occur because of 2~4 data levels in the limited voltage range. This paper studies QLC NAND technology which is 4 bits per cell. QLC programming methods based on 16 voltage levels and reading method based on "half-change" Gray coding are researched. Because of the probable error impact of QLC NAND cell's voltage change, the solution of generating the soft information after XOR(exclusive OR) the soft bits by internal read mechanism is presented for Low-Density Parity-Check(LDPC) Belief Propagation(BP) decoding in QLC design for its system level application. 展开更多
关键词 QLC (Quad-Level Cell)NAND error-correcting code(ECC) Low-Density Parity-Check (LDPC) Soft-Bit generation
下载PDF
Transmission over Cognitive Radio Channel with Novel Secure LT Code
6
作者 Elham Hosseini Abolfazl Falahati 《Communications and Network》 2013年第3期198-203,共6页
With the increasing of communication applications in recent years, the demand for radio spectral resources has increased significantly. Cognitive radio scenario was proposed to improve spectrum efficiency in wireless ... With the increasing of communication applications in recent years, the demand for radio spectral resources has increased significantly. Cognitive radio scenario was proposed to improve spectrum efficiency in wireless communication systems. In cognitive radio network, it is essential that control information is sent securely and reliably. Ensuring the trustworthiness of the transmitting of spectrum sensing information is important in the CR networks since spectrum sensing directly affects spectrum management and incumbent coexistence. In this paper, the first secondary link channel model is presented, then a secure LT Code is proposed to be compatible with presented channel model and acquires good QoS. As we may know, LT code overcomes packet loss when the channel of the SU is reclaimed by PU. In the new proposed combined encoding and ciphered block, a LT code matrix is used to generate a symmetric cryptographic key. Thus, less complexity observed in the processing computation. Besides, cryptographic key is not sent over the channel. As a result, an attacker has no way to eavesdrop the key unless he is prepared to consider all possible key combinations. This replaced block supplies secure controlling channel and increases spectrum efficiency too. 展开更多
关键词 Cognitive Radio Symmetric Cryptographic Key generation LT code
下载PDF
Template-based AADL automatic code generation 被引量:5
7
作者 Kai HU Zhangbo DUAN +2 位作者 Jiye WANG Lingchao GAO Lihong SHANG 《Frontiers of Computer Science》 SCIE EI CSCD 2019年第4期698-714,共17页
Embedded real-time systems employ a variety of operating system platforms. Consequently, for automatic code generation, considerable redevelopment is needed when the platform changes. This results in major challenges ... Embedded real-time systems employ a variety of operating system platforms. Consequently, for automatic code generation, considerable redevelopment is needed when the platform changes. This results in major challenges with respect to the automatic code generation process of the architecture analysis and design language (AADL). In this paper, we propose a method of template-based automatic code generation to address this issue. Templates are used as carriers of automatic code generation rules from AADL to the object platform. These templates can be easily modified for different platforms. Automatic code generation for different platforms can be accomplished by formulating the corresponding generation rules and transformation templates. We design a set of code generation templates from AADL to the object platform and develop an automatic code generation tool. Finally, we take a typical data processing unit (DPU) system as a case study to test the tool. It is demonstrated that the autogenerated codes can be compiled and executed successfully on the object platform. 展开更多
关键词 real-time system template formal methods AADL automatic code generation
下载PDF
Highly Optimized Code Generation for Stencil Codes with Computation Reuse for GPUs
8
作者 Wen-Jing Ma Kan Gao Guo-Ping Long 《Journal of Computer Science & Technology》 SCIE EI CSCD 2016年第6期1262-1274,共13页
Computation reuse is known as an effective optimization technique. However, due to the complexity of modern GPU architectures, there is yet not enough understanding regarding the intriguing implications of the interpl... Computation reuse is known as an effective optimization technique. However, due to the complexity of modern GPU architectures, there is yet not enough understanding regarding the intriguing implications of the interplay of compu- ration reuse and hardware specifics on application performance. In this paper, we propose an automatic code generator for a class of stencil codes with inherent computation reuse on CPUs. For such applications, the proper reuse of intermediate results, combined with careful register and on-chip local memory usage, has profound implications on performance. Current state of the art does not address this problem in depth, partially due to the lack of a good program representation that can expose all potential computation reuse. In this paper, we leverage the computation overlap graph (COG), a simple representation of data dependence and data reuse with "element view", to expose potential reuse opportunities. Using COG, we propose a portable code generation and tuning framework for GPUs. Compared with current state-of-the-art code generators, our experimental results show up to 56.7% performance improvement on modern GPUs such as NVIDIA C2050. 展开更多
关键词 GPGPU OpenCL stencil code generation computation reuse
下载PDF
Code Generation Framework for Grid Development
9
作者 JIANG Ling-yun WANG Ru-chuan WANG Hai-yan 《The Journal of China Universities of Posts and Telecommunications》 EI 2006年第2期39-42,共4页
While grid computing receives more and more attentions, it is not widely used partly due to requirement of sophisticated development. This paper discusses a code generation framework for grid computing. We firstly int... While grid computing receives more and more attentions, it is not widely used partly due to requirement of sophisticated development. This paper discusses a code generation framework for grid computing. We firstly introduce GBuilder as a rapid development tool for building grid computing applications, then present the details of the code generation framework. We then discuss a case study to show the advantages of the whole processing of code generation framework, which including saved development time and less intricacy burden on the grid application developers. 展开更多
关键词 code generation grid globus toolkit
下载PDF
Microwave Photonics for Modern Radar Systems 被引量:14
10
作者 潘时龙 朱丹 张方正 《Transactions of Nanjing University of Aeronautics and Astronautics》 EI 2014年第3期219-240,共22页
The emerging new concepts and technologies based on microwave photonics have led to an ever-increasing interest in developing innovative radar systems with a net gain in functionality,bandwidth esolution,size,mass,com... The emerging new concepts and technologies based on microwave photonics have led to an ever-increasing interest in developing innovative radar systems with a net gain in functionality,bandwidth esolution,size,mass,complexity and cost when compared with the traditional implementations. This paper describes the techniques developed in the last few years in microwave photonics that might revolutionize the way to design multifunction radar systems,with an emphasis on the recent advances in optoelectronic oscillators( OEOs),arbitrary waveform generation,photonic mixing,phase coding,filtering,beamforming,analog-to-digital conversion,and stable radio-frequency signal transfer. Challenges in implementation of these components and subsystems for meeting the technique requirements of the multifunction radar applications are discussed. 展开更多
关键词 microwave photonics radars multifunction optoelectronic oscillator phase coding optical mixing arbitrary waveform generation optical switching
下载PDF
Error Robust H.264 Video Transmission Schemes Based on Multi-frame
11
作者 余红斌 余松煜 王慈 《Journal of Shanghai Jiaotong university(Science)》 2004年第3期41-44,54,共4页
Multi-frame coding is supported by the emerging H.264. It is important for the enhancement of both coding efficiency and error robustness. In this paper, error resilient schemes for H.264 based on multi-frame were inv... Multi-frame coding is supported by the emerging H.264. It is important for the enhancement of both coding efficiency and error robustness. In this paper, error resilient schemes for H.264 based on multi-frame were investigated. Error robust H.264 video transmission schemes were introduced for the applications with and without a feedback channel. The experimental results demonstrate the effectiveness of the proposed schemes. 展开更多
关键词 H.264 multi-frame coding adaptive ACK/NACK mode switching periodic enhanced multi-thread coding
下载PDF
Improving on Linear Scan Register Allocation 被引量:2
12
作者 Shahrzad Kananizadeh Kirill Kononenko 《International Journal of Automation and computing》 CSCD 2018年第2期228-238,共11页
Register allocation is a major step for all compilers. Various register allocation algorithms have been developed over the dec- ades. This work describes a new class of rapid register allocation algorithms and present... Register allocation is a major step for all compilers. Various register allocation algorithms have been developed over the dec- ades. This work describes a new class of rapid register allocation algorithms and presents experimental data on their behavior. Our re- search encourages the avoidance of graphing and graph-coloring based on the fact that precise graph-coloring is nondeterministic poly- nomial time-complete (NP-complete), which is not suitable for real-time tasks. In addition, practical graph-coloring algorithms tend to use polynomial-time heuristics. In dynamic compilation environments, their super linear complexity makes them unsuitable for register allocation and code generation. Existing tools for code generation and register allocation do not completely fulfill the requirements of fast compilation. Existing approaches either do not allow for the optimization of register allocation to be achieved comprehensively with a sufficient degree of performance or they require an unjustifiable amount of time and/or resources. Therefore, we propose a new class of register allocation and code generation algorithms that can be performed in linear time. These algorithms are based on the mathematic- al foundations of abstract interpretation and the computation of the level of abstraction. They have been implemented in a specialized library for just-in-time compilation. The specialization of this library involves the execution of common intermediate language (CIL) and low level virtual machine (LLVM) with a focus on embedded systems. 展开更多
关键词 Register allocation just-in-time compilation code generation static analysis dynamic analysis.
下载PDF
J2EE轻量级框架代码生成工具的设计与实现 被引量:1
13
作者 周刚 《广州广播电视大学学报》 2008年第6期102-105,共4页
目前,具体的业务模型向应用程序代码的转换是软件开发领域的一个重要研究方向。对此,本文设计并实现了基于SSI(Struts,Spring,Ibatis)J2EE轻量级框架的代码生成工具。设计过程中,以层接口规范为根据,采用层次化软件设计方法,并使用了Fre... 目前,具体的业务模型向应用程序代码的转换是软件开发领域的一个重要研究方向。对此,本文设计并实现了基于SSI(Struts,Spring,Ibatis)J2EE轻量级框架的代码生成工具。设计过程中,以层接口规范为根据,采用层次化软件设计方法,并使用了Freemarker模板技术。该代码生成工具通过读取数据库信息以及加载模板,完成代码的自动生成,能够显著提高软件开发效率与质量,同时还能降低开发风险与成本。 展开更多
关键词 J2EE Freemarker code generate 代码生成
下载PDF
A Genetic Algorithm Based Approach to Pipe Routing Design 被引量:2
14
作者 QU Yang LIU Yang-cong YI Peng LUN Guan-de ZHENG Huan-peng XIAO Wen-sheng 《Computer Aided Drafting,Design and Manufacturing》 2010年第2期8-14,共7页
To solve the problem of low efficiency in pipe routing design, an improved genetic algorithm based approach is proposed. To present this approach, the paper mainly describes a generation method of nodes considering th... To solve the problem of low efficiency in pipe routing design, an improved genetic algorithm based approach is proposed. To present this approach, the paper mainly describes a generation method of nodes considering the safety distance of pipes and the directional constraints at terminals, the definition of a double coding technique, the collision detection method, the concept of energy and the definition of fitness functions. The similarity detection is introduced to prevent close breeding in the crossover operator, the selection pressure is controlled according to the evolution situation and a heuristic mutation method is used to boost the evolution. Simulation case shows that this approach is more practical and can satisfy different design requirements by changing algorithm parameters. 展开更多
关键词 genetic algorithm pipe routing heuristic mutation nodes generation double coding technique
下载PDF
Universal Tracing Interface for Multicore Processors
15
作者 Janne Vatjus-Anttila Mika Hoppari +2 位作者 Lance Fono Kari Kolehmainen Subayal Khan 《Journal of Computer and Communications》 2016年第1期1-11,共11页
Application developers of today need to produce code which is error-free, and whose performance is optimized for plethora of devices. Performance of application code is studied e.g. by analyzing performance data obtai... Application developers of today need to produce code which is error-free, and whose performance is optimized for plethora of devices. Performance of application code is studied e.g. by analyzing performance data obtained by executing application with tracing tool. Developers typically have their favorite tools which they prefer to use but unfortunately target devices are based on different computing platforms that have different performance probes which cause difficulties for using same tool with different multicore platforms. Universal Tracing Interface for Multicore Processors (UTIMP) aims to provide an unchangeable tracing interface enabling developers to perform required tracing tasks with the UTIMP, utilizing the favorite tool when possible, for different multicore platforms. 展开更多
关键词 Tracing Performance Platform Probe Toolchain code generation
下载PDF
Resolution Characteristics of GaAs/GaAlAs Transmission Photocathode
16
作者 YAN Jin-liang,ZHAO Yin-nu,ZHU Chang-chun 《Semiconductor Photonics and Technology》 1999年第2期96-100,共5页
The resolution characteristic of GaAs/GaAlAs transmission photocathode is an important parameter in third generation intensifiers. The modulation transfer function of GaAs/GaAlAs transmission photocathode is derived f... The resolution characteristic of GaAs/GaAlAs transmission photocathode is an important parameter in third generation intensifiers. The modulation transfer function of GaAs/GaAlAs transmission photocathode is derived from a simple two-dimensional diffusion equation. The theoretical resolution characteristic of a 2 μm thick GaAs/GaAlAs transmission photocathode is calculated. The relationship between resolution and parameters in GaAs/GaAlAs transmission photocathode is discussed. A conclusion is shown that one can design the GaAs/GaAlAs transmission photocathode for maximum quantum efficiency, since the sacrifice in the resolution doesn't limit system performances. 展开更多
关键词 GaAs/GaAlAs Photocathode Quantum Yield Resolution Third generation Intensifier CLC number:TN383.4 Document code:A
下载PDF
Code Attention: translating source code to comments by exploiting the code constructs 被引量:4
17
作者 Wenhao ZHENG Hongyu ZHOU +1 位作者 Ming LI Jianxin WU 《Frontiers of Computer Science》 SCIE EI CSCD 2019年第3期565-578,共14页
Appropriate comments of code snippets provide insight for code functionality, which are helpful for program comprehension. However, due to the great cost of authoring with the comments, many code projects do not conta... Appropriate comments of code snippets provide insight for code functionality, which are helpful for program comprehension. However, due to the great cost of authoring with the comments, many code projects do not contain adequate comments. Automatic comment generation techniques have been proposed to generate comments from pieces of code in order to alleviate the human efforts in annotating the code. Most existing approaches attempt to exploit certain correlations (usually manually given) between code and generated comments, which could be easily violated if coding patterns change and hence the performance of comment generation declines. In addition, recent approaches ignore exploiting the code constructs and leveraging the code snippets like plain text. Furthermore, previous datasets are also too small to validate the methods and show their advantage. In this paper, we propose a new attention mechanism called CodeAttention to translate code to comments, which is able to utilize the code constructs, such as critical statements, symbols and keywords. By focusing on these specific points, CodeAttention could understand the semantic meanings of code better than previous methods. To verify our approach in wider coding patterns, we build a large dataset from open projects in GitHub. Experimental results in this large dataset demonstrate that the proposed method has better performance over existing approaches in both objective and subjective evaluation. We also perform ablation studies to determine effects of different parts in CodeAttention. 展开更多
关键词 software mining machine learning code comment generation recurrent neural network attention mechanism
下载PDF
ON THE CONSTRUCTION OF ALGEBRAIC-GEOMETRIC CODES
18
作者 DU Hong LIU Zhuojun DI Changyan 《Systems Science and Mathematical Sciences》 2000年第3期260-261,1262-264,共2页
In this paper, a new viewpoint concerning linear codes is presented. A concept level of linear codes is introduced, and a bound of linear code’s level is given. It can be used to simplify the construction of Algebrai... In this paper, a new viewpoint concerning linear codes is presented. A concept level of linear codes is introduced, and a bound of linear code’s level is given. It can be used to simplify the construction of Algebraic Geometric Codes. In particular, we define a class of codes which can be considerated as generalized RS codes and can be constructed via symbolic computation. 展开更多
关键词 Linear code generater matrix level algebraic geometric code
下载PDF
Advanced ECU Software Development Method for Fuel Cell Systems 被引量:5
19
作者 田硕 刘原 +2 位作者 夏文川 李建秋 欧阳明高 《Tsinghua Science and Technology》 EI CAS 2005年第5期610-617,共8页
The electronic control unit (ECU) in electrical powered hybrid and fuel cell vehicles is exceedingly complex. Rapid prototyping control is used to reduce development time and eliminate errors during software develop... The electronic control unit (ECU) in electrical powered hybrid and fuel cell vehicles is exceedingly complex. Rapid prototyping control is used to reduce development time and eliminate errors during software development. This paper describes a high-efficiency development method and a flexible tool chain suitable for various applications in automotive engineering. The control algorithm can be deployed directly from a Matlab/Simulink/Stateflow environment into the ECU hardware together with an OSEK real-time operating system (RTOS). The system has been successfully used to develop a 20-kW fuel cell system ECU based on a Motorola PowerPC 555 (MPC555) microcontroller. The total software development time is greatly reduced and the code quality and reliability are greatly enhanced. 展开更多
关键词 automotive engineering fuel cell electronic controller unit (ECU) embedded software development rapid prototyping automatic code generation simulation OSEK
下载PDF
Polychronous automata and their use for formal validation of AADL models 被引量:1
20
作者 Thierry GAUTIER Clement GUY +3 位作者 Alexandre HONORAT Paul LE GUERNIC Jean-Pierre TALPIN Loic BESNARD 《Frontiers of Computer Science》 SCIE EI CSCD 2019年第4期677-697,共21页
This paper investigates how state diagrams can be best represented in the polychronous model of computation (MoC) and proposes to use this model for code validation of behavior specifications in architecture analysis ... This paper investigates how state diagrams can be best represented in the polychronous model of computation (MoC) and proposes to use this model for code validation of behavior specifications in architecture analysis & design language (AADL). In this relational MoC, the basic objects are signals, which are related through dataflow equations. Signals are associated with logical clocks, which provide the capability to describe systems in which components obey multiple clock rates. We propose a model of finite-state automata, called polychronous automata, which is based on clock relationships. A specificity of this model is that an automaton is submitted to clock constraints, which allows one to specify a wide range of control-related configurations, being either reactive or restrictive with respect to their control environment. A semantic model is defined for these polychronous automata, which relies on boolean algebra of clocks. Based on a previously defined modeling method for AADL software architectures using the polychronous MoC, the proposed model is used as a formal model for the AADL behavior annex. This is illustrated with a case study involving an adaptive cruise control system. 展开更多
关键词 architecture modeling formal semantics finitestate automaton polychronous model synchronous concurrency code generation AADL
下载PDF
上一页 1 2 下一页 到第 页
使用帮助 返回顶部