vturesource.weebly.comvturesource.weebly.com/.../3/7/4/0/37406139/fundamentals_of_hdl.pdf ·...

22

Transcript of vturesource.weebly.comvturesource.weebly.com/.../3/7/4/0/37406139/fundamentals_of_hdl.pdf ·...

Page 1: vturesource.weebly.comvturesource.weebly.com/.../3/7/4/0/37406139/fundamentals_of_hdl.pdf · Explain the behavioral and structural description types of HDL ... What is the need of
Page 2: vturesource.weebly.comvturesource.weebly.com/.../3/7/4/0/37406139/fundamentals_of_hdl.pdf · Explain the behavioral and structural description types of HDL ... What is the need of
Page 3: vturesource.weebly.comvturesource.weebly.com/.../3/7/4/0/37406139/fundamentals_of_hdl.pdf · Explain the behavioral and structural description types of HDL ... What is the need of
Page 4: vturesource.weebly.comvturesource.weebly.com/.../3/7/4/0/37406139/fundamentals_of_hdl.pdf · Explain the behavioral and structural description types of HDL ... What is the need of
Page 5: vturesource.weebly.comvturesource.weebly.com/.../3/7/4/0/37406139/fundamentals_of_hdl.pdf · Explain the behavioral and structural description types of HDL ... What is the need of
Page 6: vturesource.weebly.comvturesource.weebly.com/.../3/7/4/0/37406139/fundamentals_of_hdl.pdf · Explain the behavioral and structural description types of HDL ... What is the need of
Page 7: vturesource.weebly.comvturesource.weebly.com/.../3/7/4/0/37406139/fundamentals_of_hdl.pdf · Explain the behavioral and structural description types of HDL ... What is the need of

Footer Page 1 of 16.

Page 8: vturesource.weebly.comvturesource.weebly.com/.../3/7/4/0/37406139/fundamentals_of_hdl.pdf · Explain the behavioral and structural description types of HDL ... What is the need of

Footer Page 2 of 16.

Page 9: vturesource.weebly.comvturesource.weebly.com/.../3/7/4/0/37406139/fundamentals_of_hdl.pdf · Explain the behavioral and structural description types of HDL ... What is the need of

Footer Page 3 of 16.

Page 10: vturesource.weebly.comvturesource.weebly.com/.../3/7/4/0/37406139/fundamentals_of_hdl.pdf · Explain the behavioral and structural description types of HDL ... What is the need of

Footer Page 4 of 16.

Page 11: vturesource.weebly.comvturesource.weebly.com/.../3/7/4/0/37406139/fundamentals_of_hdl.pdf · Explain the behavioral and structural description types of HDL ... What is the need of

Footer Page 5 of 16.

Page 12: vturesource.weebly.comvturesource.weebly.com/.../3/7/4/0/37406139/fundamentals_of_hdl.pdf · Explain the behavioral and structural description types of HDL ... What is the need of

Footer Page 6 of 16.

Page 13: vturesource.weebly.comvturesource.weebly.com/.../3/7/4/0/37406139/fundamentals_of_hdl.pdf · Explain the behavioral and structural description types of HDL ... What is the need of

Footer Page 7 of 16.

Page 14: vturesource.weebly.comvturesource.weebly.com/.../3/7/4/0/37406139/fundamentals_of_hdl.pdf · Explain the behavioral and structural description types of HDL ... What is the need of

Footer Page 8 of 16.

Page 15: vturesource.weebly.comvturesource.weebly.com/.../3/7/4/0/37406139/fundamentals_of_hdl.pdf · Explain the behavioral and structural description types of HDL ... What is the need of

Footer Page 9 of 16.

Page 16: vturesource.weebly.comvturesource.weebly.com/.../3/7/4/0/37406139/fundamentals_of_hdl.pdf · Explain the behavioral and structural description types of HDL ... What is the need of

Fourth Semester B.E. Degree Examination, May/June 2010Fundamentals of HDL

Note: Answer any FIVE full questions, selectingat least TWO questions from each part.

PART-A

a. Explain the behavioral and structural description types of HDL programming, with examplesand keywords used. (10 Mark. ••)

b. Explain the following data types:i) Physical std_logic and bit_vector in VHDLii) Nets, parameters and registers in verilog. (10 Marks)

a. How do you assign a delay time to the signal assignment statement? Explain the dataflowmodel of2xl multiplexer in VHDL and verilog. (10 Marks)

b. Explain the use of data type vectors with dataflow description of 2x2 unsignedcombinational array multiplier in VHDL and verilog. (10 Marks)

a. Differentiate between signal and variable assignment statement in VHDL. Write VHDLprograms for behavioral description of D-Iatch using signal assignment and variableassignment. (10 Marks)

b. Explain the formats of for-loop and while-loop statements in VHDL and verilog. (06 Marks)c. Write veri log description for a 4-bit priority encoder. (04 Marks)

a. Explain the binding in the foHowing, with example:i) Between entity and component in VHDLii) Between two modules in verilog.

b. Write the HDL programs for N+ I bit magnitude comparator usingi) generate and generic in VHDL ii) generate and parameter in verilog.

a. Explain the use of procedure (in VHDL) and task (in verilog) with description of full adder,using half adders. (10 Marks)

b. Explain the file declaration and built in procedures for file handling in VHDL. (10 Marks)

a. How to attach a package to the VHDL module? Explain with an example. (OSMarks)

b. What is the need of mixed type descriptions? Write description of 16x8 SRAM in VHDLand verilog. (12 Marks)

a. How to imvoke a VHDL entity from a verilog module. Explain with an example. (10 Marks)b. Write a HDL program for mixed language descriptions of a JK-flip-flop with a clear input.

(10 Marks)

a. Write a flow diagram of synthesis. Explain its steps. (08 Marks)

b. Write VHDL code for signal assignment statement y = 2 * x + 3. Show the synthesized logicsymbol and gate level diagram. Write structural code in verilog using the gate level diagram.

(12 Marks)

Footer Page 10 of 16.

Page 17: vturesource.weebly.comvturesource.weebly.com/.../3/7/4/0/37406139/fundamentals_of_hdl.pdf · Explain the behavioral and structural description types of HDL ... What is the need of

Footer Page 11 of 16.

Page 18: vturesource.weebly.comvturesource.weebly.com/.../3/7/4/0/37406139/fundamentals_of_hdl.pdf · Explain the behavioral and structural description types of HDL ... What is the need of

Footer Page 12 of 16.

Page 19: vturesource.weebly.comvturesource.weebly.com/.../3/7/4/0/37406139/fundamentals_of_hdl.pdf · Explain the behavioral and structural description types of HDL ... What is the need of

Footer Page 13 of 16.

Page 20: vturesource.weebly.comvturesource.weebly.com/.../3/7/4/0/37406139/fundamentals_of_hdl.pdf · Explain the behavioral and structural description types of HDL ... What is the need of

Footer Page 14 of 16.

Page 21: vturesource.weebly.comvturesource.weebly.com/.../3/7/4/0/37406139/fundamentals_of_hdl.pdf · Explain the behavioral and structural description types of HDL ... What is the need of

Footer Page 15 of 16.

Page 22: vturesource.weebly.comvturesource.weebly.com/.../3/7/4/0/37406139/fundamentals_of_hdl.pdf · Explain the behavioral and structural description types of HDL ... What is the need of

Footer Page 16 of 16.