I know that i need to use frequency divider, but i don't know how to implement the program.
I'm beginner in verilog, but i want to learn with exemples.
I'll use:
input clock
input reset
output reg [7:0] seg //for segment
output [3:0] an //for 1 digit selection
I want to make a 7 digit display using verilog. I'll test the program on spartan 3E.
I know that i need to use frequency divider, but i don't know how to implement the program.
I'm beginner in verilog, but i want to learn with exemples.
I'll use:
input clock
input reset
output reg [7:0] seg //for segment
output [3:0] an //for 1 digit selection
First of all you mention you want to make a Verilog program...Verilog is a hardware description language it's not the same as writing a software program. So make sure you understand that the Verilog code you write represents things like registers, gates, muxes, decoders, etc. If you can draw the schematic of what you are designing then you translate it to Verilog.