• Title/Summary/Keyword: C-language computer program

Search Result 116, Processing Time 0.028 seconds

A Compatible Variables Scheduling Algorithm for Register Allocation in Microprogram (마이크로프로그램의 레지스터 할당을 위한 변수결합 알고리즘)

  • Lee, Sang-Jeong;Lim, In-Chil
    • Journal of the Korean Institute of Telematics and Electronics
    • /
    • v.24 no.2
    • /
    • pp.230-237
    • /
    • 1987
  • This paper proposes a compatible variables scheduling algorithm, which is the process to pack variables into same register without modifying program semantics, for efficient register allocation of microprogram. The algorithm constructs T-V matrix, obtains incompatible variable set and scheduling priority, and schedules compatible groups. By this algorithm, the number of compatible groups can be minimized. The algorithm was implemented with C language on VAX-11/780 computer. By applying the algorithm to practical microprograms, the effectiveness of the algorithm is verified.

  • PDF

Design and Implementation of Educational Embedded Network System (교육용 임베디드 네트워크 실습 장비의 설계 및 구현)

  • Kim, Dae-Hee;Chung, Joong-Soo;Park, Hee-Jung;Jung, Kwang-Wook
    • Journal of the Korea Society of Computer and Information
    • /
    • v.14 no.10
    • /
    • pp.23-29
    • /
    • 2009
  • This paper presents the development of embedded network educational system. This is an educational equipment which enables user to have training over Network Configuration and Embedded network programming practice on Internet environment. The network education system is developed on embedded environment. based on using ethernet interface. On the development environment. PAX255 VLSI chip is used for the processor, the ADSv1.2 for debugging, uC/OS276 for RTOS. The system software was developed using C language. The ping program provided an educational environment for the student to compile and load it to run after doing practice of demonstration behavior. Afterwards programming procedure starts the step-by-step training just like the demonstration function. In other words, programming method how to design the procedure of ARP operation and ICMP operation is explained.

The study of a Vehicle Dynamic Simulation Including Powertrain About the Coordinate System Connectivity (좌표계 연성에 의한 동력전달계 포함 차량 운동 시뮬레이션 연구)

  • Jung Il Ho;Yang Hong Ik;Yoon Ji Won;Park Tae Won;Han Hyung Suk
    • Journal of the Korean Society for Precision Engineering
    • /
    • v.22 no.5 s.170
    • /
    • pp.130-137
    • /
    • 2005
  • Recently, the importance of CAE research is growing with the advances of the automotive and computer industry. In addition, multi-body dynamics and powertrain analysis are the most important factors in improving the vehicle design. Since engine torque with curve-data was used for analyzing full car simulation in the multi-body dynamics system for many years, it is impossible to assess the concurrent analysis of the engine and powertrain element included in a real full car system. In powertrain, since vehicle are usually modeled as a simple mass and a inertia, they can not be seen as real cars. Moreover, it is hard to obtain additional dynamics data other than the longitudinal velocity value in movement. Because of the reason that was previously discussed, it is necessary to consolidate the two parts as one routine program for design and development through the coordinate system connectivity, and presented here is a program named O-DYN. Using an object-oriented language C++, this program has a good structure with the valuable characteristics of objectivity, inheritance, and reusability. The reliability of this multi-body dynamics program is examined by DADS, which is the general dynamics program, using DAE solver and PECE integral function with the common coordinator separation method. As a result, we can obtain a better solution and total dynamics data in either area through this process. This program will be useful for analyzing full car simulation with powertrain.

Automatic Hand Measurement System from 2D Hand Image for Customized Glove Production

  • Han, Hyun Sook;Park, Chang Kyu
    • Fashion & Textile Research Journal
    • /
    • v.18 no.4
    • /
    • pp.468-476
    • /
    • 2016
  • Recent advancements in optics technology enable us to realize fast scans of hands using two-dimensional (2D) image scanners. In this paper, we propose an automatic hand measurement system using 2D image scanners for customized glove production. To develop the automatic hand measurement system, firstly hand scanning devices has been constructed. The devices are designed to block external lights and have user interface to guide hand posture during scanning. After hands are scanned, hand contour is extracted using binary image processing, noise elimination and outline tracing. And then, 19 hand landmarks are automatically detected using an automatic hand landmark detection algorithm based on geometric feature analysis. Then, automatic hand measurement program is executed based on the automatically extracted landmarks and measurement algorithms. The automatic hand measurement algorithms have been developed for 18 hand measurements required for custom-made glove pattern making. The program has been coded using the C++ programming language. We have implemented experiments to demonstrate the validity of the system using 11 subjects (8 males, 3 females) by comparing automatic 2D scan measurements with manual measurements. The result shows that the automatic 2D scan measurements are acceptable in the customized glove making industry. Our evaluation results confirm its effectiveness and robustness.

Program Translation from Conventional Programming Source to Java Bytecode (기존 프로그래밍 원시코드에서 자바 바이트 코드로의 변환)

  • Jeon-Geun Kang;Haeng-Kon Kim
    • Journal of the Korea Computer Industry Society
    • /
    • v.3 no.8
    • /
    • pp.963-980
    • /
    • 2002
  • Software reengineering is making various research for solutions against problem of maintain existing systems. Reengineering has a meaning of development of software on exizting systems through the reverse engineering auf forward engineering. Most of the important concepts used in reengineering is composition that is restructuring of the existing objects. Is there a compiler that can compile a program written in a traditional procedural language (like C or Pascal) and generate a Java bytecode, rather than an executable code that runs oかy on the machine it was compiled (such as an a.out file on a Unix machine)\ulcorner This type of compiler may be very handy for today's computing environment of heterogeneous networks. In this paper we present a software system that does this job at the binary-to-binary level. It takes the compiled binary code of a procedural language and translates it into Java bytecode. To do this, we first translate into an assembler code called Jasmin [7] that is a human-readable representation of Java bytecode. Then the Jasmin assembler converts it into real Java bytecode. The system is not a compiler because it does not start at the source level. We believe this kind of translator is even more useful than a compiler because most of the executable code that is available for sharing does not come with source programs. Of course, it works only if the format of the executable binary code is known. This translation process consists of three major stages: (1) analysis stage that identifies the language constructs in the given binary code, (2) initialization stage where variables and objects are located, classified, and initialized, and (3) mapping stage that maps the given binary code into a Jasmin assembler code that is then converted to Java bytecode.

  • PDF

Development of symbol generator software (심볼 생성기용 소프트웨어 개발)

  • Park,Deok-Bae;Lee,Jae-Eok
    • Journal of the Korean Society for Aeronautical & Space Sciences
    • /
    • v.31 no.9
    • /
    • pp.94-102
    • /
    • 2003
  • This paper describes the development and implementation for the SYMBOLGEN(SYMBOL GENerator) software. The SYMBOL-GEN software is for improving graphic processing speed and decreasing data communication load in ASC by genera ting and downloading off-line symbol file for HUD and MFD , which are the main display equipments in military aircraft. The SYMBOL-GEN is developed on PC using C++ language and MS Visual Studio 6.0 development tool. It is also designed to be modified and extended easily by introducing object-oriented software development technique.

Automatic Depth Control System for Tractor Implement (트랙터 작업기의 경심 자동제어시스템)

  • Choi, C.H.;Na, K.W.;Kim, J.M.
    • Journal of Biosystems Engineering
    • /
    • v.18 no.4
    • /
    • pp.328-343
    • /
    • 1993
  • To control depth of tractor implement, an automatic depth control system based upon microcomputer was developed. This system consists of data aquisition system to measure and to record travel speed, draft and depth of the implement, hydraulic system to control the implement depth and 3-point hitch to attach the implement. Program, written in C language, was able to select position control, draft control and mixed control. To analyze parameters affecting this system, the performance of the system was evaluated through use of computer simulation and verified in soil bin experiments. 3-point hitch was lifted by hydraulic pressure and lowered by implement weight. Dead band was one of the important factors which affect the stability and the accuracy of the system. The system became unstable when the flow rate was increased or when the dead band was decreased. The position control mode with on-off control showed the great ability to control the implement at the given plowing depth. With the draft control, the tractor load could be reduced, however the plowing depth was changed unexpectedly when the soil was hard and inconsistent. The mixed control could improve the performance of the system to maintain the plowing depth without overload of the tractor.

  • PDF

A Study on Object-Oriented Programming Education for Improving Logical Thinking Ability of Elementary School Students (초등학생의 논리적 사고력 향상을 위한 객체지향 프로그래밍 교육 연구)

  • Park, Kyeong-Mo;Hong, Tae-Jin
    • Journal of Digital Contents Society
    • /
    • v.10 no.2
    • /
    • pp.367-373
    • /
    • 2009
  • Computer programming education helps students understand abstract concepts better and solve given problems independently. Many previous studies on programming education have focused on procedural programming languages such as BASIC and C, but studies on objected-oriented program ming language like JAVA is rare. This paper examines how an architectural neural, objected-oriented JAVA programming study system can improve logical thinking ability and encourage self-led study and stimulate interests in computers among elementary school students. The system has been developed and is suitable for distributed Internet environment. The experiment results demonstrated that the objected-oriented programming education enhances logical thinking ability, exerts a positive impact on student achievement in math and science, and stimulate interests in computers.

  • PDF

A Microcomputer-Based Data Acquisition System (Microcomputer를 이용(利用)한 Data Acquisition System에 관(關)한 연구(硏究))

  • Kim, Ki Dae;Kim, Soung Rai
    • Journal of Biosystems Engineering
    • /
    • v.7 no.2
    • /
    • pp.18-29
    • /
    • 1983
  • A low cost and versatile data acquisition system for the field and laboratory use was developed by using a single board microcomputer. Data acquisition system based on a Z80 microprocessor was built, tested and modified to obtain the present functional system. The microcomputer developed consists of 6 kB ROM, 5 kB RAM, 6-seven segment LED display, 16-Hex. key and 8 command key board. And it interfaces with an 8 channel, 12 bits A/D converter, a microprinter, EPROM programmer for 2716, and RS232C interface to transfer data between the system and HP3000 mini-computer manufactured by Hewlett Packard Co., A software package was also developed, tested, and modified for the system. This package included drivers for the AID converter, LED display, key board, microprinter, EPROM programmer, and RS232c interface. All of these programs were written in 280 assembler language and converted to machine codes using a cross assembler by HP3000 computer to the system during modifying stage by data transferring unit of this system, then the machine language wrote to the EPROM by this EPROM programmer. The results are summarized as follows: 1. Measuring program developed was able to control the measuring intervals, No. of channels used, and No. of data, where the maximum measuring speed was 58.8 microsec. 2. Calibration of the system was performed with triangle wave generated by a function generator. The results of calibration agreed well to the test results. 3. The measured data was able to be written into EPROM, then the EPROM data was compared with original data. It took only 75 sec. for the developed program to write the data of 2 kB the EPROM. 4. For the slow speed measurements, microprinter instead of EPROM programmer proved to be useful. It took about 15 min. for microprinter to write the data of 2 kB. 5. Modified data transferring unit was very effective in communicating between the system and HP3000 computer. The required time for data transferring was only 1~2 min. 6. By using DC/DC converting devices such as 78-series, 79-series. and TL497 IC, this system was modified to convert the only one input power sources to the various powers. The available power sources of the system was DC 7~25 V and 1.8 A.

  • PDF

A Design on the Wavelet Transform Digital Filter for an Image Processing (영상처리를 위한 웨이브렛 변환 디지털 필터의 설계)

  • Kim, Yun-Hong;Jeon, Gyeong-Il;Bang, Gi-Cheon;Lee, U-Sun;Park, In-Jeong;Lee, Gang-Hyeon
    • Journal of the Institute of Electronics Engineers of Korea CI
    • /
    • v.37 no.3
    • /
    • pp.45-55
    • /
    • 2000
  • In this paper, we proposed the hardware architecture of wavelet transform digital filter for an image processing. Filter bank pyramid algorithm is used for wavelet transform and each fillet is implemented by the FIR filter. For DWT computation, because the memory controller is implemented by hardware, we can efficiently process the multisolution decomposition of the image data only input the parameter. As a result of the image Processing in this paper, 33㏈ PSNR has been obtained on 512$\times$512 B/W image due to 11-bit mantissa processing in FPGA Implementation. And because of using QMF( Quadrature Mirror Filter) properties, it reduces half number of the multiplier needed DWT(Discrete Wavelet Transform) computation so the hardware size is reduced largely. The proposed scheme can increase the efficiency of an image Processing as well as hardware size reduced. The hardware design proposed of DWT fillet bank is synthesized by VHDL coding and then the test board is manufactured, the operating Program and the application Program are implemented using MFC++ and C++ language each other.

  • PDF