--- author: Oldrich Pecak --- # Hazards, advanced circuits --- ## Hazards - glitches caused by physical delays in circuit - can be analysed in karnaugh map - problematic for edge-triggered circuits - usually not visible by human eye --- ## Multiplexers - circuit for switching multiple inputs into single output - usually 2 groups of inputs: - multiple signal in - select input - demultiplexers are the other way around - Let's build basic multiplexer --- ## Using multiplexers as LUTs - you can implement look up tables (LUTs) using muxes - commonly used technique to implement various logic functions - multiplexers/demultiplexers are common component - 74x151 - 8bit multiplexer - 74x352 - 2x 4bit multiplexer |A|B|C|X| |-|-|-|-| |0|0|0|0| |0|0|1|0| |0|1|0|1| |0|1|1|1| |1|0|0|0| |1|0|1|1| |1|1|0|0| |1|1|1|1| --- # Unrelated bonus! --- # Homework - design and build/simulate a 7 segment display driver - do not use common 74xxx or 40xxx series 7 segment converter! - you can do it either in Digital (recommended) or on a breadboard - input: 4bit number - output: logical values for the A-G segments of the display