• Title/Summary/Keyword: IS Code

검색결과 13,415건 처리시간 0.035초

Metrics for Code Quality Check in SEED_mode.c

  • Jin-Kuen Hong
    • International Journal of Internet, Broadcasting and Communication
    • /
    • 제16권3호
    • /
    • pp.184-191
    • /
    • 2024
  • The focus of this paper is secure code development and maintenance. When it comes to safe code, it is most important to consider code readability and maintainability. This is because complex code has a code smell, that is, a structural problem that complicates code understanding and modification. In this paper, the goal is to improve code quality by detecting and removing smells existing in code. We target the encryption and decryption code SEED.c and evaluate the quality level of the code using several metrics such as lines of code (LOC), number of methods (NOM), number of attributes (NOA), cyclo, and maximum nesting level. We improved the quality of SEED.c through systematic detection and refactoring of code smells. Studies have shown that refactoring processes such as splitting long methods, modularizing large classes, reducing redundant code, and simplifying long parameter lists improve code quality. Through this study, we found that encryption code requires refactoring measures to maintain code security.

CDMA 이동국용 PN 부호 탐색기 설계 및 구현 (Design and implementation of the PN code searcher for CDMA mobile station)

  • 연광일;곽기달
    • 전자공학회논문지S
    • /
    • 제34S권8호
    • /
    • pp.37-44
    • /
    • 1997
  • We implemented a code searcher which is used for the PN(pseudo noise) code acquisition in CDMA cellular mobile station. To reduce the reuired hardware and the code acquisition time, we used the double dwell structure which is an effective serial code acquisition metho. We designed a code acquisition has acquired within 1/2 PN chip range. The code searcher is implemented using 0.8 micron code searcher is successfully working in CDMA cellular mobile station and it satisfies the code acquisition time specified in IS-95 standard.

  • PDF

CRC-Turbo Concatenated Code for Hybrid ARQ System

  • Kim, Woo-Tae;Kim, Jeong-Goo;Joo, Eon-Kyeong
    • 한국통신학회논문지
    • /
    • 제32권3C호
    • /
    • pp.195-204
    • /
    • 2007
  • The cyclic redundancy check(CRC) code used to decide retransmission request in hybrid automatic repeat request(HRAQ) system can also be used to stop iterative decoding of turbo code if it is used as an error correcting code(ECC) of HARQ system. Thus a scheme to use CRC code for both iteration stop and repeat request in the HARQ system with turbo code based on the standard of cdma 2000 system is proposed in this paper. At first, the optimum CRC code which has the minimum length without performance degradation due to undetected errors is found. And the most appropriate turbo encoder structure is also suggested. As results, it is shown that at least 32-bit CRC code should be used and a turbo code with 3 constituent encoders is considered to be the most appropriate one.

EM에서 SPARC 코드로 효율적인 코드 확장 (An Efficient Code Expansion from EM to SPARC Code)

  • 오세만;윤영식
    • 한국정보처리학회논문지
    • /
    • 제4권10호
    • /
    • pp.2596-2604
    • /
    • 1997
  • ACK는 가상 스택 기계에 기반을 둔 EM 중간 코드로부터 레지스터 구조에 기반을 둔 SPARC 기계에 대한 목적 코드를 생성하기 위해서는 코드 확장기(code expander)를 이용하고 있다. 따라서 EM 코드로부터 SPARC 목적 코드를 생성하기 위해 스택 지향 구조로부터 레지스터 지향 구조로 변환하여야 한다. 코드 확장기를 이용한 SPARC 코드 생성 기법은 각 EM 명령어에 대해 SPARC 코드로 확장하는 루틴들로 구성되며 코드 생성기에 비해 코드의 질을 개선하기 위해 푸쉬-팝 최적화 동작을 수행한다. 하지만 코드 확장시에 별도의 자원과 관리를 요구하는 혼합 스택(hybrid stack)을 이용하고 있으며 전단부의 정보 손실로 레지스터 윈도우를 이용한 효율적인 매개변수 전달을 고려하지 않는다. 본 논문에서는 ACK의 전체적인 구조의 변경 없이 목적 기계의 스택과 매개변수 전달을 고려하나 효율적인 SPARC 코드를 생성하기 위해 EM 트리를 이용한 SPARC 코드 확장기를 설계하고 구현하였다. 이를 위해, 순차적인 EM 코드를 입력으로 받아 스택 속성을 반영한 트리로 구성하며 혼합 스택을 제거하기 위해 지역 변수 정보를 별도로 관리하였다. EM 트리의 순회 및 확장 과정에서 목적 코드를 생성할 수 있는 루틴을 통하여 목적 코드를 출력하며 추출된 정보와 노드의 성격에 출력 시기와 목적 코드를 결정한다.

  • PDF

작은 입력신호를 위한 Two-Dimensional Symmetric Balance Incomplete Block Design Code (Two-Dimensional Symmetric Balance Incomplete Block Design Codes for Small Input Power)

  • 지윤규
    • 전자공학회논문지
    • /
    • 제50권5호
    • /
    • pp.121-127
    • /
    • 2013
  • 작은 입력신호의 spectral-amplitude-code(SAC) optical code-division multiple-access (OCDMA) 시스템에는 nonideal symmetric balance incomplete block design(BIBD) code의 사용이 효율적이나 충분한 사용자를 수용하지 못하는 단점이 있다. 이를 극복하기 위하여 본 논문에서는 ideal BIBD code를 공간 코드로 사용하고 nonideal code를 파장 코드로 사용하는 two-dimensional(2-D) BIBD code를 제안한다. 사용자 수에 따른 bit error-rate(BER) 분석을 통하여 제안하는 2-D BIBD code가 1-D BIBD code에 비하여 최대사용자 수를 현저하게 증가시킬 수 있음을 알 수 있다.

단위테스트 중 매개변수 경계오류제거를 위한 코드 자동생성 시스템 설계와 구현 (Design and Implementation of code generator to remove the parameter boundary failure in the unit test)

  • 박영조;방혜자
    • 디지털산업정보학회논문지
    • /
    • 제11권2호
    • /
    • pp.1-10
    • /
    • 2015
  • As programs get more complicated and they are developed by various hands, the possibility that there are program bugs in the code has been increasing. And developers usually run unit tests to find these problems in the code. Besides, the developers are at the pain of getting stability of the code when they have to modify a code very often for clients requirements. In the methodlogy of TDD(Test Driven Development), developers write a unit test code first, and then write a program code for passing the unit test. The unit test must include the boundary condition test the reason why the possibility of occurring the bugs is very high. When failed to pass the test because of the value of a function is incorrect, not existed, out of the range or not matched etc, the program code will return the error code or occur the exception. In the document, the system is designed and implemented in order to insert the generated code automatically or suggest it to the developer, when the boundary condition test is failed. In conclusion, it is possible that the developer will get the code stability by searching the code and checking the code to be omitted automatically through this system.

DVCR 시스템의 연집 오류 정정을 위한 클러스터 순환 프러덕트 부호 (A clustered cyclic product code for the burst error correction in the DVCR systems)

  • 이종화;유철우;강창언;홍대식
    • 전자공학회논문지S
    • /
    • 제34S권2호
    • /
    • pp.1-10
    • /
    • 1997
  • In this paper, an improved lower bound on the burst-error correcting capability of th ecyclic product code is presented and through the analysis of this new bound clustered cyclic product (CCP abbr.)code is proposed. The CCP code, to improve the burst-error correcting capability, combines the idea of clustering and the transmission method of cyclic product code. That is, a cluster which is defined in this paper as a group of consecutive code symbols is employed as a new transmission unit to the code array transmission of cyclic product code. the burst-error correcting capability of the CCP code is improved without a loss in the random-error correcting capability and performance comparison in the digital video camera records (DVCR) system shows the superiority of the proposed CCP code over conventional product codes.

  • PDF

전 영역 그레이코드 유전자 알고리듬의 효율성 증대에 관한 연구 (A Study on Computational Efficiency Enhancement by Using Full Gray Code Genetic Algorithm)

  • 이원창;성활경
    • 한국정밀공학회지
    • /
    • 제20권10호
    • /
    • pp.169-176
    • /
    • 2003
  • Genetic algorithm (GA), which has a powerful searching ability and is comparatively easy to use and also to apply, is in the spotlight in the field of the optimization for mechanical systems these days. However, it also contains some problems of slow convergence and low efficiency caused by a huge amount of repetitive computation. To improve the processing efficiency of repetitive computation, some papers have proposed paralleled GA these days. There are some cases that mention the use of gray code or suggest using gray code partially in GA to raise its slow convergence. Gray code is an encoding of numbers so that adjacent numbers have a single digit differing by 1. A binary gray code with n digits corresponds to a hamiltonian path on an n-dimensional hypercube (including direction reversals). The term gray code is open used to refer to a reflected code, or more specifically still, the binary reflected gray code. However, according to proposed reports, gray code GA has lower convergence about 10-20% comparing with binary code GA without presenting any results. This study proposes new Full gray code GA (FGGA) applying a gray code throughout all basic operation fields of GA, which has a good data processing ability to improve the slow convergence of binary code GA.

DEVELOPMENT OF THE SPACE CODE FOR NUCLEAR POWER PLANTS

  • Ha, Sang-Jun;Park, Chan-Eok;Kim, Kyung-Doo;Ban, Chang-Hwan
    • Nuclear Engineering and Technology
    • /
    • 제43권1호
    • /
    • pp.45-62
    • /
    • 2011
  • The Korean nuclear industry is developing a thermal-hydraulic analysis code for safety analysis of pressurized water reactors (PWRs). The new code is called the Safety and Performance Analysis Code for Nuclear Power Plants (SPACE). The SPACE code adopts advanced physical modeling of two-phase flows, mainly two-fluid three-field models which comprise gas, continuous liquid, and droplet fields and has the capability to simulate 3D effects by the use of structured and/or nonstructured meshes. The programming language for the SPACE code is C++ for object-oriented code architecture. The SPACE code will replace outdated vendor supplied codes and will be used for the safety analysis of operating PWRs and the design of advanced reactors. This paper describes the overall features of the SPACE code and shows the code assessment results for several conceptual and separate effect test problems.

LDGM와 LDPC code를 이용한 Raptor code의 비교 (A Comparison of Raptor Code Using LDGM and LDPC code)

  • 유안길;서희종
    • 한국전자통신학회논문지
    • /
    • 제8권1호
    • /
    • pp.65-70
    • /
    • 2013
  • 본 논문에서는 LDPC 코드 대신 LDGM 코드를 이용한 랩터(Raptor) 코드 구성을 제안한다. 그리고 실험을 통하여 두 코드 성능을 비교한다. 시뮬레이션으로 두 코드 성능을 비교한 결과 LDGM 코드를 이용한 랩터 코드가 LDPC 코드를 이용한 랩터 코드보다 성능은 좋지 않았지만 인코딩 복잡도는 더 간단한 것으로 확인되었다.