HDL 기본 Hardware Description Language의 줄임말인 HDL은 칩을 설계하고 테스트하기 위한 언어입니다. 기본단위는 칩이며 이 칩들은 input pin과 output pin을 갖지며 내부적인 연산을 통해 input에서 output으로 boolean 형식의 데이터가 이동하게 됩니다. 이때 내부적인 연산은 다른 칩들에 intput을 넣고 output을 받는 과정으로 이루어집니다. 즉 input과 output만을 이용하여 설계해야합니다. 예시로 아래의 Nand 칩을 설계해 보겠습니다. CHIP Nand{ //IN에서는 input pin들을 정의 IN x, y; //OUT에서는 o... Read more 14 Apr 2020 - 2 minute read
CSS에서 font의 특성을 지정하는 속성들과 이를 빠르게 작성할 수 있는 속기형 작성법에 대해 정리하려 한다. CSS에서 글자 스타일을 지정하는 속성들 글꼴: font-family 크기: font-size 행간: line-height 기울기: font-style 두께: font-weight 음절 앞 글자 대문자: font-variant(영문 글꼴에만 적용) 예시 font-family: "Times New Roman"; font-size: 10px; line-height: 1.5; font-style: italic; font-weight: bold; font-variant: small-... Read more 25 Mar 2020 - less than 1 minute read
css의 position속성에는 static, relative, absolute, fixed가 있습니다. 이 속성들의 특징과 css의 top, left속성을 이용한 위치이동시 어떤 방식으로 이동하는지 알아보겠습니다. static static은 모든 요소에 기본적으로 설정된 값입니다. relative relative 속성은 두가지 특징이 있습니다. relative 속성을 가진 요소가 static일때 있던 공간을 다른 요소가 침범하지 못한다. relative 속성을 가진 요소가 자신의 static일때 위치를 기준으로 움직인다. 예시 .example { position: relative; ... Read more 25 Mar 2020 - less than 1 minute read
배경 node.js에서 oracledb모듈을 사용하는데 아래와 같은 오류가 발생했습니다. Error: DPI-1047: Cannot locate a 64-bit Oracle Client library: "D:\app\****\product\11.2.0\dbhome_1\bin\oci.dll is not the correct architecture". See https://oracle.github.io/odpi/doc/installation.html#windows for help Node-oracledb installation instructions: https://oracle.github.io/node-oracle... Read more 29 Feb 2020 - less than 1 minute read
1. Oracledb 모듈 불러오기: Oracledb 객체 생성 const oracledb = require("oracledb"); 위와 같이 oracledb 모듈을 불러오면 oracledb라는 변수에는 oracledb 객체의 포인터가 저장된다. 즉 하나의 프로세스에서 여러개의 변수로 oracledb 모듈을 불러와도 모두 같은 객체를 참조하는것이다. 1.1 oracledb 객체는 무엇을 하는가? Pool 객체와 Connection 객체를 생성할 기반의 역할을 하고 DB관련 작업시 사용할 많은 상수들을 갖고있다. Pool 과 Connection 객체는 DB와의 통신을 생성하고 관리하는 역할을 한다. 2... Read more 27 Feb 2020 - 1 minute read