SlideShare a Scribd company logo
2
Most read
3
Most read
5
Most read
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

PDF
actel fpga problems
Anish Gupta
 
PDF
Actel fpga
Anish Gupta
 
PPTX
Logic synthesis,flootplan&placement
shaik sharief
 
PPTX
FPGA
Syed Saeed
 
PPTX
Complex Programmable Logic Device (CPLD) Architecture and Its Applications
elprocus
 
PPSX
CPLD xc9500
Dr. A. B. Shinde
 
PDF
Solution modern digital-& analog-communications-systems-b-p-lathi
Fawad Masood
 
PPTX
Clock divider by 3
Ashok Reddy
 
actel fpga problems
Anish Gupta
 
Actel fpga
Anish Gupta
 
Logic synthesis,flootplan&placement
shaik sharief
 
Complex Programmable Logic Device (CPLD) Architecture and Its Applications
elprocus
 
CPLD xc9500
Dr. A. B. Shinde
 
Solution modern digital-& analog-communications-systems-b-p-lathi
Fawad Masood
 
Clock divider by 3
Ashok Reddy
 

What's hot (20)

PPTX
PIC-MICROCONTROLLER TUTORIALS FOR BEGINNERS
VISHNU KP
 
PPT
The IEEE 1149.1 Boundary-scan test standard
Jose Manuel Martins Ferreira
 
PDF
Session 2,3 FPGAs
Subhash Iyer
 
PPTX
Programmable logic devices
ISMT College
 
PPTX
STM32 Microcontroller Clocks and RCC block
FastBit Embedded Brain Academy
 
PDF
Vhdl
SHRUTI MURGAI
 
PPTX
Divide by N clock
Mantra VLSI
 
PDF
Clock Tree Timing 101
Silicon Labs
 
PPT
Verilog tutorial
Maryala Srinivas
 
PPT
Low power vlsi design
Vinchipsytm Vlsitraining
 
DOCX
Intellectual property in vlsi
Saransh Choudhary
 
PPTX
trends of microprocessor field
Ramya SK
 
PPT
L12 programmable+logic+devices+(pld)
NAGASAI547
 
PPT
Parallel Prefix Adders Presentation
Peeyush Pashine
 
PPTX
Asic design flow
yogeshwaran k
 
PDF
Concepts of Behavioral modelling in Verilog HDL
anand hd
 
PPTX
Comparison between the FPGA vs CPLD
Gowri Kishore
 
ODP
axi protocol
Azad Mishra
 
ODP
Inputs of physical design
Kishore Sai Addanki
 
PPT
CPLD & FPLD
Abhilash Nair
 
PIC-MICROCONTROLLER TUTORIALS FOR BEGINNERS
VISHNU KP
 
The IEEE 1149.1 Boundary-scan test standard
Jose Manuel Martins Ferreira
 
Session 2,3 FPGAs
Subhash Iyer
 
Programmable logic devices
ISMT College
 
STM32 Microcontroller Clocks and RCC block
FastBit Embedded Brain Academy
 
Divide by N clock
Mantra VLSI
 
Clock Tree Timing 101
Silicon Labs
 
Verilog tutorial
Maryala Srinivas
 
Low power vlsi design
Vinchipsytm Vlsitraining
 
Intellectual property in vlsi
Saransh Choudhary
 
trends of microprocessor field
Ramya SK
 
L12 programmable+logic+devices+(pld)
NAGASAI547
 
Parallel Prefix Adders Presentation
Peeyush Pashine
 
Asic design flow
yogeshwaran k
 
Concepts of Behavioral modelling in Verilog HDL
anand hd
 
Comparison between the FPGA vs CPLD
Gowri Kishore
 
axi protocol
Azad Mishra
 
Inputs of physical design
Kishore Sai Addanki
 
CPLD & FPLD
Abhilash Nair
 
Ad

Viewers also liked (20)

PDF
DSD
Anish Gupta
 
PDF
fpga programming
Anish Gupta
 
PDF
vlsi design flow
Anish Gupta
 
PPTX
cplds
Anish Gupta
 
PDF
prom,pld problems
Anish Gupta
 
PDF
Testing boolean difference
Anish Gupta
 
PPSX
Spartan-II FPGA (xc2s30)
Dr. A. B. Shinde
 
DOCX
UNIT-III-DIGITAL SYSTEM DESIGN
Dr.YNM
 
DOC
Dsd previous year university questions
thiyagu0484
 
PDF
Esc At Actel So C Ver3
diceitoga
 
PPT
Fpga 03-cpld-and-fpga
Malik Tauqir Hasan
 
PDF
Booth multiplication
M Madan Gopal
 
PDF
Semiconductor Hubs for Research & Innovation
Zinnov
 
PPT
Power
Varun Bansal
 
PPSX
System on chip architectures
Dr. A. B. Shinde
 
PDF
Soc architecture and design
Satya Harish
 
PPSX
Processors used in System on chip
Dr. A. B. Shinde
 
PPSX
How to Make Effective Presentation
Dr. A. B. Shinde
 
PPSX
System on chip buses
Dr. A. B. Shinde
 
PDF
SOC Peripheral Components & SOC Tools
Dr. A. B. Shinde
 
fpga programming
Anish Gupta
 
vlsi design flow
Anish Gupta
 
prom,pld problems
Anish Gupta
 
Testing boolean difference
Anish Gupta
 
Spartan-II FPGA (xc2s30)
Dr. A. B. Shinde
 
UNIT-III-DIGITAL SYSTEM DESIGN
Dr.YNM
 
Dsd previous year university questions
thiyagu0484
 
Esc At Actel So C Ver3
diceitoga
 
Fpga 03-cpld-and-fpga
Malik Tauqir Hasan
 
Booth multiplication
M Madan Gopal
 
Semiconductor Hubs for Research & Innovation
Zinnov
 
System on chip architectures
Dr. A. B. Shinde
 
Soc architecture and design
Satya Harish
 
Processors used in System on chip
Dr. A. B. Shinde
 
How to Make Effective Presentation
Dr. A. B. Shinde
 
System on chip buses
Dr. A. B. Shinde
 
SOC Peripheral Components & SOC Tools
Dr. A. B. Shinde
 
Ad

Similar to xilinx fpga problems (20)

PPTX
System design using HDL - Module 5
Aravinda Koithyar
 
PPTX
Digital Electronics Fundamentals
Darwin Nesakumar
 
PDF
Xilinx lca and altera flex
anishgoel
 
PPTX
Unit-3 FPGA ppt .pptx
hrithikexams
 
PPT
Introduction to Asic Design and VLSI Design
Pratik Gohel
 
PDF
logic.deghjkl;jldddghbmedgygshedgyssfjfheueh
menna67hassan
 
PPTX
Digital VLSI - Unit 2.pptx
SanjaiPrasad
 
PDF
Programs of VHDL
Rkrishna Mishra
 
PPT
Digital Logic & Design
Rokonuzzaman Rony
 
PDF
3rd Semester Computer Science and Engineering (ACU - 2021) Question papers
BGS Institute of Technology, Adichunchanagiri University (ACU)
 
PDF
Objective Questions Digital Electronics
Nilesh Bhaskarrao Bahadure
 
DOC
VLSI Anna University Practical Examination
Gouthaman V
 
DOC
Mcsl 17 ALP lab manual
sannnnnnnnnnnnnnnn
 
PDF
W1M2_Introduction_HLS from under CBased VLSI.pdf
Samson Immanuel
 
DOCX
Computer Organization1CS1400Feng JiangBoolean al.docx
ladonnacamplin
 
PPTX
CPLD.pptx
HANUMANTHRAJURK1
 
PPTX
CPLD & FPGA Notes.pptx
HANUMANTHRAJURK1
 
DOC
VLSI experiments II
Gouthaman V
 
PPSX
2-bit comparator
إسلام عادل
 
PDF
Digital logic-formula-notes-final-1
Kshitij Singh
 
System design using HDL - Module 5
Aravinda Koithyar
 
Digital Electronics Fundamentals
Darwin Nesakumar
 
Xilinx lca and altera flex
anishgoel
 
Unit-3 FPGA ppt .pptx
hrithikexams
 
Introduction to Asic Design and VLSI Design
Pratik Gohel
 
logic.deghjkl;jldddghbmedgygshedgyssfjfheueh
menna67hassan
 
Digital VLSI - Unit 2.pptx
SanjaiPrasad
 
Programs of VHDL
Rkrishna Mishra
 
Digital Logic & Design
Rokonuzzaman Rony
 
3rd Semester Computer Science and Engineering (ACU - 2021) Question papers
BGS Institute of Technology, Adichunchanagiri University (ACU)
 
Objective Questions Digital Electronics
Nilesh Bhaskarrao Bahadure
 
VLSI Anna University Practical Examination
Gouthaman V
 
Mcsl 17 ALP lab manual
sannnnnnnnnnnnnnnn
 
W1M2_Introduction_HLS from under CBased VLSI.pdf
Samson Immanuel
 
Computer Organization1CS1400Feng JiangBoolean al.docx
ladonnacamplin
 
CPLD.pptx
HANUMANTHRAJURK1
 
CPLD & FPGA Notes.pptx
HANUMANTHRAJURK1
 
VLSI experiments II
Gouthaman V
 
2-bit comparator
إسلام عادل
 
Digital logic-formula-notes-final-1
Kshitij Singh
 

Recently uploaded (20)

PPT
Ppt for engineering students application on field effect
lakshmi.ec
 
PDF
Activated Carbon for Water and Wastewater Treatment_ Integration of Adsorptio...
EmilianoRodriguezTll
 
PPTX
EE3303-EM-I 25.7.25 electrical machines.pptx
Nagen87
 
PDF
top-5-use-cases-for-splunk-security-analytics.pdf
yaghutialireza
 
DOCX
SAR - EEEfdfdsdasdsdasdasdasdasdasdasdasda.docx
Kanimozhi676285
 
PDF
LEAP-1B presedntation xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
hatem173148
 
PPT
1. SYSTEMS, ROLES, AND DEVELOPMENT METHODOLOGIES.ppt
zilow058
 
PDF
July 2025: Top 10 Read Articles Advanced Information Technology
ijait
 
PDF
settlement FOR FOUNDATION ENGINEERS.pdf
Endalkazene
 
PPTX
database slide on modern techniques for optimizing database queries.pptx
aky52024
 
PDF
Unit I Part II.pdf : Security Fundamentals
Dr. Madhuri Jawale
 
PDF
오픈소스 LLM, vLLM으로 Production까지 (Instruct.KR Summer Meetup, 2025)
Hyogeun Oh
 
PDF
Chad Ayach - A Versatile Aerospace Professional
Chad Ayach
 
PDF
Cryptography and Information :Security Fundamentals
Dr. Madhuri Jawale
 
PPTX
Module2 Data Base Design- ER and NF.pptx
gomathisankariv2
 
PPTX
Civil Engineering Practices_BY Sh.JP Mishra 23.09.pptx
bineetmishra1990
 
PPTX
22PCOAM21 Session 1 Data Management.pptx
Guru Nanak Technical Institutions
 
PPT
SCOPE_~1- technology of green house and poyhouse
bala464780
 
PDF
67243-Cooling and Heating & Calculation.pdf
DHAKA POLYTECHNIC
 
PPTX
Inventory management chapter in automation and robotics.
atisht0104
 
Ppt for engineering students application on field effect
lakshmi.ec
 
Activated Carbon for Water and Wastewater Treatment_ Integration of Adsorptio...
EmilianoRodriguezTll
 
EE3303-EM-I 25.7.25 electrical machines.pptx
Nagen87
 
top-5-use-cases-for-splunk-security-analytics.pdf
yaghutialireza
 
SAR - EEEfdfdsdasdsdasdasdasdasdasdasdasda.docx
Kanimozhi676285
 
LEAP-1B presedntation xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
hatem173148
 
1. SYSTEMS, ROLES, AND DEVELOPMENT METHODOLOGIES.ppt
zilow058
 
July 2025: Top 10 Read Articles Advanced Information Technology
ijait
 
settlement FOR FOUNDATION ENGINEERS.pdf
Endalkazene
 
database slide on modern techniques for optimizing database queries.pptx
aky52024
 
Unit I Part II.pdf : Security Fundamentals
Dr. Madhuri Jawale
 
오픈소스 LLM, vLLM으로 Production까지 (Instruct.KR Summer Meetup, 2025)
Hyogeun Oh
 
Chad Ayach - A Versatile Aerospace Professional
Chad Ayach
 
Cryptography and Information :Security Fundamentals
Dr. Madhuri Jawale
 
Module2 Data Base Design- ER and NF.pptx
gomathisankariv2
 
Civil Engineering Practices_BY Sh.JP Mishra 23.09.pptx
bineetmishra1990
 
22PCOAM21 Session 1 Data Management.pptx
Guru Nanak Technical Institutions
 
SCOPE_~1- technology of green house and poyhouse
bala464780
 
67243-Cooling and Heating & Calculation.pdf
DHAKA POLYTECHNIC
 
Inventory management chapter in automation and robotics.
atisht0104
 

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