![]() Capture the screen with the binary probes on the output of the decoder showing 0100. Drive the clock input with a series of pulses (you may use the Binary Switch to generate clock signals) and record the changes to all four outputs on the timing diagram. Each stage has an additional inverter to output the uncomplemented value. Connect the outputs from the decoder to binary probes. The clk4 circuit divides the input clock by four to produce the digit clock. The multiplexor above is a 1-bit wide 2-way multiplexor: 2 inputs, 1 bit wide each. ![]() The clock frequency can be adjusted in Logic Works menus.) 1.2 Connect two lower order outputs of the 4 bit counter to a 2 to 4 decoder (e.g. job of the multiplexor is to choose one of several inputs, based on a control line, and send the chosen input to the output. (You may test your counter with the Clock component connected to its clock input to make it count the clock pulses generated automatically. Capture the screen with the display showing hexadecimal “A”. generate a sequence of pulses, to step the counter through all 16 states. Connect the Binary Switch to the clock input and change its state (0-> 1 -> 0. ![]() Counter-4 Min) to the hexadecimal digit display (e.g. Binary Decoders are another type of digital logic device that has inputs of 2-bit, 3-bit or 4-bit codes depending upon the number of data input lines, so a decoder that has a set of two or more bits will be defined as having an n -bit code, and therefore it will be possible to represent 2 n possible values. Logic Works 5 device libraries - SimulationLogic.clf (devices: Counter-4 Min, Decoder-4, Adder-4, Reg-4 wo/CLR etc.) SimulationIo.clf (devices: Hex Keyboard, Hex Display etc.) (Note: before starting simulations with sequential circuits you may need to reset all the circuits first, by selecting form menus: Simulation Reset Unknowns.) Exercise 1: Counter with self-decoding outputs 1.1 Connect a 4 bit counter (e.g. CS3853 Winter 2022 Laboratory #3 Friday February 25, 4:30pm, online Simulating sequential circuits: - using more advanced digital components (like a 4 bit adder integrated circuit) - testing a counter with self decoding outputs - simple ALU with an integrated parallel adder and three registers References: 1. ![]()
0 Comments
Leave a Reply. |