Day 4 - FPGA Example (with DE2-115)

2025. 3. 7. 10:30·IDEC 교육/Verilog HDL

프로젝트 제작

 

Example - CLK 기반 LED 주기적으로 ON / OFF

module example1#(
    parameter N = 25
)(
    input wire clk,
    input wire rstn,
    output wire out
);

reg [N-1:0] count;

always @(posedge clk, negedge rstn) begin
    if (~rstn) count <= {N{1'b0}};
    else       count <= count + 1'b1;
end

assign out = count[N-1];

endmodule

LED의 작동이 매우 빠르기 때문에 Count의 MSB가 1일때 켜고 0일때 꺼지도록 설계

Quartus Settings

Analasys 를 진행 후에 Pin Planning
Pin Planning은 Reference File을 보고 각 PIN의 이름과 전압을 설정

Pin Planning

Synthesis까지 진행 후에 Programmer에 들어가서 FPGA 보드에 업로드

Programmer

저작자표시 비영리 변경금지 (새창열림)
'IDEC 교육/Verilog HDL' 카테고리의 다른 글
  • Day 4 - 7-seg BCD Counter
  • Day 4 - 7-Segment Decoder
  • Day 2 - Case / Casez / Casex
  • Day 2 - Latch
Zi_Yoon
Zi_Yoon
머리 속에 정리하는 곳 <전자공학>
  • Zi_Yoon
    ZY_repo
    Zi_Yoon
  • 전체
    오늘
    어제
    • 분류 전체보기 (70)
      • HDLBits (25)
        • Verilog (19)
        • Circuits (4)
        • Verification (0)
      • IDEC 교육 (1)
        • Embedded C (13)
        • Verilog HDL (8)
      • Hardware (8)
        • RISC-V Project (1)
        • Computer Architecture (0)
        • AMBA (2)
        • FPGA (0)
        • 논문 읽기 (1)
        • ETC. (4)
      • 42서울 (13)
        • 리눅스 (12)
        • 네트워크 (1)
      • 생각 (1)
      • 취업 (1)
  • 블로그 메뉴

    • 홈
    • 태그
  • 링크

  • 공지사항

  • 인기 글

  • 태그

    RISC-V
    IDEC
    verilator
    AXI4
    hdlbits
    Keil
    ARM
    bit-wise and
    ssh
    비대칭 키
    signal trap
    charater
    vm
    보안 쉘
    debian
    AppArmor
    pointer
    QUARTUS
    fucntion
    research rabbit
    lsblk
    embedded
    AMBA
    fpga
    centos
    axi
    c
    세션 키
    APT
    verilog
  • 최근 댓글

  • 최근 글

  • hELLO· Designed By정상우.v4.10.1
Zi_Yoon
Day 4 - FPGA Example (with DE2-115)
상단으로

티스토리툴바