Assign8 - shouldn’t count the bike but should return to the reset state Datapath consists of two counters one for each direction which receive a

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Electrical and Computer Engineering 19/10/2010 1 EECE256 Assignment 8 1. Construct a block diagram and ASMD chart for a digital system which counts bikes going in each direction. Two air pressure based sensors are placed side by side, and the corresponding signals, L-Sensor and R-Sensor, transition from 0 to 1 when a bike goes past. A bike going left will first cause an L signal, then an R, while a bike going right will cause an R followed by an L. If the first signal isn’t followed by the expected second signal then it
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: shouldn’t count the bike, but should return to the reset state. Datapath consists of two counters, one for each direction, which receive a count signal generated by your controller. Assume that only one bike will ride over the sensor at a time. 2. Draw the ASM chart for the following state diagram. Write and verify the equivalent verilog model. 3. Design the binary multiplier controller shown below using multiplexors, a decoder, and a register. 4. Questions 8.7 (without HDL), 8.9, 8.16, 8.30, 8.31...
View Full Document

This note was uploaded on 12/21/2010 for the course EECE EECE 256 taught by Professor Sidney during the Spring '10 term at The University of British Columbia.

Ask a homework question - tutors are online