inevitablewish
Newbie level 5
hello
i urgently need to know how to run 7 Seg display for my 16 bit counter. please please give me an example with counter along with the UCF file.
actually i have the counter.v file , and also i know how to assign pins. but i dont know its even not working.
here is the code that i run , please give me its UCF file for DIO4 Board to display counter on 7 segment display
module counter(en,reset,clk,count);
input en,reset,clk;
output [15:0] count;
reg [15:0] count;
always@(posedge reset or posedge clk)
if(reset==1'b1)
begin
count=16'h0001;
end
else if(en==1'b1)
begin
count=count+1;
end
endmodule
i will be really gratefull for your kind help
i urgently need to know how to run 7 Seg display for my 16 bit counter. please please give me an example with counter along with the UCF file.
actually i have the counter.v file , and also i know how to assign pins. but i dont know its even not working.
here is the code that i run , please give me its UCF file for DIO4 Board to display counter on 7 segment display
module counter(en,reset,clk,count);
input en,reset,clk;
output [15:0] count;
reg [15:0] count;
always@(posedge reset or posedge clk)
if(reset==1'b1)
begin
count=16'h0001;
end
else if(en==1'b1)
begin
count=count+1;
end
endmodule
i will be really gratefull for your kind help