subject

CprE 381 – Computer Organization and Assembly Level Programming Spring 2018Lab #2 [Note: This is a fairly lengthy lab in which you will learn some good VHDL design practices that will be helpful in your later projects. By ‘structural’ VHDL code, we mean code that has only basic logic gates implemented behaviorally as well as component instantiation. In contrast, ‘dataflow’ VHDL code uses concurrent assignment statements and allows for a greater amount of abstraction of the underlying logic structure. No ‘behavioral’ code (i. e. processes) is needed to complete this lab, beyond those that would drive signal values in the testbenches.]0) Prelab. Read the lab thoroughly. Read the Free Range VHDL Tutorial, pages 5-53. At the end of Chapter 3, answer questions 4b), 5a), and 6. 1) A One’s Complementer unit is a combinational functional unit that takes a single input and negates each individual bit. Provide your solution to this problem (VHDL code, simulation waveforms) in a folder called ‘P1/’.(a) Implement an N-bit one’s complimenter using structural VHDL, with the included inv. vhd NOT gate design as the basic building block. [It is highly recommended that you create an entity using a "generic" port for the N value, similar to what is done in included file generate_example. vhd and further described in section 9.2 of Free Range VHDL. You can greatly simplify your code with a "generate / for" block, which essentially acts as a macro expansion. A generate for loop as shown in generate_example. vhd is essentially specifying an array of and2 modules and hooking up the corresponding bits of a std_logic_vector. The combination of generic ports and generates allow you to structurally specify parameterized components that can be reused throughout your term project. Spend some time designing reusable components now and make your final project easier!](b) Create a second architecture for this unit that makes use of dataflow VHDL only. [Create this as a second file with a new entity name, to simplify the testing of both modules concurrently.](c) Create a single testbench design that uses structural VHDL to wrap both of these one’s complementers into a single entity with shared inputs (but different outputs). Use ModelSim to test that both designs give consistent results for the N=32 configuration. Include a waveform screenshot in your report PDF. [An example VHDL testbench is provided as tb_and2.vhd.]

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 00:00
What engine component is shown in the above figure?
Answers: 1
question
Computers and Technology, 23.06.2019 22:40
22. sata3 allows for data transfer rates of 600 mb/s. explain why you would likely not be able to copy data from one hard drive to another at anywhere close to this speed. also, what could be upgraded on the computer to achieve transfer speeds closer to 600 mb/s
Answers: 1
question
Computers and Technology, 24.06.2019 00:30
Which boolean operator enables you to exclude a search term? a} not b} and c} or d} plus
Answers: 1
question
Computers and Technology, 24.06.2019 10:20
Write a program that keeps asking the user for new values to be added to a list until the user enters 'exit' ('exit' should not be added to the list). these values entered by the user are added to a list we call 'initial_list'. then write a function that takes this initial_list as input and returns another list with 3 copies of every value in the initial_list. finally, inside print out all of the values in the new list. for example: input: enter value to be added to list: a enter value to be added to list: b enter value to be added to list: c enter value to be added to list: exit output: a b c a b c a b c note how 'exit' is not added to the list. also, your program needs to be able to handle any variation of 'exit' such as 'exit', 'exit' etc. and treat them all as 'exit'.
Answers: 2
You know the right answer?
CprE 381 – Computer Organization and Assembly Level Programming Spring 2018Lab #2 [Note: This is a f...
Questions
question
Spanish, 17.07.2019 02:30
question
Mathematics, 17.07.2019 02:30
question
Mathematics, 17.07.2019 02:30
Questions on the website: 13722363