Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

what do you mean--no code?? Step 2: Write the code for a 2:1 multiplexer mux4 mux_in_a[3:0] mux_in_b[3:0] mux_sel mux_out[3:0] 1. Create a VHDL file using

image text in transcribedwhat do you mean--no code??

Step 2: Write the code for a 2:1 multiplexer mux4 mux_in_a[3:0] mux_in_b[3:0] mux_sel mux_out[3:0] 1. Create a VHDL file using the Quartus Prime text editor: a. From the Quartus Prime File menu select New or click on the button. b. The New File dialog box will appear; select VHDL File. c. Click OK 2. Write the source code for a 4-bit 2:1 multiplexer using the IF-THEN sequential statement. Use the following information as a guide: a. The multiplexer has two 4-bit data inputs, a select line and a 4-bit output. b. Describe the following behavior: if mux_sel is 0, then choose mux_in_a for mux__ out. if mux sel is 1, then choose mux in b for mux out. c. Use the names in the diagram above to name your block and its ports (all lower-case), the VHDL file name needs to be called mux4.vhd d. Make sure the sensitivity list for the explicit process includes all inputs (i.e. all signal names that will be read during the execution of the process). The reason for this will be discussed later. are e. Inputs and outputs ises should be declared as STD LOGIC as UNSIGNED, mux_sel should f. Coding with sequential statements requires using an explicit PROCESS. g. You will need the STD_LOGIC_1164 and NUMERIC_STD packages. Step 2: Write the code for a 2:1 multiplexer mux4 mux_in_a[3:0] mux_in_b[3:0] mux_sel mux_out[3:0] 1. Create a VHDL file using the Quartus Prime text editor: a. From the Quartus Prime File menu select New or click on the button. b. The New File dialog box will appear; select VHDL File. c. Click OK 2. Write the source code for a 4-bit 2:1 multiplexer using the IF-THEN sequential statement. Use the following information as a guide: a. The multiplexer has two 4-bit data inputs, a select line and a 4-bit output. b. Describe the following behavior: if mux_sel is 0, then choose mux_in_a for mux__ out. if mux sel is 1, then choose mux in b for mux out. c. Use the names in the diagram above to name your block and its ports (all lower-case), the VHDL file name needs to be called mux4.vhd d. Make sure the sensitivity list for the explicit process includes all inputs (i.e. all signal names that will be read during the execution of the process). The reason for this will be discussed later. are e. Inputs and outputs ises should be declared as STD LOGIC as UNSIGNED, mux_sel should f. Coding with sequential statements requires using an explicit PROCESS. g. You will need the STD_LOGIC_1164 and NUMERIC_STD packages

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Practical Database Programming With Visual Basic.NET

Authors: Ying Bai

1st Edition

0521712351, 978-0521712354

More Books

Students also viewed these Databases questions