HDL 2017 PDF
HDL 2017 PDF
MODULE - I
i) Y.=x sla 2
ii) Y<=x rol - 3. 2
d) Explain the array data type in VHDL with examples. 4
2. a) Explain the constructs of behavioural modeling in VHDL. Write the code for a
SISO in behavioural modeling. 10
MODULE _ II
3. a) Explain the term GENERIC in VHDL. Write the code for a Generic Ripple
Carry Adder. 8
b) Differentiate between simple and guarded block statements. 4
c) Given the declaration : 3
Signal D : std*logic_vector (7 downto 0);
Explain the following attributes :
MODULE _ III
i) Registers
ii) Nets
iii) Vectors.
b) Explain functions in Verilog. Write a function to calculate the factorial of a
number. 6
c) Write the verilog code for a RAM block to store 16 words of one byte each. I
a) A circuit has two 16-bit numbers A and B as input. The output of the circuit is
the Bitwise-OR and Bitwise-XOR of A and B. Write a verilog code to model
this circuit using tasks. T
ililil11tililil||tililil11|il|ilililil|||ilil|il|tilililililil||] ETC/ECE -7 (E- t) (3) (RC)
b) With examples illustrate the use of blocking and non-blocking assignments
in verilog. 6
c) Explain the various operators available in the verilog language. 7
MODULE * IV
i) sc_MoDULE
ii) sc_cToR
iii) sc_Brr
iv) SC_Method.
c) Write the system C code for a Half Adder.
8. a) List some commonly used FPGAs of the Xilinx Family. Explain the design
steps using FPGAs. 6
b) Write the System C code for a SR FF using case statements. 7
c) Explain the various data types in the System C language. 7