Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

D2sb-Dio4 interfacing

Status
Not open for further replies.

inevitablewish

Newbie level 5
Joined
Apr 24, 2010
Messages
10
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
pakistan
Activity points
1,479
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
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top