Questions
Write the VHDL codes for (7494) 4 bit shift register using Behavioral style of modeling. this...

Write the VHDL codes for (7494) 4 bit shift register using Behavioral style of modeling. this is the datasheet for this Quation ( http://www.ralphselectronics.com/productimages/SEMI-SN7494N.PDF )

In: Electrical Engineering

Design a Count-up Counter in Aiken code with following flip flops: a) D-FF (Active edge is...

Design a Count-up Counter in Aiken code with following flip flops: a) D-FF (Active edge is high to low) b) SR-FF (Active edge is high to low) c) Use of output of circuit in part (b) and minimum number of logic gates for getting the Countdown counter in Aiken code

In: Electrical Engineering

Create the Decoder module in System Verilog to decode the 4-bit Binary Coded Decimal digit into...

Create the Decoder module in System Verilog to decode the 4-bit Binary Coded Decimal digit into seven-segment code. You can also include and instantiate your decoder schematic from Section 3 instead of writing a new System Verilog module.

In: Electrical Engineering

Create the Parser module in System Verilog to convert the 8-bit Button Board input into four...

Create the Parser module in System Verilog to convert the 8-bit Button Board input into four 4-bit Binary Coded Decimal numbers. The parser should read in an 8-bit Button Board input as an 8-bit number (0-255). Parse that 8-bit number into four 4-bit numbers (0-9) representing its ones, tens, hundreds, and thousands digit.

In: Electrical Engineering

Matlab You will write a function to calculate the determinant of a matrix. It should work...

Matlab

You will write a function to calculate the determinant of a matrix. It should work for any size matrix. Remember that the determinant can be calculated by multiplying the diagonal elements of an upper right triangular matrix. Your function will take a matrix passed to it and put it in upper right triangular form. You will work down the diagonal beginning at row 1 column 1, then row 2 column 2, etc. Note that the row and column numbers are the same on the diagonal. You will put zero in each column below the diagonal elements by making linear combinations of rows. Before you make linear combinations down a column, swap rows (if needed) to put the row with the largest value on the diagonal. Also remember, each time you swap rows, the determinant changes sign so count of how many row swaps are necessary and adjust the sign of the determinant accordingly. A matrix must be square to have a determinant. If the matrix passed to your function is not square, return the text ‘Matrix must be square’.

There are functions included that you MUST use in your function. These will be local functions that follow your main function. You must use ALL the functions. The functions are: RowComp(matrix, row, col) which returns the row with the largest absolute value in the column passed to the function beginning at the row passed to the function; Swap(matrix, row1, row2) which returns a matrix with row1 and row2 exchanged; and LinComb(matrix, row1, row2, alpha) which returns a matrix with row2 replaced by row1*alpha+row2. These functions will make your function much easier to write and debug.

Your function will be checked with a different matrix of a different size. Don’t forget comments and use reasonable variable names.

Example—if the matrix passed to the function is the determinant is 102.

Interim steps in the calculation:

1. Swap row 3 and row 1

     5     2    -2     5

     3     4     7     2

     1     5     9     3

     3     1     7    -3

2. Zeros in column 1

    5.0000    2.0000   -2.0000    5.0000

         0    2.8000    8.2000   -1.0000

         0    4.6000    9.4000    2.0000

         0   -0.2000    8.2000   -6.0000

3. Swap row 2 and row 3

5.0000    2.0000   -2.0000    5.0000

         0    4.6000    9.4000    2.0000

         0    2.8000    8.2000   -1.0000

         0   -0.2000    8.2000   -6.0000

4. Zeros in column 2

5.0000    2.0000   -2.0000    5.0000

         0    4.6000    9.4000    2.0000

         0         0    8.6087   -5.9130

         0         0    2.4783   -2.2174

5. Continue until all rows have been completed and zeros are in all columns below the diagonal.

6. Calculate the determinant by multiplying all the diagonal terms together and adjust the sign of the determinant by the number of row swaps.

In: Electrical Engineering

In this project we will implement the Minesweeper game. Minesweeper is played on a rectangle grid....

In this project we will implement the Minesweeper game. Minesweeper is played on a rectangle grid. When the game starts, a number of bombs are hidden on random positions on the field. In every round, the player "touches" a cell of the field. If the cell contains a bomb, it explodes, the game ends, and the player loses. Otherwise, the cell is uncovered to show the number of bombs in the vicinity, that is, the number of neighboring cells that contain bombs. (Each cell has eight neighbors, including the diagonal neighbors. If the number is zero, the cell is displayed as a blank.) When the user believes she knows the position of a bomb, she can flag that cell with a marker. It is allowed to change one's mind later and uncover a flagged cell. If all cells are either uncovered or flagged, and the number of flags is equal to the number of bombs, then the game ends and the player wins.

The display should be performed in the Terminal. The C code must enforce the rules and prevent the players to choose forbidden options.

Do c programming coding based on this qusetion..

In: Electrical Engineering

This week, your Mechanical and Electrical Systems in Architecture, Engineering, and Construction textbook refers to the...

This week, your Mechanical and Electrical Systems in Architecture, Engineering, and Construction textbook refers to the National Electrical Code (NEC), or NFPA 70, the set of specifications and standards for installing electrical wiring and equipment in the United States. Similarly, the Canadian Electrical Code (CEC), or CE Code, defines the requirements for electrical installation in Canada.

For this week’s Discussion, you will focus on the inspection requirements for electrical systems used in commercial buildings in your community. Begin by researching the electrical inspection requirements for commercial buildings in your locale.

In your response, describe the regulations that inspection agencies in your community have put in place for commercial buildings. How do these regulations differ across various electrical systems?

In: Electrical Engineering

Can you write an arduino code to learn Hx711 and two Strain gauge value with Half...

Can you write an arduino code to learn Hx711 and two Strain gauge value with Half wheatstone bridge?

In: Electrical Engineering

1) For x ¼ "110010", of type BIT_VECTOR(5 DOWNTO 0), determine the values of the shift...

1) For x ¼ "110010", of type BIT_VECTOR(5 DOWNTO 0), determine the values of the
shift operations listed in the column on the left below.
2) In the column on the right, write an equivalent expression using the concatenation
operator (the first one was already done).
a) x SLL 3
b) x SLA -2
c) x SRA 2
d) x ROL 1
e) x ROR -3
a) x(2 DOWNTO 0) & "000"
b)
c)
d)
e)

In: Electrical Engineering

From the given list below of networking standards used in PLC systems, evaluate each

 

From the given list below of networking standards used in PLC systems, evaluate each,

Peer To Peer

ISO

 

EVALUATE each of the given networking signal protocols used in PLC systems

RS232

IE488

20mA

In: Electrical Engineering

What advantages and Disadvantages of Bow-tie antenna?

What advantages and Disadvantages of Bow-tie antenna?

In: Electrical Engineering

Design a 4 bit Counter that displays even numbers when a switch on, and odd when...

Design a 4 bit Counter that displays even numbers when a switch on, and odd when the switch off . 1.by using multisim (explain in details and information of how you do it in multisim) show steps of multisim and which gates numbers you used.

In: Electrical Engineering

The major advantage of using structs is to make the C++ code simpler, easier to read,...

The major advantage of using structs is to make the C++ code simpler, easier to read, and easier to work with. After completing this assignment, students will be able to: • use structs to create and/or introduce new custom data types • implement structs to group fixed numbers of pieces of data of different types • implement structs within structs • chaining using the dot operators to access nested fields • copy an entire structure • create an array of a structured data type • combine structs and arrays with one another Task Description: A Decoration Store Manager wants you to create a program to keep track some of the best-selling items. You are given 4 files: Furnitire.txt, Art.txt, Fabric.txt, and Book.txt. Your task is to create an array of structs for each file to hold the entries. The first line of each file will be a number indicating how many entries are in the file. Furnitire.txt 1. Name 2. Color 3. Amount of Inventory 4. Date Created (month:day:year) 5. Price Art.txt 1. Name 2. Price 3. Amount of Inventory 4. Date Created (month:day:year) 5. Dimensions of Art (height:width:depth) Fabric.txt 1. Name 2. Color 3. Amount of Inventory 4. Price Book.txt 1. Name 2. Hardcover? (1 for yes 0 for no) 3. Amount of Pages 4. Price 5. Amount of Inventory 6. Date Published (month:day:year) Write a C++ program to help the Decoration Store Manager. Create four arrays of structs named Furniture, Art, Fabric, and Book. The size of the array should be read in from the file. Structs should be created to hold the variables that won’t fit a standard data type. The main() function of your program should be very simple. The main function should be a collection of variables declaration and functions call. You will need to use four different functions to read the data from the four files. You can add more functions if you want. You are to give the user the ability to print out each section’s records (Furniture, Art, Fabric, and Book). Do NOT use global variables.

These are the files given:

1) Art.txt

12
WaterColorPainting 25.95 20 07:02:2015 20:20:1
AcrylicPainting 10.22 89 06:15:2014 12:14:1
Photo 2.50 4 06:25:2017 10:10:1
LatexPainting 22.49 11 08:29:2015 18:13:1
PencilDrawing 5.25 56 05:01:2010 12:10:1
ClaySculpture 20.25 16 04:19:2011 12:12:3
GlassSculpture 15.40 40 09:05:2002 4:18:15
PlasticSculpture 2.96 22 05:20:2010 10:10:10
WoodenSculpture 27.89 9 03:11:2016 14:12:4
MetalSculpture 14.65 1 06:24:2013 18:15:7
ConcreteSculpture 3.69 0 03:29:2016 19:28:4
MarbleSculpture 29.99 16 06:15:2013 13:20:7

2) Book.txt

16
PrideandPrejudice 1 209 10.99 10 04:01:2010
ToKillaMockingbird 0 276 10.99 3 03:10:2013
TheGreatGatsby 1 257 7.99 3 06:21:2000
JaneEyre 1 294 10.99 8 06:01:2005
TheCatcherintheRye 1 171 10.99 2 07:06:2006
LittleWomen 0 354 10.99 3 02:26:2008
HuckleberryFin 1 269 7.99 2 02:27:2015
MobyDick 0 278 10.99 1 07:13:2012
AliceinWonderland 1 494 10.99 7 08:17:2015
LordoftheFlies 1 133 10.99 1 06:06:2016
AnimalFarm 1 119 7.99 5 03:22:2015
GreatExpectations 0 287 10.99 9 06:13:2013
1984 0 275 10.99 8 04:14:2017
GreatExpectations 1 360 10.99 7 07:23:2016
Frakenstein 0 146 10.99 3 03:20:2010
TheScarletLetter 1 248 10.99 5 02:28:2014

3) Fabric.txt

10
WoolRug white 10 24.20
NaturalFiberRug red 21 18.65
Drapes brown 15 10.60
DoorMat green 50 21.20
TableMat red 60 5.95
CottonRug white 10 14.26
SyntheticRug blue 15 18.10
PlaceMat brown 26 2.55
ClothNapkins white 18 3.05
Curtains grey 28 12.32

4)

14
Table brown 10 01:16:2000 100.00
Chair black 20 05:14:2006 25.20
Couch brown 5 10:21:2015 325.50
LoveSeat yellow 3 09:08:2011 145.70
RockingChair red 15 06:03:2013 45.60
Desk brown 5 11:10:2004 50.00
Lamp blue 8 12:06:2014 10.95
Light grey 10 06:12:2003 11.00
Bed red 7 07:18:2006 150.00
HighChair white 11 08:22:2007 25.60
FootRest brown 5 08:23:2015 15.95
CoffeeTable white 0 06:25:2016 57.10
BedsideTable black 2 04:23:2015 45.23
Stool brown 25 08:26:2014 20.00

In: Electrical Engineering

An analog signal, bandlimited to 20 Hz is corrupted by high-frequency noise. The spectrum of the...

An analog signal, bandlimited to 20 Hz is corrupted by high-frequency noise. The spectrum of the noise is from 25 Hz to 35 Hz. The noisy analog signal is sampled at 60 Hz. A digital lowpass filter is to be designed so as to remove the noise from the signal. Find the desired frequency response.

In: Electrical Engineering

Task 1: (preferably not hand written) a) Describe briefly (about 250 words) a method of tuning...

Task 1: (preferably not hand written)

a) Describe briefly (about 250 words) a method of tuning a PID controlled system that would NOT be suitable for tuning a critical system such as a power plant, and explain why.

b) Describe briefly (about 250 words) a method of tuning a PID controlled system that is suitable for tuning a critical system such as a power plant, and explain why.

Thanks

In: Electrical Engineering