Tag: Verilog
All the articles with the tag "Verilog".
- FPGA/ASICUpdated:
Verilog와 SystemVerilog filelist를 find로 만드는 방법
find로 HDL 파일을 모아 정렬하고, shell 옵션으로 선택한 filelist를 도구에 전달하는 기본 패턴입니다.
- FPGA/ASICUpdated:
Verilog testbench를 시작할 때 HDL과 cocotb 중 고르는 기준
간단한 HDL testbench와 Python cocotb 중 선택하는 기준, 현재 cocotb 2.x의 기본 test 구성과 검증 순서를 정리합니다.
- FPGA/ASICUpdated:
Verilog case 문에서 default와 latch를 함께 확인하는 방법
Verilog case와 if-else의 선택 기준, 조합 블록의 기본 할당, default branch로 latch를 피하는 방법을 정리합니다.
- FPGA/ASICUpdated:
Verilog 곱셈 연산자 *는 FPGA에서 어떻게 합성될까
Verilog의 * 연산자는 합성 가능하지만 DSP 사용 여부와 결과 폭은 operand, FPGA 자원과 synthesis 설정을 확인해야 합니다.
- FPGA/ASICUpdated:
Verilog 숫자 literal과 signed vector의 폭 확인하기
Sized literal, signed 선언, 부호 확장과 잘림을 확인해 Verilog 산술에서 의도한 값과 폭을 유지하는 방법입니다.
- FPGA/ASICUpdated:
Verilog parameter는 named override로 지정하고 defparam은 피하기
재사용 모듈의 폭과 설정값은 parameter로 노출하고, 인스턴스에서는 이름이 있는 parameter override를 사용하는 기준입니다.
- FPGA/ASICUpdated:
Verilog blocking과 non-blocking은 언제 나눠 써야 하나
Verilog 조합회로에는 blocking 할당을, clock 기반 순차회로에는 non-blocking 할당을 사용하는 이유와 주의점을 정리합니다.