Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic 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.

Register Log in

Starting VHDL - Digital Clock

Status
Not open for further replies.

apprentice123

Newbie level 1
Joined
May 23, 2011
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,285
I will develop a digital clock with alarm in VHDL with ModelSim.

My first question is how to simulate the clock in the four LEDs ?
 

Chops211

Member level 2
Joined
Sep 25, 2006
Messages
48
Helped
12
Reputation
24
Reaction score
11
Trophy points
1,288
Location
New York City
Activity points
1,573
First you need to figure out what clock speed you are using. If for example you are using a 100Hz clock, you need to use a counter to count 100 clock edges to get to 1Hz.

LEDs are controlled by 7 pins, one for each part of the digit. You can write a ROM that stores the output to each LED controller so that you can set the output to the ROM(digit).

Hope this helps
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top