Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > VHDL > plz ...Verilog-HDL an up/down BCD counter

Reply
Thread Tools

plz ...Verilog-HDL an up/down BCD counter

 
 
SQU SQU is offline
Junior Member
Join Date: Apr 2009
Posts: 1
 
      04-27-2009
Hi

plz help me how can i write

verilog-HDL an up/down BCD counter

i make 4 function for up
and 4 for down

but how can i write them in verilog-HDL


can i use assign in if statement ??
if(up==1)
{
assign f1= xxxxx;
assign f2= xxxxx;
assign f3= xxxxx;
assign f4;= xxxxx;
}
if(down==1)
assign g1= xxxxx;
assign g2= xxxxx;
assign g3= xxxxx;
assign g4;= xxxxx;
}




plz see attachments
i want to write Verilog-HDL for this diagram




Thanks ....
Attached Images
File Type: jpg up_down.jpg (29.3 KB, 6 views)
 
Reply With Quote
 
 
 
 
JohnDuq JohnDuq is offline
Member
Join Date: Dec 2008
Posts: 88
 
      04-28-2009
Download ISE from Xilinx. The 'Language Templates' (light bulb on the toolbar) has some example counters. You can convert these to BCD.

Make sure you go through the tutorials on ISE, otherwise it is a tough learning curve. Xilinx has some decent examples on their website too; I've only looked through the VHDL but there may be some Verilog too. I'm sure you can find them in other places on the web too.

Have fun learning Verilog/VHDL!

John
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
binary to BCD updown counter gina VHDL 0 10-08-2007 03:32 PM
BCD Counter daveip VHDL 0 04-25-2007 05:53 PM
Re: plz help!!! plz plz plz plzplzplz help the noob alkzy Microsoft Certification 0 10-31-2004 10:04 PM
Computer Problems... Plz Plz Plz HELP ME..... Nick Computer Support 0 06-04-2004 08:50 PM
BCD counter and 7 segment LCD help. bob VHDL 6 11-25-2003 05:30 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57