• 제목/요약/키워드: source code level

검색결과 157건 처리시간 0.023초

C-to-SystemC 합성기의 설계 및 구현 (Design and Implementation of a C-to-SystemC Synthesizer)

  • 유명근;송기용
    • 융합신호처리학회논문지
    • /
    • 제10권2호
    • /
    • pp.141-145
    • /
    • 2009
  • 본 논문에서는 입력 동작에 대하여 상위수준 합성을 수행한 후, 합성결과를 SystemC 코드로 전환하는 C-to-SystemC 합성기를 설계 및 구현하였다. 구현된 합성기의 처리과정은 C 소스코드로 기술된 입력 동작을 list 스케줄링 알고리즘을 이용하여 스케줄링한 후, 스케줄링 결과에 left-edge 알고리즘을 이용하여 레지스터 할당을 수행한다. 레지스터 할당 정보를 이용하여 합성기는 채널 및 포트와 같은 SystemC 특성들로 표현된 SystemC 모듈의 코드를 최종적으로 생성한다. C-to-SystemC 합성기의 동작은 EWF(elliptic wave filter)의 합성결과인 SystemC 모듈의 코드를 시뮬레이션하여 검증한다. C-to-SystemC 합성기는 SystemC 설계방법론의 모델링단계부터 합성단계에 이르는 툴 체인의 한 부분으로 사용될 수 있으며, 생성된 SystemC 모듈은 C 모듈에 비해 재사용이 용이하고 다른 SystemC 모듈과 SystemC 채널을 통하여 별도의 추가처리 없이 통신할 수 있다.

  • PDF

Numerical studies on the important fission products for estimating the source term during a severe accident

  • Lee, Yoonhee;Cho, Yong Jin;Lim, Kukhee
    • Nuclear Engineering and Technology
    • /
    • 제54권7호
    • /
    • pp.2690-2701
    • /
    • 2022
  • In this paper, we select important fission products for the estimation of the source term during a severe accident of a PWR. The selection is based on the numerical results obtained from depletion calculations for the typical PWR fuel via the in-house code named DEGETION (Depletion, Generation, and Transmutation of Isotopes on Nuclear Application), release fractions of the fission products derived from NUREG-1465, and effective dose conversion coefficients from ICRP 119. Then, for the selected fission products, we obtain the adjoint solutions of the Bateman equations for radioactive decay in order to determine the importance of precursors producing the aforementioned fission products via radioactive decay, which would provide insights into the assumption used in MACCS 2 for a level 3 PSA analysis in which up to six precursors are considered in the calculations of radioactive decays for the fission product after release from the reactor.

대입문 병합을 이용한 효율적인 자바 난독화 기법 (An Effective Java Obfuscation Technique Using Assignment Statements Merging)

  • 이경호;박희완
    • 한국컴퓨터정보학회논문지
    • /
    • 제18권10호
    • /
    • pp.129-139
    • /
    • 2013
  • 자바 바이트코드는 타겟 머신이 아닌 자바 가상머신 상에서 동작된다. 이러한 자바 바이트코드는 바이너리 코드보다 고수준 표현을 사용하고 있어서 대부분의 자바 바이트 코드는 다시 자바 소스 파일로 바꿀 수도 있다. 난독화란 기본적으로 코드를 이해하기 어렵게 만드는 기술을 의미한다. 자바 코드의 보호를 위해서는 난독화가 사용될 수 있다. 그러나 프로그램을 복잡하게 만드는 난독화 기법은 대부분 프로그램의 크기를 증가시키고 실행 속도 또한 느려지게 만드는 원인이 된다. 본 논문에서는 대입문 병합 기법을 이용한 효율적인 자바 난독화 기법을 새롭게 제안한다. 대입문 병합 기법이 적용되면 대입문에 부작용(side effects)이 추가되어 대입문을 이해하기 어렵게 된다. 추가적으로 바이트코드의 크기가 줄어드는 장점도 있다.

이동통신 환경에서 바이트 정렬 가변 길이 터보 코드의 적응 부호화율 적용을 통한 동영상 전송 시스템 (Robust Video Transmission System Employing Byte-Aligned Variable-Length Turbo Codes and Its Code-Rate Adaptation over Mobile Communication Channels)

  • 이창우;김종원
    • 한국통신학회논문지
    • /
    • 제29권7C호
    • /
    • pp.921-930
    • /
    • 2004
  • 본 논문에서는 회선교환 방식의 이동통신 환경에서 전송 오류에 강인한 동영상 전송 시스템을 구현하기 위해서 채널의 상태에 따라 적응적으로 부호화율을 변화시키는 터보 코드 기반 오류정정 기법을 제안한다. 제안 시스템에서는 먼저 가변길이의 응용계층 단위(segment)로 생성되는 영상 부호화 스트림에 부합하도록 바이트정렬 가변길이 (byte-aligned variable-length) 터보 코드를 사용한다. 즉 ITU-T H.263+ 동영상 스트림을 GOB (group of block) 별로 나누고 이를 채널 상태에 따라 적절한 바이트정렬 가변길이 터보 코드를 적용하여 보호하는 것이다. 이를 위하여 제안된 동영상 전송 시스템의 압축 부호화율과 오류정정 부호화율 간의 상관관계를 분석하고 정적인 상황에서 최적의 부호화율을 먼저 모색한다. 또한 실제적인 이동통신 채널을 적절하게 근사하는 시변 레일리 페이딩(Rayleigh fading) 채널을 모델링한 다음 채널 변화에 따라 부호화율을 적응적으로 조절하는 기법을 제안한다. 마지막으로 제안된 적응 기법의 적용에 따른 성능 향상을 동영상 전송 성능의 비교를 통하여 검증한다.

Performing a multi-unit level-3 PSA with MACCS

  • Bixler, Nathan E.;Kim, Sung-yeop
    • Nuclear Engineering and Technology
    • /
    • 제53권2호
    • /
    • pp.386-392
    • /
    • 2021
  • MACCS (MELCOR Accident Consequence Code System), WinMACCS, and MelMACCS now facilitate a multi-unit consequence analysis. MACCS evaluates the consequences of an atmospheric release of radioactive gases and aerosols into the atmosphere and is most commonly used to perform probabilistic safety assessments (PSAs) and related consequence analyses for nuclear power plants (NPPs). WinMACCS is a user-friendly preprocessor for MACCS. MelMACCS extracts source-term information from a MELCOR plot file. The current development can combine an arbitrary number of source terms, representing simultaneous releases from a multi-unit facility, into a single consequence analysis. The development supports different release signatures, fission product inventories, and accident initiation times for each unit. The treatment is completely general except that the model is currently limited to collocated units. A major practical consideration for performing a multi-unit PSA is that a comprehensive treatment for more than two units may involve an intractable number of combinations of source terms. This paper proposes and evaluates an approach for reducing the number of calculations to be tractable, even for sites with eight or ten units. The approximation error introduced by the approach is acceptable and is considerably less than other errors and uncertainties inherent in a Level 3 PSA.

경량 동적 코드 변환을 이용한 커널 수준 소프트웨어 계측에 관한 연구 (Kernel-level Software instrumentation via Light-weight Dynamic Binary Translation)

  • 이동우;김지홍;엄영익
    • 인터넷정보학회논문지
    • /
    • 제12권5호
    • /
    • pp.63-72
    • /
    • 2011
  • 코드변환 기법은 특정 명령어 집합 구조에서 작성된 프로그램 코드를 다른 구조에서 실행할 수 있도록 변환하는 일종의 에뮬레이션 기법이다. 이 기법은 주로 구형 시스템에서 동작하는 응용프로그램을 새로운 시스템에서 동작시키기 위해 사용되었다. 코드를 변환하는 과정에서 동적으로 코드를 삽입하는 것이 가능하기 때문에 소스코드의 수정 없이 기존 응용프로그램을 계측할 수 있다. 이미 응용프로그램 분야에서는 동적코드분석과 가상머신에서 이러한 기법이 널리 활용되고 있다. 반면에 운영체제의 커널은 일반적인 유저 수준의 응용프로그램과는 다른 특성을 지니기 때문에 커널 수준에서 이러한 코드변환 기법을 사용하려면 시스템 성능, 메모리 관리, 특권 명령어 처리 및 동기화와 관련된 문제가 다루어져야 한다. 본 논문에서는 커널 수준의 동적코드변환 기법을 설계하고 코드삽입을 통한 소프트웨어 계측을 제안한다. 제안기법을 리눅스 커널에 적용하여 실험을 수행하고 그 결과를 통해 본 제안기법이 커널수준에서 소프트웨어 계측에 적은 성능 부하만을 야기함을 확인하였다.

Experimental observation and realistic modeling of initiation and propagation of the rock fracture by acoustic emission

  • Wang, Shu-Hong;Lee, Chung-In;Jeon, Seok-Won;Lee, Hee-Kwang;Tang, Chun-An
    • 한국암반공학회:학술대회논문집
    • /
    • 한국암반공학회 2006년도 춘계학술발표회 논문집
    • /
    • pp.79-93
    • /
    • 2006
  • It is well known that acoustic emission (AE) is indicator of rock fracturing or damage as rock is brought to failure under the uniaxial compressive loads. In this paper, an experimental study on the source location of acoustic emission on the cylindrical specimens of granite under uniaxial compression test was made. The AE source location was made by measuring the six channel AE data. Comparing to this experiment, the numerical method is applied to model the initiation and propagation of fracture by AE using a numerical code, RFPA (Realistic Failure Process Analysis). This code incorporates the mesoscopic heterogeneity in Young's modulus and rock strength characteristic of rock masses. In the numerical models, values of Young's modulus and rock strength are realized according to a Weibull distribution in which the distribution parameters represent the level of heterogeneity of the medium. The results of the simulations show that RFPA can be used not only to produce acoustic emission similar to those measurements in our experiments, but also to predict fracturing patterns under uniaxial loading condition.

  • PDF

임베디드 소프트웨어의 재사용성 향상을 위한 리엔지니어링 프레임워크 (Re-engineering framework for improving reusability of embedded software)

  • 김강태
    • 한국컴퓨터정보학회논문지
    • /
    • 제13권4호
    • /
    • pp.1-9
    • /
    • 2008
  • 대부분의 전자제품은 날로 다양한 소비자의 니즈로 인해 수많은 라인업을 보유하고 있다. 이에 대응하기 위해 보통 '베이스 모델'이라 불리는 초기 개발모델에서 각 상품화 과제의 특정 요구사항을 반영하여 파생개발을 한다. 제품 라인업에 기반한 소프트웨어 라인 업이 형성되는 개발환경에서 '베이스 코드'의 구조와 그 구성요소의 품질은 향후 파생되는 여러 많은 제품의 생산성과 품질의 근간이 된다. '베이스코드'는 최초 개발 후 여러 상품화를 거치면서 그 구조와 코드 자체에 수많은 변경이 가해진다. 상품화 과제의 요구사양에 따라 변경되거나 추가되는 기능의 구현은 필수적 활동이며, 성능 개선 및 문제점 해결을 위한 구조 및 코드의 변경 역시 상품화를 통해 지속적으로 발생하는 유지관리 활동이다. 하지만 위와 같은 변경은 최초 설계 시 의도된 구조가 깨지거나 코드의 복잡도가 증가하는 등의 노쇠화 징후(Ageing symptom)로 나타나 유지관리에 어려움을 준다. 본 논문은 노쇠화 된 베이스 코드의 상품화 적용 효율을 높이기 위해 재사용성, 유지보수성, 확장성 등의 비기능적 요소(quality attribute)의 개선을 위한 절차와 기법으로 리엔지니어링 프레임워크를 제안한다.

  • PDF

리눅스 기반 자원 접근제어 모듈(LPM)을 이용한 데몬 프로세스 보호 시스템에 관한 연구 (A Study on Daemon Process Protection System Using Linux Based Resource Access Control Module(LPM))

  • 나형준;이병호
    • 대한전자공학회:학술대회논문집
    • /
    • 대한전자공학회 2003년도 하계종합학술대회 논문집 Ⅲ
    • /
    • pp.1593-1596
    • /
    • 2003
  • In this paper, we propose mechanism of system call control, monitor, and manage by user level, and for this purpose we propose the mechanism using system call intercept and a logging system. Proposed mechanism is more convenient in that there is no necessity for modification of linux source code, so general users can actively apply and modify. As an application model for the mechanism, we can explain for the Daemon Process Protection System which can have a complete control on system daemon processes.

  • PDF

어셈블리 언어 수준에서의 소스코드 보안취약점 점검방법에 관한 연구 (The Study of Checking Source Code Vulnerability on the assembly language level)

  • 박현미;이병권;박정현;이형봉
    • 한국정보보호학회:학술대회논문집
    • /
    • 한국정보보호학회 2001년도 종합학술발표회논문집
    • /
    • pp.102-110
    • /
    • 2001
  • 대부분의 해킹 공격은 공격 대상 프로그램의 소스코드 보안취약점에 의해서 발생하지만 프로그램 개발시에 소스코드 보안성에 대해서는 고려되지 않았다. 이러한 문제점으로 인하여 해킹 공격의 근본적인 원인을 해결할 수 없었다. 본 논문에서는 취약점의 원인이 되는 코드를 컴파일시 생성된 어셈블리 코드 수준에서 탐지하는 방법을 제시하고자 한다. 취약한 코드를 컴파일러 수준에서 점검하는 것보다 어셈블리 코드 수준에서 점검하는 것은 어느 정도의 메모리 영역까지 점검할 수 있어 더 정확하다.

  • PDF