4:1 MUX using case statement -
library IEEE;
use IEEE.STD_LOGIC_1164.all;
entity multiplexer_case_basic is
port(
din : in STD_LOGIC_VECTOR(3
downto 0);
sel : in STD_LOGIC_VECTOR(1
downto 0);
dout : out STD_LOGIC
);
end multiplexer_case_basic;
architecture multiplexer_case_arc of multiplexer_case_basic
is
begin
mux : process (din,sel) is
begin
case sel is
when "00"
=> dout <= din(3);
when "01"
=> dout <= din(2);
when "10"
=> dout <= din(1);
when
others => dout <= din(0);
end case;
end process mux;
end multiplexer_case_arc;
design of 16:1 MUX using 4:1 MUX
code -
Library ieee;
use ieee.std_logic_1164.all;
use ieee.std_logic_arith.all;
entity basic_4x1mux is
port(a,b,c,d : in std_logic;
S0,s1 : in std_logic;
q : out std_logic);
end basic_4x1mux;
Architecture basic_4x1mux1 of basic_4x1mux is
Begin
Process(a,b,c,d,s0,s1)
Begin
If s0 ='0' and s1 ='0' then q <= a;
Elsif s0 ='1' and s1 ='0' then q <= b;
elsif s0 ='0' and s1='1' then q <= c;
else q <=d;
end if;
End process;
End basic_4x1mux1;
Main program -
Library ieee;
use ieee.std_logic_1164.all;
use ieee.std_logic_arith.all;
entity basic_16x1mux is
port(a:in std_logic_vector(15 downto 0);
s: in std_logic_vector(3 downto 0);
Z:out std_logic);
End basic_16x1mux;
Architecture basic_16x1mux1 of basic_16x1mux is
signal z1,z2,z3,z4:std_logic;
component basic_4x1mux is
port(a,b,c,d,s0,s1:in std_logic;
Q:out std_logic);
End component;
Begin
M1: basic_4x1mux port
map(a(0),a(1),a(2),a(3),s(0),s(1),z1);
m2: basic_4x1mux port map(a(4),a(5),a(6),a(7),s(0),s(1),z2);
m3: basic_4x1mux port
map(a(8),a(9),a(10),a(11),s(0),s(1),z3);
m4: basic_4x1mux port
map(a(12),a(13),a(14),a(15),s(0),s(1),z4);
m5: basic_4x1mux port map(z1,z2,z3,z4,s(2),s(3),z);
End basic_16x1mux1;
this is hardware soft co-design class thank you 04. Design a 4:1 Mux using case statement...
Design a 32-to1 multiplexer (MUX) using 1. 8-to-1 MUX and 2-to-4 decoders. 2. 4-to-1 MUX and 2-to-4 decoders. Thank you!
Write structural/heirarcherical Verilog to design 8 to 1 MUX using 2 to 1 and 4 to 1 MUX use wires
4. For the bioartificial pancreas case study we had in class: (1) Write a problem statement. (2) Describe one non-tissue engineering treatment option. What is the main limitation for this treatment? (3) Propose your tissue engineering design for bioartificial pancreas.
Using the windowing functions discussed in class, design a
low-pass FIR filter with a cutoff frequency of 2 kHz, a minimum
stop band attenuation of 40 dB, and a transition width of 200Hz.
The sampling frequency is 10kHz.
1. Using the windowing functions discussed in class, design a low-pass FIR filter with a cutoff frequency of 2 kHz, a minimum stop band attenuation of 40 dB, and a transition width of 200 Hz. The sampling frequency is 10 kHz 2....
xercise 1: 1. In May 7 Ali Co. purchase goods FOB shipping point from Ahmed Co. for $5000 on account under credit terms 2/10, n/30, 2. in May 7, Ali Co. paid cash $150 as freight expenses FOB shipping point 3. May 12 Ali Co, returns goods purchased in May 7 to Ahmed Co. for $300 4. in May 15, Ali Co. paid the balance due within the discount period structions: Prepare Journal entries assuming periodic inventory system. Purchase transactions:...
Task (10 points): (1) Approach 1: Implement a 4-to-16-line decoder using the schematic capture feature of Xilinx ISE. On the schematic, add a text that clearly shows your name and eRaider ID. (2) Approach 2: Write and compile a 4-to-16-line decoder Verilog gate-level description. (3) Approach 3: Write and compile a 4-to-16-line decoder Verilog behavioral description. (4) Create an appropriate test file to do an exhaustive test. Exhaust all the possible input codes in 3 the following order: 0000 →...
Reconsider the Wyndor Glass Co. case study introduced in Section 21/ in class. Suppose that the estimates of the unit profits for the two new products now have been revised to $500 for the doors and $350 for the windows. A curve fitting procedure was used to estimate the weekly marketing costs required to sustain a production rate of doors and W windows • Marketing cost for doors $250 • Marketing costs for windows $66 Hours Used PerUnit Produced: Available...
Handout 5: Accounting for merchandising operations Exercise 1: 1. In May 7 Ali Co. purchase goods FOB shipping point from Ahmed Co, for $5000 on account under credit terms 2/10, n/30, 2. in May 7, Ali Co. paid cash $150 as freight expenses FOB shipping point 3. May 12 Ali Co. returns goods purchased in May 7 to Ahmed Co. for $300 4. in May 15, Ali Co. paid the balance due within the discount period Instructions: Prepare Journal entries...
please do all in C++ code, thank you.
Worth 1 point Checkpoint 7.12 Write a statement that assigns the value 10 to the first elementof an array of integers named minutes. Type your program submission here Worth 1 point Checkpoint 7.14 Write a cout statement that will display contents of the second element of an array named courseNumbers Type your program submission here Submit Worth 1 point Checkpoint 7.15 Write a cin statement that will store the user's input in...
1 to 15 blanks thank you!
(1 point) For registers, Integers are encoded in one of two basic types 1. and 2. (1 point) The number 201 as a one byte unsigned integer is represented as in binary and in hexadecimal. (1 point) The 2 methods for representing signed integers are 3. and (5 points) What is the 16 bit representation of -125 in 2's complement notation? 4. (5 points) What is the decimal representation of the signed integer 10000001?...