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.

Create traffic light controller with ROM and basic logic components

Status
Not open for further replies.

sajjad.hussain

Junior Member level 1
Junior Member level 1
Joined
May 20, 2015
Messages
17
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,478
The traffic light controller should have 4 states in total:
  1. at start , the green traffic light and the red footwalker light is active
  2. when pushbutton is pressed the yellow light of traffic lights becomes active and the red footwalker light still remains active while the timer starts for 3 seconds.
  3. in next state, the traffic light turns to red while the footwalker light turns to green and another timer starts for 20 seconds.
  4. in next state, after the timer expires the traffic light becomes yellow again and the footwalker light becomes red and the first timer runs again for 3 seconds. the program returns to its initial state after the completion.
The state can been seen here:
2.jpg


The circuit diagram implemented in profilab is shown in the image given below:
1.jpg

I have been trying since last week and i have successfully implemented 3 states in profilab expert4.0 but i am unable to execute the 4th state. if i implement the 4th state, the whole program stops working.

the content of the ROM for my working example (for only 3 states) is:

3.jpg



If someone helps me with this problem and guide me what should be the contect of the ROM for first 16 locations. Regards
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top