Question

Introduction Sequential logie circuits are circuits whose outputs depend not only on the present value of their input signals but also on the sequence of past inputs, the input history. Most sequential circuits we design are synchronous, or clocked. They use a rising or falling edge of a clock, or a level of an enable signal, to control their state or storage of data. For this project, you are required to design, implement, and test a PWM Generator, as well as a State Machine with Debounce. The design must show the use of 2 Buttons to control at least 10 PWM Duty Cycles and allow the Increase and Decrease of the duty cycle with the press of the respective button. This is your first joined group projeet please make sure you take the time to work through your problems as a team: Each member wl turn in the same copy of the assignment on blackboard. I will only need one physical copy of the report Recommended Design Procedure Find the number of input variables, the number of required output variables, and assign them meaningful names. 2.Create a truth table that detines a relationship between inputs and outputs. .Obtain a characteristic equation for each output. 4 Draw the logic diagram (you could use the diagram generated by your program). 5.Implement your design using VHDL 6.Test your design by creating a test bench 7.If possible, load your circuit to the board and test it (not required but could be agood practice- extra credit could be given).
0 0
Add a comment Improve this question Transcribed image text
Answer #1

Ans 1ruth ta ble that defina a Relati0D8h1 p betuen input ond outpuu> Hold. Shift to Lept PsPe. PD. lnpui are Poral t L datoOutput /с 2o olp 4x1 3 o fg SLThe eireuit shouss thogc diagra i obtoined -npu&C D- fup jlops each eutput mode counts t> plaecd ro seleet nput mut, are en D

VHDL code:

LIBRARY IEEE;

USE IEEE.STD_LOGIC_1164.ALL;

USE IEEE.STD_LOGIC_ARITH.ALL;

USE IEEE.STD_LOGIC_UNSIGNED.ALL;

ENTITY UNIVERSAL_SR IS

PORT(PIN:IN STD_LOGIC_VECTOR(3 DOWNTO 0);

CLK,CLR: IN STD_LOGIC;

S:IN STD_LOGIC_VECTOR(1 DOWNTO 0);

DOUT:INOUT STD_LOGIC_VECTOR(3 DOWNTO 0));

END UNIVERSAL_SR;

ARCHITECTURE BEHAVIORAL OF UNIVERSAL_SR IS

SIGNAL SR,SL:STD_LOGIC;

BEGIN PROCESS(CLK,CLR)

BEGIN IF(CLR='1') THEN

DOUT <= "0000";

ELSEIF(CLK'EVENT AND CLK='1') THEN

CASE S IS

WHEN "00" => DOUT <= DOUT;

WHEN "01" => DOUT <= SR & PIN(3 DOWNTO 1);

WHEN "10" => DOUT <= PIN(2 DOWNTO 0) & SL;

WHEN "11" => DOUT <= PIN;

WHEN OTHERS => DOUT <= "XXXX";

END CASE;

END IF;

END PROCESS;

Add a comment
Know the answer?
Add Answer to:
Introduction Sequential logie circuits are circuits whose outputs depend not only on the present value of...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • how slove 4-34, 4-35, 4-36??? I dont know that! please hlep me! 306 □ CHAPTER 4/SEQUENTIAL CIRCUITS OTABLE 4-16...

    how slove 4-34, 4-35, 4-36??? I dont know that! please hlep me! 306 □ CHAPTER 4/SEQUENTIAL CIRCUITS OTABLE 4-16 State Table for Problem 4-33 Next State Input Output Present State 4-36 4-37 0 0 0 0 4-38 Design the circuit specified by Table 4-14 and use the sequence from Problen 4-31 (either yours or the one posted on the text website) to perform an automatic logic simulation-based verification of your design. 4 433. The state table for a sequential circuit...

  • Objective: In this lab, we will learn how we can design sequential circuits using behavioral mode...

    Just need the code for the random counter,Thanks Objective: In this lab, we will learn how we can design sequential circuits using behavioral modelling, and implementing the design in FPGA. Problem: Design a random counter with the following counting sequence: Counting Sequence: 04 2 9 168573 Design Description: The counter has one clock (Clock), one reset (Reset), and one move left or right control signal (L/R) as input. The counter also has one 4bit output O and one 2bit output...

  • just need the truth tables sop and circuits CET 363 Digital Circuits Design Project Liquid storage...

    just need the truth tables sop and circuits CET 363 Digital Circuits Design Project Liquid storage tank control unit In this projact you will design the control unit for a liquid storage tank. The control unit monitors temperature and liquid levels. The unit will maintain the appropriate liquid level by controlling input and output valves. The control unit also controls a heater to maintain the correct temperature range. Finaly, an alarm is activated if the liquid is too hot or...

  • Title: Combinational Circuit Design and Simulation Objectives: a. b. c. Design combinational circuit Verify design with...

    Title: Combinational Circuit Design and Simulation Objectives: a. b. c. Design combinational circuit Verify design with simulation Verify design with laboratory test data Materials Needed IBM Compatible computer, PSpice software, IC Chips (as needed), Data Switches, 4702 (1), LED (1). Pre-Lab: Problem Statement The four parameters in a chemical process control system to be monitored are temperature (T), pressure (P), flow (F), and level (L) of the fluid. The parameters are monitored by sensor circuits that produce a High logic...

  • 1) Based on the sequential circuit and answer the following questions SOV a) Write equations for...

    1) Based on the sequential circuit and answer the following questions SOV a) Write equations for J, K, T, and Z in terms of the input X and the current state given by flip flop outputs QA, QB b) Based on these equations and the properties of JK and Toggle FF's fill out the state table CURRENT NEVT STATE OUTPUT QA QB X- O X=1 X-OX=1 QAQB QAQB 0 0 STATE NEXT STATE OUTPUT c) Based on the State table...

  • BIT MAXIMUM VALUE SELECTOR Consider a simple device that takes two 2-bit binary inputs representing two...

    BIT MAXIMUM VALUE SELECTOR Consider a simple device that takes two 2-bit binary inputs representing two values ranging from zero to three. The 2-bit value A is represented by two input variables Al and A0. Values of Al and A0 will be used to encode numeric values (in binary) as described below. 2-bit values for the second 2-bit input B and the 2-bit output C are encoded similarly. The 2-bit output C of the de- vice will be the greater...

  • NYIT. Digital Logic Fundamentals, Dr. S. Ben-Avi. Spring 2019. An Excess-3 code exists for the fo...

    I NEED THE LOGISIM CIRCUIT DESIGN! NYIT. Digital Logic Fundamentals, Dr. S. Ben-Avi. Spring 2019. An Excess-3 code exists for the following reason: The primary advantage of excess-3 coding over non-biased co ding is that a decimal number can be nines' complemented (for subtraction) as easily as a binary number can be ones' complemented: just by inverting all bits it's useful We shall be discussing complement systems again later in the course - just know that this o Design logic...

  • Using Structural Modeling in VHDL write the code for: An Arithmetic Logic Unit (ALU) shown in...

    Using Structural Modeling in VHDL write the code for: An Arithmetic Logic Unit (ALU) shown in the figure below. A (16-bit), B (16-bit), Opcode (3-bit), and Mode (1-bit) are the inputs; and ALUOut (16-bit) and Cout (1-bit) are the outputs of the design. A and B hold the values of the operands. Mode and Opcode together indicate the type of the operation performed by ALU. The ALU components ARE: -Arithmetic Unit that consists of one 16-bit adder, 16-bit subtractor, 16-bit...

  • This was the answer I got, teacher said it was wrong Teacher said, couldnt run the...

    This was the answer I got, teacher said it was wrong Teacher said, couldnt run the gate because there wasnt any switches 5. Design and test a simplified logic circuit to identify all numbers in the output range of function: F(x) = 2x+3 for an input domain between 0 and 6. Be sure to include your truth table. Normal 1 No Spac... Heading 1 Head Paragraph Styles t Draw Simulate View Window Help 39 ) ) 11:55 1 esu.desire2learn.com Boolean...

  • I am writing a Python program to serve as a fitness tracker. I would love some...

    I am writing a Python program to serve as a fitness tracker. I would love some input as to how you would code this. I've included what I want this program to accomplish, what I will keep track of, and below all of that I have posted the assignment guidelines. Any suggestions on how to make this better/ more efficient would be welcome! I'm thinking of making a weekly tracker that takes input per day, and outputs at the end...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT