Implement a design in Verilog HDL

Assignment Help Other Engineering
Reference no: EM132725117 , Length: word count:3000

Digital Systems Design

Aims
To introduce the principle of design choice for a digital system and become aware of its impact on circuit design and implementation.

Learning Objective 1: appreciate the impact of design choice

Learning Objective 2: understand the benefits of a formal finite state machine design procedure

Learning Objective 3: appreciate the problems that non-formal design procedures cause

Learning Objective 4: use a commercial circuit simulator to verify a design.

Learning Objective 5: Implement a design in Verilog HDL

Learning Objective 6: Appreciate the benefits of HDLs

Part 1

• Implement the Lab introduction example solutions, see BBL.

• Open a new project, ideally use the MX7000 device but you must record which device you use. Remember, no spaces in directory path or project/filenames. H:drive is best as its backed up. However, you can you local memory sticks but back them up!

• Open a new design file, check it saves to <project name>. bdf

• Copy and paste the template solution available on BBL. Open up the template, select all and then copy and paste into <projectname>.bdf

• Complete the design, saving regularly. Use the boolean equations given in lectures. See BBL

• Compile and correct all compile errors. Note the warning messages, some are not important, but some are! Check you have disk space to compile your circuit, it generates large files!

• Open up a new waveform file. Set the end time and grid spacing, bring is all inputs, output, and registers (post fitted) into the waveform file.

• Ensure everything has sensible names, groups appropriately and displayed correctly!

• Save the file, it should save to <projectname>.wav automatically.

• Using appropriate input stimuli, simulate the design to verify it is /or is not working. If it is not working, identify the error and record the process you followed to correct them in your lab book (word document!). You might wish to use some of these examples in your final report.

• Modify your solution to the above to produce the following design specification.

Implement and verify a digital system which will enable a pulse ½ the period (50us) of the clock signal to be selected every 5 clock periods (500us) or every 10 clock periods (1ms) depending on the setting of a single input.
Hint: can the output of the lecture solution be modified in some way? i.e. how can you produce a pulse ½ period of the clock.

The implementation should be a synchronous sequential circuit and not make use of clear or preset controls on the flip-flops. You may assume that you have a 10 Khz clock signal that can be used as the clock input to the pulse generator.

• Investigate and explain the delays in the circuit. i.e. what happens after the clock edge? Ensure you record the device used, different devices will have different timings.

• Using the information about the delays, determine the (approx.) maximum clock speed of the systems. Hint: what is the critical delay path?

Discuss the design/designs & implementation merits and shortcomings (if any) in your final report and add examples of evidence that show you are meeting the LOs.

Part 2 (This should be almost complete after the first lab)

Quartus has a 4-bit binary counter called "4count" it will be explained in lectures, the data sheet is on BBL. However, you should experiment with it and try to work it out first. It has asynchronous and synchronous functions.

• Investigate synchronous and asynchronous reset function of 4count.

• Investigate using a binary counter with a ‘clear'/'reset' facility as an alternative to the finite state machine in part 1. Hint: this is a counter and decoding output solution.

• Make sure you explain the design process in your report. Always start with a STD and synthesis down to logic gates. Try to summarise the Top Down process used. Don't just copy the solution! NO marks for a working solution.

Discuss the design/designs & implementation merits and shortcomings (if any) in your final report and add examples of evidence that show you are meeting the LOs.

Part 3 (This should be designed before the start of the second lab)

• Design and build a programmable pulse generator in which the repetitive period of 50µs pulses can easily be varied between 100µs and 800µs in steps of 100µs. Hints will be given in seminars.

• Use the Quartus simulator to show that your design is valid and/or explain why it is not working correctly. Print outs of your circuit and simulation results are to be submitted with your report to verify that the implementation is a true representation of the design.

Make sure you generate a formal specification, select architecture and show the top down design process. Explain and design choices. NO marks for a correctly working solution on the process.

Discuss the design/designs & implementation merits and shortcomings (if any) in your final report and add examples of evidence that show you are meeting the LOs.

Part 4 ( During lab 2 you should try to write some Verilog code and simulate it)
a) Implement and verify your design for PART 2 above using a gate level HDL Verilog description. Your description should be identical down i.e. use of names and actual gates. However, you are allowed to replace the 4count modules with one I have given in lectures, either the gate level or function level counter module. Examples will be given in lectures.

b) Implement and verify your behavioural description (i.e. STD) for PART 3 using a pure functional level HDL Verilog description.

You should use a signal functional level module, it should not use any gate level Verilog or make use of the "assign" operator.

Attachment:- Digital Systems Design.rar

Reference no: EM132725117

Questions Cloud

Find how much is the initial cost of the furniture : Noninterest-bearing note of ?120,000 payable in equal semi-annual installments on July 1 and December 31, 20x1. How much is the initial cost of the furniture?
How much is the initial cost of the building : ?8,000 were incurred in acquiring the building and paid on January 1, 20x1. An appropriate discount rate is 10%. How much is the initial cost of the building?
How much is the initial cost of the fixtures : Payable in three equal annual installments starting. The prevailing rate for note as of January 1, 20x1 is 12%. How much is the initial cost of the fixtures?
Determine the present value of the pension obligation : Determine the present value of the pension obligation (liability). Total pension payment expected each year after retirement for all employees.
Implement a design in Verilog HDL : Understand the benefits of a formal finite state machine design procedure and appreciate the problems that non-formal design procedures cause
Find the deferred tax liability and tax asset : To calculate this profit the company has deducted $60,000 entertainment expense, and $80,000. Calculate the company's taxable profit
Explain what is the company visible culture : Explain what is the company's visible culture? How can they use this to build a strong culture?
Potential problems of stress and burnout : -What can we do to reduce the potential problems of stress and burnout in our company?
Why do consumers need to be protected : Why do consumers need to be protected? How does this "needed protection" fit in with our general class discussion of "the three circles"?

Reviews

Write a Review

Other Engineering Questions & Answers

  Find current that it will draw and resistance suddenly falls

Calculate the current (I) that it will draw and the resistance (R) of the heating elements. If for some reason the resistance suddenly falls to 2 Ω during use, what would be the consequences?

  What is the minimum departure rate needed to achieve this

Assuming D/D/1 queuing, what is the minimum departure rate needed to achieve this?

  Explain erm and why it is important to organizations

Do you plan to go into a career involving ERM? If so what is your ideal job role. If not what would you like to do in the future over the next 5 years?

  Green cross-docking

how you determine the expected amount of CO2 generated per hour due to inbound operations when you start using forklift alternative 1?- Define the queueing system by describing the customers.

  Compute all the elastic properties for unidirectional lamina

Compute all the elastic properties (E1, E2, G12, G23, ν12) for a unidirectional lamina for the following material combinations:- E-glass-polyester(isophthalic)- S-glass-epoxy(9310).

  Describe about awakening a sleeping giant

Describe about Awakening a sleeping giant,Demonstrating bad timing,Implementing IS poorly,Running out of the laws and what are there effect

  How would establish an ergonomics program

Discuss what methods you would use to identify tasks that would present the greatest risk for repetitive motion injuries. How would you establish an ergonomics

  How much more money would the man have

A 40-year-old man has $432,860 in an IRA account. He decides to make no additional contributions to the account but expects it to grow at 7.5%.

  Observation and measurement of the components

Construct the circuit shown in Figure 1 below with the parameters shown in the circuit.

  Determine the pressure and quantity requirements

Determine the pressure and quantity requirements required of a compressor at surface to service the requirements of these rock drills.

  How is personal health record utilised in other organisation

Demonstrate effective communication by composing writing that communicates ideas, meaning and/or argument in a format that broadly follows conventions in the information systems field.

  Create a subroutine to count the number of characters

Create a subroutine to count the number of characters and words contained in a string terminated by a NULL character.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd