본문 바로가기

전체 글

Japan Dokyo 09.06~09.09 항공권숙박맛집기타- Total Price : 858,000 + 936,000 = 1,794,000 / 3  =  598k   + a, 7만엔 => 600k ~ ===============================1) 항공권인천 국제 공항 - 나리타 공항무료수하물 15KG - 1300엔 버스 (도쿄역 - 나리타 공항), 좌석없는 선착순버스 ** 요금 1500엔으로 인상됨 **운영시간/소요시간, 배차간격 약10분나리타출발 : am7:30 ~ pm 10:00도쿄출발 : am5:00 ~ pm7:30약 60~70분 승차권 구입장소 / 탑승- 나리타 공항 (1터미널[에어부산] - 7번) * 스이카 구매하기나리타공항 제1터미널에서 '스이카 카드' 구입.. : 네이버블로그 (naver.com) 나리타공항 제1터미널.. 더보기
[Linux] tar / gzip 명령어 tar : 파일을 관리하는 명령어로써 (Tape Archive)의 약자임 여러 파일을들 묶어서 하나로 만드는 명령어 tar 명령어는 파일을 하나로 묶기만 할 뿐, 압축은 gzip 명령어가 실행함 압축 : gzip [file] / 압축 해제 : gunzip [file] tar [option] [name.tar] [file or directory] - Option (tar는 -를 안넣어도 됨) c : 데이터 파일들을 묶어서 Archive로 생성 x : Archive를 해제(묶인 것을 풀음) v : 과정을 상세하게 나열 f : 대상 tar Archive 지정 z : gzip 압축 적용 t : tar Archive에 포함된 내용을 압축을 풀지 않고 확인 r : tar Archive 마지막에 파일 추가 (*압축 .. 더보기
[SV] Class declaration ex) property, method class sv_class; //class properties int x; //method-1 task set(int i); x = i; endtask //method-2 function int get(); return x; endfunction endclass module sv_class_ex; sv_class class_1; //Creating Handle initial begin sv_class class_2 = new(); //Creating handle and Object class_1 = new(); //Creating Object for the Handle //Accessing Class methods class_1.set(10); .. 더보기
[SV] event / concurrency iff in event control example module event_ctrl; bit clk; bit reset; always #2 clk = ~clk; //at posedge of clk if reset is equals to '0',always block will be executed always @(posedge clk iff reset == 0) begin :block-1 $display($time,"\tInside always block"); end :block-1 //always block will be executed at every posedge and negedge of clk signal always @(posedge reset or negedge reset) begin :blo.. 더보기
[SV] Do while loop do - while do begin end while (expression); ex) int a; initial begin do begin $display("\t Value of a=%0d",a); a++; end while(a5) end // a = 0 if, a = 0 a = 1 a = 2 a = 3 a = 4 더보기
[SV] Arrays Packed / Unpacked Packed : vector를 access가 용이하도록 subfield로 나눈 구조 dimension declared before the data identifier name => packed : contiguous dimension declared after the data identifier name => unpacked : non-contiguous ex) bit [2:0] [7:0] array1; ==> packed bit [2:0] array2 [7:0]; ==> unpacked Dynamic data_type array_name []; - methods new[] => allocates the storage size() => returns the current .. 더보기
[SV] Data type Structural wire, reg Behavioral integer, real, time, logic - integer : -2^31 to (2^31 -1) - real : 64bit real number decimal, scientific notation // ex) 14.72 , 1.2e3 - time : conjunction with the $time system task to hold simulation time. not supported for synthesis - logic : bit – Unsigned byte, shortint, int, longint – Signed unsigned two-state types, bit single_bit ; // unsigned single bit b.. 더보기
[Linux] cshell 사칙연산 @ expression 사용 ex) set i = 1 @ i = $i + 1 echo $i ///////////////////// 2 더보기