SlideShare a Scribd company logo
1 of 5
Download to read offline
DSD and HDL Simulation, Assignment Questions
Problem Implement following functions using Xilinx XC 3000. How many CLBs and LUTs are
required?
𝒀 = 𝒙̅ + 𝒚 ; 𝒀 = 𝒙 𝒚̅̅̅ + 𝒙̅ 𝒚̅̅̅ ; 𝒛 = 𝒙 . 𝒚
where 𝒀 , 𝒀 are the next state variables and 𝒚 , 𝒚 are the present state variables. Here, x
and z are input and output respectively.
Solution: The sequential circuit has 3 input variables.
Note that FG mode can implement two functions of four variables each. Hence, using FG mode of
operation, 2 CLBs and 3 LUTs are required.
The simplified internal circuit diagram of XC 3000 CLB in FG mode is shown below:
The LUT contents are shown below:
For = ̅ +
Address Memory content
(F of CLB1)
x 𝒚 𝒀
0 0 1
0 1 1
1 0 0
1 1 1
For = ̅̅̅ + ̅ ̅̅̅
Address Memory content
(G of CLB1)
x 𝒚 𝒚 𝒀
0 0 0 1
0 0 1 1
0 1 0 0
0 1 1 0
1 0 0 1
1 0 1 0
1 1 0 1
1 1 1 0
DR
CLB
OUTPUTs
G
FG1 F
Qy
CLK
GFG2
Q2
D1
F
D2
G
Q1
Qx
F
For 𝑧 = .
Address Memory content
(F of CLB2)
x 𝒚 𝒀
0 0 0
0 1 0
1 0 0
1 1 1
Circuit implementation using two XC3000 CLBs is shown below:
-----------------------------------------------------------------------------------------------------------------------------------------
Problem Consider a 2 bit magnitude comparator to compare 𝐴 𝐴 and 𝐵 𝐵 to define three
outputs A>B, A<B, A=B and map it using Xilinx XC 3000 FPGA. How many CLBs and LUTs are
required? Show the contents of sRAM cell
Solution:
Consider the truth table for output A=B
Y1
Q1
D2
Q1
Q2
Q2
DR
G
y1
CLK
G
G
F
Y2
G
z
FG2
FG1
CLB 2
x
Qx
y1
Qy
DR
x
y1
CLB 1
y2
D2
FG1 F
x
F
FG2
CLK
Qy
D1
D1
F
Qx
𝐴 𝐴 𝐵 𝐵 EQ
0 0 0 0 1
0 1 0 1 1
1 0 1 0 1
1 1 1 1 1
Design equation for EQ is
𝐸𝑄 = 𝐴̅̅̅ 𝐴̅̅̅ 𝐵̅̅̅ 𝐵̅̅̅ + 𝐴̅̅̅ 𝐴 𝐵̅̅̅ 𝐵 + 𝐴 𝐴̅̅̅ 𝐵 𝐵̅̅̅ + 𝐴 𝐴 𝐵 𝐵
Consider the truth table for output A>B
𝐴 𝐴 𝐵 𝐵 A>B
1 X 0 X 1
0 1 0 0 1
1 1 1 0 1
The corresponding implicant table is
𝐴 𝐴 𝐵 𝐵 A>B
1 X 0 X 1
X 1 0 0 1
1 1 X 0 1
Design equation for A>B is
𝐴 > 𝐵 = 𝐴 𝐵̅̅̅ + 𝐴 𝐵̅̅̅ 𝐵̅̅̅ + 𝐴 𝐴 𝐵̅̅̅
Consider the truth table for output A<B
𝐴 𝐴 𝐵 𝐵 A<B
0 X 1 X 1
0 0 0 1 1
1 0 1 1 1
The corresponding implicant table is
𝐴 𝐴 𝐵 𝐵 A<B
0 X 1 X 1
0 0 X 1 1
X 0 1 1 1
Design equation for A<B is
𝐴 < 𝐵 = 𝐴̅̅̅ 𝐵 + 𝐴̅̅̅. 𝐴̅̅̅̅. 𝐵 + 𝐴̅̅̅̅ 𝐵 𝐵
2 bit magnitude comparator has 4 input variables and 3 outputs. The circuit implementation
using XC 3000 in FG mode requires 2 CLBs and 3 LUTs.
Circuit implementation using two XC3000 CLBs is shown below:
The LUT (LUT1 and LUT2 of two CLBs) contents are given below:
G
A0
B1
LUT1
FG mode
B0
F
F
A0
Qy
Qy
B1
CLK
CLK
G
A>B
G
A1
A=B
B1
Q2
Q2
A<B
B0
D1
D1
A1
D2
D2
A0
Q1
Q1
B0
Qx
Qx
LUT2
F
F
FG mode
DR
CLB 1
LUT1
CLB 2
DR
A1
LUT2 G
Address Memory
content
(F of CLB1)
Memory
content
(G of CLB1)
Memory
content
(F of CLB2)
> = <
0 0 0 0 0 1 0
0 0 0 1 0 0 1
0 0 1 0 0 0 1
0 0 1 1 0 0 1
0 1 0 0 1 0 0
0 1 0 1 0 1 0
0 1 1 0 0 0 0
0 1 1 1 0 0 0
1 0 0 0 1 0 0
1 0 0 1 1 0 0
1 0 1 0 0 1 0
1 0 1 1 0 0 1
1 1 0 0 0 0 0
1 1 0 1 0 0 0
1 1 1 0 1 0 0
1 1 1 1 0 1 0
------------------------------------------------------------------------------------------------------------------------------
Problem Implement following function using Xilinx XC 3000. How many CLBs and LUTs are
required? F(a, b, c, d, e) = a. b. c + a. b̅. c + e̅ + d. e
Solution: The output function has 5 input variables. The circuit implementation using XC 3000 in F
mode (Note that F mode can generate one function of five variables) requires 1 CLB and 1 LUT.
Problem Implement 2421 to 8421 code converter using Xilinx XC 3000. How many CLBs and
LUTs are required? Show the contents of the sRAM cell.
Dr. D. V. Kamath
Professor, Dept. of E&C Engg., MIT
LUT
F
F
G
b
e
Q2
DR CLB 1
Qy
CLK
D1
F
F
Qx
Q1
G
a
D2
c
d
F mode

More Related Content

What's hot

Lecture 2 verilog
Lecture 2   verilogLecture 2   verilog
Lecture 2 verilogvenravi10
 
Delays in verilog
Delays in verilogDelays in verilog
Delays in verilogJITU MISTRY
 
Probabilistic Power Analysis
Probabilistic Power AnalysisProbabilistic Power Analysis
Probabilistic Power AnalysisGargiKhanna1
 
4.FPGA for dummies: Design Flow
4.FPGA for dummies: Design Flow4.FPGA for dummies: Design Flow
4.FPGA for dummies: Design FlowMaurizio Donna
 
An Introductory course on Verilog HDL-Verilog hdl ppr
An Introductory course on Verilog HDL-Verilog hdl pprAn Introductory course on Verilog HDL-Verilog hdl ppr
An Introductory course on Verilog HDL-Verilog hdl pprPrabhavathi P
 
Divide by N clock
Divide by N clockDivide by N clock
Divide by N clockMantra VLSI
 
射頻電子實驗手冊 [實驗1 ~ 5] ADS入門, 傳輸線模擬, 直流模擬, 暫態模擬, 交流模擬
射頻電子實驗手冊 [實驗1 ~ 5] ADS入門, 傳輸線模擬, 直流模擬, 暫態模擬, 交流模擬射頻電子實驗手冊 [實驗1 ~ 5] ADS入門, 傳輸線模擬, 直流模擬, 暫態模擬, 交流模擬
射頻電子實驗手冊 [實驗1 ~ 5] ADS入門, 傳輸線模擬, 直流模擬, 暫態模擬, 交流模擬Simen Li
 
Fsm sequence detector
Fsm sequence detector Fsm sequence detector
Fsm sequence detector lpvasam
 
VHDL-PRESENTATION.ppt
VHDL-PRESENTATION.pptVHDL-PRESENTATION.ppt
VHDL-PRESENTATION.pptDr.YNM
 
ASIC DESIGN : PLACEMENT
ASIC DESIGN : PLACEMENTASIC DESIGN : PLACEMENT
ASIC DESIGN : PLACEMENThelloactiva
 
VLSI Design Sequential circuit design
VLSI Design Sequential circuit designVLSI Design Sequential circuit design
VLSI Design Sequential circuit designtamil arasan
 
Fpga(field programmable gate array)
Fpga(field programmable gate array) Fpga(field programmable gate array)
Fpga(field programmable gate array) Iffat Anjum
 
Sta by usha_mehta
Sta by usha_mehtaSta by usha_mehta
Sta by usha_mehtaUsha Mehta
 
Clock Tree Timing 101
Clock Tree Timing 101Clock Tree Timing 101
Clock Tree Timing 101Silicon Labs
 

What's hot (20)

Lecture 2 verilog
Lecture 2   verilogLecture 2   verilog
Lecture 2 verilog
 
Delays in verilog
Delays in verilogDelays in verilog
Delays in verilog
 
Probabilistic Power Analysis
Probabilistic Power AnalysisProbabilistic Power Analysis
Probabilistic Power Analysis
 
4.FPGA for dummies: Design Flow
4.FPGA for dummies: Design Flow4.FPGA for dummies: Design Flow
4.FPGA for dummies: Design Flow
 
An Introductory course on Verilog HDL-Verilog hdl ppr
An Introductory course on Verilog HDL-Verilog hdl pprAn Introductory course on Verilog HDL-Verilog hdl ppr
An Introductory course on Verilog HDL-Verilog hdl ppr
 
Divide by N clock
Divide by N clockDivide by N clock
Divide by N clock
 
Unit v. HDL Synthesis Process
Unit v. HDL Synthesis ProcessUnit v. HDL Synthesis Process
Unit v. HDL Synthesis Process
 
FPGA Introduction
FPGA IntroductionFPGA Introduction
FPGA Introduction
 
Fpga Knowledge
Fpga KnowledgeFpga Knowledge
Fpga Knowledge
 
Asic design
Asic designAsic design
Asic design
 
射頻電子實驗手冊 [實驗1 ~ 5] ADS入門, 傳輸線模擬, 直流模擬, 暫態模擬, 交流模擬
射頻電子實驗手冊 [實驗1 ~ 5] ADS入門, 傳輸線模擬, 直流模擬, 暫態模擬, 交流模擬射頻電子實驗手冊 [實驗1 ~ 5] ADS入門, 傳輸線模擬, 直流模擬, 暫態模擬, 交流模擬
射頻電子實驗手冊 [實驗1 ~ 5] ADS入門, 傳輸線模擬, 直流模擬, 暫態模擬, 交流模擬
 
Meley & moore
Meley & mooreMeley & moore
Meley & moore
 
Fsm sequence detector
Fsm sequence detector Fsm sequence detector
Fsm sequence detector
 
VHDL-PRESENTATION.ppt
VHDL-PRESENTATION.pptVHDL-PRESENTATION.ppt
VHDL-PRESENTATION.ppt
 
ASIC DESIGN : PLACEMENT
ASIC DESIGN : PLACEMENTASIC DESIGN : PLACEMENT
ASIC DESIGN : PLACEMENT
 
VLSI Design Sequential circuit design
VLSI Design Sequential circuit designVLSI Design Sequential circuit design
VLSI Design Sequential circuit design
 
Fpga(field programmable gate array)
Fpga(field programmable gate array) Fpga(field programmable gate array)
Fpga(field programmable gate array)
 
Verilog Tasks and functions
Verilog Tasks and functionsVerilog Tasks and functions
Verilog Tasks and functions
 
Sta by usha_mehta
Sta by usha_mehtaSta by usha_mehta
Sta by usha_mehta
 
Clock Tree Timing 101
Clock Tree Timing 101Clock Tree Timing 101
Clock Tree Timing 101
 

Viewers also liked

fpga programming
fpga programmingfpga programming
fpga programmingAnish Gupta
 
vlsi design flow
vlsi design flowvlsi design flow
vlsi design flowAnish Gupta
 
prom,pld problems
prom,pld problemsprom,pld problems
prom,pld problemsAnish Gupta
 
Testing boolean difference
Testing boolean differenceTesting boolean difference
Testing boolean differenceAnish Gupta
 
Spartan-II FPGA (xc2s30)
Spartan-II FPGA (xc2s30)Spartan-II FPGA (xc2s30)
Spartan-II FPGA (xc2s30)A B Shinde
 
UNIT-III-DIGITAL SYSTEM DESIGN
UNIT-III-DIGITAL SYSTEM DESIGNUNIT-III-DIGITAL SYSTEM DESIGN
UNIT-III-DIGITAL SYSTEM DESIGNDr.YNM
 
Dsd previous year university questions
Dsd previous year university questionsDsd previous year university questions
Dsd previous year university questionsthiyagu0484
 
Esc At Actel So C Ver3
Esc At Actel So C  Ver3Esc At Actel So C  Ver3
Esc At Actel So C Ver3diceitoga
 
Booth multiplication
Booth multiplicationBooth multiplication
Booth multiplicationM Madan Gopal
 
Semiconductor Hubs for Research & Innovation
Semiconductor Hubs for Research & InnovationSemiconductor Hubs for Research & Innovation
Semiconductor Hubs for Research & InnovationZinnov
 
System on chip architectures
System on chip architecturesSystem on chip architectures
System on chip architecturesA B Shinde
 
Soc architecture and design
Soc architecture and designSoc architecture and design
Soc architecture and designSatya Harish
 
Processors used in System on chip
Processors used in System on chip Processors used in System on chip
Processors used in System on chip A B Shinde
 
How to Make Effective Presentation
How to Make Effective PresentationHow to Make Effective Presentation
How to Make Effective PresentationA B Shinde
 
System on chip buses
System on chip busesSystem on chip buses
System on chip busesA B Shinde
 
SOC Peripheral Components & SOC Tools
SOC Peripheral Components & SOC ToolsSOC Peripheral Components & SOC Tools
SOC Peripheral Components & SOC ToolsA B Shinde
 

Viewers also liked (20)

DSD
DSDDSD
DSD
 
fpga programming
fpga programmingfpga programming
fpga programming
 
vlsi design flow
vlsi design flowvlsi design flow
vlsi design flow
 
cplds
cpldscplds
cplds
 
prom,pld problems
prom,pld problemsprom,pld problems
prom,pld problems
 
Testing boolean difference
Testing boolean differenceTesting boolean difference
Testing boolean difference
 
Spartan-II FPGA (xc2s30)
Spartan-II FPGA (xc2s30)Spartan-II FPGA (xc2s30)
Spartan-II FPGA (xc2s30)
 
UNIT-III-DIGITAL SYSTEM DESIGN
UNIT-III-DIGITAL SYSTEM DESIGNUNIT-III-DIGITAL SYSTEM DESIGN
UNIT-III-DIGITAL SYSTEM DESIGN
 
Dsd previous year university questions
Dsd previous year university questionsDsd previous year university questions
Dsd previous year university questions
 
Esc At Actel So C Ver3
Esc At Actel So C  Ver3Esc At Actel So C  Ver3
Esc At Actel So C Ver3
 
Fpga 03-cpld-and-fpga
Fpga 03-cpld-and-fpgaFpga 03-cpld-and-fpga
Fpga 03-cpld-and-fpga
 
Booth multiplication
Booth multiplicationBooth multiplication
Booth multiplication
 
Semiconductor Hubs for Research & Innovation
Semiconductor Hubs for Research & InnovationSemiconductor Hubs for Research & Innovation
Semiconductor Hubs for Research & Innovation
 
Power
PowerPower
Power
 
System on chip architectures
System on chip architecturesSystem on chip architectures
System on chip architectures
 
Soc architecture and design
Soc architecture and designSoc architecture and design
Soc architecture and design
 
Processors used in System on chip
Processors used in System on chip Processors used in System on chip
Processors used in System on chip
 
How to Make Effective Presentation
How to Make Effective PresentationHow to Make Effective Presentation
How to Make Effective Presentation
 
System on chip buses
System on chip busesSystem on chip buses
System on chip buses
 
SOC Peripheral Components & SOC Tools
SOC Peripheral Components & SOC ToolsSOC Peripheral Components & SOC Tools
SOC Peripheral Components & SOC Tools
 

Similar to xilinx fpga problems

Sequential Circuitsdddddddddddddddddsssssssssss-ppt.pptx
Sequential Circuitsdddddddddddddddddsssssssssss-ppt.pptxSequential Circuitsdddddddddddddddddsssssssssss-ppt.pptx
Sequential Circuitsdddddddddddddddddsssssssssss-ppt.pptxAhmedAlAfandi5
 
Sequential Circuits-ppt_2.pdf
Sequential Circuits-ppt_2.pdfSequential Circuits-ppt_2.pdf
Sequential Circuits-ppt_2.pdfimadshaheen2
 
Sequential logic circuit
Sequential logic circuitSequential logic circuit
Sequential logic circuitAswiniT3
 
Multiplier and Accumulator Using Csla
Multiplier and Accumulator Using CslaMultiplier and Accumulator Using Csla
Multiplier and Accumulator Using CslaIOSR Journals
 
Binary Adder Design(COA).ppt
Binary Adder Design(COA).pptBinary Adder Design(COA).ppt
Binary Adder Design(COA).pptRohitPaul71
 
Electrónica digital: Diseño de contador con flip-flop tipo JK y D haciendo de...
Electrónica digital: Diseño de contador con flip-flop tipo JK y D haciendo de...Electrónica digital: Diseño de contador con flip-flop tipo JK y D haciendo de...
Electrónica digital: Diseño de contador con flip-flop tipo JK y D haciendo de...SANTIAGO PABLO ALBERTO
 
Lec16 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Fi...
Lec16 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Fi...Lec16 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Fi...
Lec16 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Fi...Hsien-Hsin Sean Lee, Ph.D.
 
UNIT - II.pptx
UNIT - II.pptxUNIT - II.pptx
UNIT - II.pptxamudhak10
 
SEQUENTIAL CIRCUITS -Module 5 (1).pptx
SEQUENTIAL CIRCUITS -Module 5 (1).pptxSEQUENTIAL CIRCUITS -Module 5 (1).pptx
SEQUENTIAL CIRCUITS -Module 5 (1).pptxThanmayiKumar
 
CSLA and WTM using GDI Technique
CSLA and WTM using GDI TechniqueCSLA and WTM using GDI Technique
CSLA and WTM using GDI TechniqueNishant Yaduvanshi
 
Analysis sequential circuits
Analysis sequential circuitsAnalysis sequential circuits
Analysis sequential circuitsG Subramaniamg
 
CSCMPE 3430, sp16 – Assignment 5 (30 points total) Due S.docx
CSCMPE 3430, sp16 – Assignment 5 (30 points total) Due S.docxCSCMPE 3430, sp16 – Assignment 5 (30 points total) Due S.docx
CSCMPE 3430, sp16 – Assignment 5 (30 points total) Due S.docxannettsparrow
 

Similar to xilinx fpga problems (20)

Sequential Circuitsdddddddddddddddddsssssssssss-ppt.pptx
Sequential Circuitsdddddddddddddddddsssssssssss-ppt.pptxSequential Circuitsdddddddddddddddddsssssssssss-ppt.pptx
Sequential Circuitsdddddddddddddddddsssssssssss-ppt.pptx
 
Sequential Circuits-ppt_2.pdf
Sequential Circuits-ppt_2.pdfSequential Circuits-ppt_2.pdf
Sequential Circuits-ppt_2.pdf
 
elec2200-6.pdf
elec2200-6.pdfelec2200-6.pdf
elec2200-6.pdf
 
End sem solution
End sem solutionEnd sem solution
End sem solution
 
Sequential logic circuit
Sequential logic circuitSequential logic circuit
Sequential logic circuit
 
F010113644
F010113644F010113644
F010113644
 
Multiplier and Accumulator Using Csla
Multiplier and Accumulator Using CslaMultiplier and Accumulator Using Csla
Multiplier and Accumulator Using Csla
 
Lec9
Lec9Lec9
Lec9
 
1سلمي 2
1سلمي 21سلمي 2
1سلمي 2
 
Binary Adder Design(COA).ppt
Binary Adder Design(COA).pptBinary Adder Design(COA).ppt
Binary Adder Design(COA).ppt
 
Conversion of flip flop
Conversion of flip flopConversion of flip flop
Conversion of flip flop
 
Electrónica digital: Diseño de contador con flip-flop tipo JK y D haciendo de...
Electrónica digital: Diseño de contador con flip-flop tipo JK y D haciendo de...Electrónica digital: Diseño de contador con flip-flop tipo JK y D haciendo de...
Electrónica digital: Diseño de contador con flip-flop tipo JK y D haciendo de...
 
Lec16 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Fi...
Lec16 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Fi...Lec16 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Fi...
Lec16 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Fi...
 
jana2012.pdf
jana2012.pdfjana2012.pdf
jana2012.pdf
 
UNIT - II.pptx
UNIT - II.pptxUNIT - II.pptx
UNIT - II.pptx
 
SEQUENTIAL CIRCUITS -Module 5 (1).pptx
SEQUENTIAL CIRCUITS -Module 5 (1).pptxSEQUENTIAL CIRCUITS -Module 5 (1).pptx
SEQUENTIAL CIRCUITS -Module 5 (1).pptx
 
Digital Logic circuit
Digital Logic circuitDigital Logic circuit
Digital Logic circuit
 
CSLA and WTM using GDI Technique
CSLA and WTM using GDI TechniqueCSLA and WTM using GDI Technique
CSLA and WTM using GDI Technique
 
Analysis sequential circuits
Analysis sequential circuitsAnalysis sequential circuits
Analysis sequential circuits
 
CSCMPE 3430, sp16 – Assignment 5 (30 points total) Due S.docx
CSCMPE 3430, sp16 – Assignment 5 (30 points total) Due S.docxCSCMPE 3430, sp16 – Assignment 5 (30 points total) Due S.docx
CSCMPE 3430, sp16 – Assignment 5 (30 points total) Due S.docx
 

Recently uploaded

Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdfankushspencer015
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations120cr0395
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxfenichawla
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduitsrknatarajan
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTINGMANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTINGSIVASHANKAR N
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSSIVASHANKAR N
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)simmis5
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performancesivaprakash250
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Christo Ananth
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Call Girls in Nagpur High Profile
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlysanyuktamishra911
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 

Recently uploaded (20)

Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduits
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTINGMANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
 
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
 

xilinx fpga problems

  • 1. DSD and HDL Simulation, Assignment Questions Problem Implement following functions using Xilinx XC 3000. How many CLBs and LUTs are required? 𝒀 = 𝒙̅ + 𝒚 ; 𝒀 = 𝒙 𝒚̅̅̅ + 𝒙̅ 𝒚̅̅̅ ; 𝒛 = 𝒙 . 𝒚 where 𝒀 , 𝒀 are the next state variables and 𝒚 , 𝒚 are the present state variables. Here, x and z are input and output respectively. Solution: The sequential circuit has 3 input variables. Note that FG mode can implement two functions of four variables each. Hence, using FG mode of operation, 2 CLBs and 3 LUTs are required. The simplified internal circuit diagram of XC 3000 CLB in FG mode is shown below: The LUT contents are shown below: For = ̅ + Address Memory content (F of CLB1) x 𝒚 𝒀 0 0 1 0 1 1 1 0 0 1 1 1 For = ̅̅̅ + ̅ ̅̅̅ Address Memory content (G of CLB1) x 𝒚 𝒚 𝒀 0 0 0 1 0 0 1 1 0 1 0 0 0 1 1 0 1 0 0 1 1 0 1 0 1 1 0 1 1 1 1 0 DR CLB OUTPUTs G FG1 F Qy CLK GFG2 Q2 D1 F D2 G Q1 Qx F
  • 2. For 𝑧 = . Address Memory content (F of CLB2) x 𝒚 𝒀 0 0 0 0 1 0 1 0 0 1 1 1 Circuit implementation using two XC3000 CLBs is shown below: ----------------------------------------------------------------------------------------------------------------------------------------- Problem Consider a 2 bit magnitude comparator to compare 𝐴 𝐴 and 𝐵 𝐵 to define three outputs A>B, A<B, A=B and map it using Xilinx XC 3000 FPGA. How many CLBs and LUTs are required? Show the contents of sRAM cell Solution: Consider the truth table for output A=B Y1 Q1 D2 Q1 Q2 Q2 DR G y1 CLK G G F Y2 G z FG2 FG1 CLB 2 x Qx y1 Qy DR x y1 CLB 1 y2 D2 FG1 F x F FG2 CLK Qy D1 D1 F Qx
  • 3. 𝐴 𝐴 𝐵 𝐵 EQ 0 0 0 0 1 0 1 0 1 1 1 0 1 0 1 1 1 1 1 1 Design equation for EQ is 𝐸𝑄 = 𝐴̅̅̅ 𝐴̅̅̅ 𝐵̅̅̅ 𝐵̅̅̅ + 𝐴̅̅̅ 𝐴 𝐵̅̅̅ 𝐵 + 𝐴 𝐴̅̅̅ 𝐵 𝐵̅̅̅ + 𝐴 𝐴 𝐵 𝐵 Consider the truth table for output A>B 𝐴 𝐴 𝐵 𝐵 A>B 1 X 0 X 1 0 1 0 0 1 1 1 1 0 1 The corresponding implicant table is 𝐴 𝐴 𝐵 𝐵 A>B 1 X 0 X 1 X 1 0 0 1 1 1 X 0 1 Design equation for A>B is 𝐴 > 𝐵 = 𝐴 𝐵̅̅̅ + 𝐴 𝐵̅̅̅ 𝐵̅̅̅ + 𝐴 𝐴 𝐵̅̅̅ Consider the truth table for output A<B 𝐴 𝐴 𝐵 𝐵 A<B 0 X 1 X 1 0 0 0 1 1 1 0 1 1 1 The corresponding implicant table is 𝐴 𝐴 𝐵 𝐵 A<B 0 X 1 X 1 0 0 X 1 1 X 0 1 1 1 Design equation for A<B is 𝐴 < 𝐵 = 𝐴̅̅̅ 𝐵 + 𝐴̅̅̅. 𝐴̅̅̅̅. 𝐵 + 𝐴̅̅̅̅ 𝐵 𝐵
  • 4. 2 bit magnitude comparator has 4 input variables and 3 outputs. The circuit implementation using XC 3000 in FG mode requires 2 CLBs and 3 LUTs. Circuit implementation using two XC3000 CLBs is shown below: The LUT (LUT1 and LUT2 of two CLBs) contents are given below: G A0 B1 LUT1 FG mode B0 F F A0 Qy Qy B1 CLK CLK G A>B G A1 A=B B1 Q2 Q2 A<B B0 D1 D1 A1 D2 D2 A0 Q1 Q1 B0 Qx Qx LUT2 F F FG mode DR CLB 1 LUT1 CLB 2 DR A1 LUT2 G
  • 5. Address Memory content (F of CLB1) Memory content (G of CLB1) Memory content (F of CLB2) > = < 0 0 0 0 0 1 0 0 0 0 1 0 0 1 0 0 1 0 0 0 1 0 0 1 1 0 0 1 0 1 0 0 1 0 0 0 1 0 1 0 1 0 0 1 1 0 0 0 0 0 1 1 1 0 0 0 1 0 0 0 1 0 0 1 0 0 1 1 0 0 1 0 1 0 0 1 0 1 0 1 1 0 0 1 1 1 0 0 0 0 0 1 1 0 1 0 0 0 1 1 1 0 1 0 0 1 1 1 1 0 1 0 ------------------------------------------------------------------------------------------------------------------------------ Problem Implement following function using Xilinx XC 3000. How many CLBs and LUTs are required? F(a, b, c, d, e) = a. b. c + a. b̅. c + e̅ + d. e Solution: The output function has 5 input variables. The circuit implementation using XC 3000 in F mode (Note that F mode can generate one function of five variables) requires 1 CLB and 1 LUT. Problem Implement 2421 to 8421 code converter using Xilinx XC 3000. How many CLBs and LUTs are required? Show the contents of the sRAM cell. Dr. D. V. Kamath Professor, Dept. of E&C Engg., MIT LUT F F G b e Q2 DR CLB 1 Qy CLK D1 F F Qx Q1 G a D2 c d F mode