assign8-soln

assign8-soln - Datapath consists of two counters one for...

Info iconThis preview shows pages 1–3. 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 shouldn’t count the bike, but should return to the reset state.
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 2
Background image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 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. Electrical and Computer Engineering 19/10/2010 2 2. Draw the ASM chart for the following state diagram. Write and verify the equivalent verilog model. Electrical and Computer Engineering 19/10/2010 3 3. Design the binary multiplier controller shown below using multiplexors, a decoder, and a register....
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 UBC.

Page1 / 3

assign8-soln - Datapath consists of two counters one for...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online