Altera CPLD Max II Blink Led

Introduction: Altera CPLD Max II Blink Led

Datasheet

-Materials:

-Leds

-Wires

For 1 Led, verilog code is:

module ledblink(clk,led);
input clk; output led; reg led;

reg[23:0] cnt;

always @(posedge clk) begin cnt<= cnt + 1'b1; led<=cnt[23];

end

endmodule

if you need more information about this tutorial, check my Blog

Be the First to Share

    Recommendations

    • Big and Small Contest

      Big and Small Contest
    • Game Design: Student Design Challenge

      Game Design: Student Design Challenge
    • For the Home Contest

      For the Home Contest

    Comments

    0
    CameronC32
    CameronC32

    7 years ago

    That is one compact FPGA!

    I use altera too. I have the max 10, and the cyclone 2.