초보의 아웅다웅 설계하기 355

알테라에서 IP추가후 에러가 발생하는 문제

알테라에서 IP추가후 에러가 발생하는 문제 (Error (12006): Node instance "추가한 아이피 이름" instantiates undefined entity "new_component". Ensure that required library paths are specified correctly, define the specified entity, or change the instantiation. If this entity represents Intel FPGA or third-party IP, generate the synthesis files for the IP. ) Component Editor -> Synthesis Files에서 추가한 *.vhd의 Analyze Synthesis ..

wire와 reg

출처 : http://egloos.zum.com/pinge/v/2259784 처음 Verilog HDL 언어를 접하면서 가장 힘들었던 부분은 역시 wire 와 reg의 구분을 하는것.. wire = "선" reg = "레지스터" 라고 우선 생각을 한다. wire 는 실제 wire처럼 단지 어떤 모듈과 모듈을 이어주는 선에 불과하고 reg은 실제 레지스터처럼 어떤 신호에 영향을 받아 바뀌는 값이라고 생각함. 따라서 always문 안에서만 reg 값의 변경이 가능하고 wire값은 그 자체로 변경이 불가능하다. 단지 선을 연결하거나 and나 or등의 모듈로 나온 선을 잇는것만 가능할뿐.. ex ) reg와 wire를 이용한 2x4 Decoder. 2x4 Decoder 의 진리표 Input Output 00 0..