SlideShare une entreprise Scribd logo
1  sur  12
Télécharger pour lire hors ligne
An FPGA-Based IEEE
1149.1 BST Controller

HiBu | DDIS3010 | josemmf@hibu.no

    Digitale Systemer 2012/13
        [ November 2012 ]
[ josemmf@hibu.no | DDIS-3010 2012/13 ]   2 / 12




Outline of this presentation
●   What is the deliverable of this work?
●   Main functional features
●   Processor architecture and instruction set
●   Test workflow
●   Main challenges
●   Can we go further?
●   How do I start?
[ josemmf@hibu.no | DDIS-3010 2012/13 ]   3 / 12




Envisaged deliverable
Overall block diagram:
[ josemmf@hibu.no | DDIS-3010 2012/13 ]   4 / 12




Main functional features
●   Support at least one Test Access Port (TAP)
●   Accept "SVF-like" commands
●   Receive the test code serially via RS-232C
●   One "Run test" push button
●   One "Pass" led, one "Fail" led
[ josemmf@hibu.no | DDIS-3010 2012/13 ]   5 / 12

  Test processor
  block diagram




[ you can choose the values of CLmax and TVmax bits ]
[ josemmf@hibu.no | DDIS-3010 2012/13 ]   6 / 12




Source code
Minimum set of "SVF-like" commands:
 Command         Description
 RESET           Sets the boundary-scan logic (TAP controller FSM) in Test-Logic-Reset
 TMS 0 / 1       Sets TMS to 0 / 1 and applies one clock pulse to TCK
 SHF N X         Shifts an N-bit sequence (X) into the [instruction | selected data] register
 SHFCP N X,Y,Z   Shifts an N-bit sequence (X) into the [instruction | selected data] register and
                 compares the output sequence with its expected response (Y) using the given
                 mask information (Z)
 RUNTEST N       Sets TMS to 0 and applies N [16-bit value] clock pulses to TCK
 EOP             End-of-program (not a real command; marks the end of the object code)
[ josemmf@hibu.no | DDIS-3010 2012/13 ]   7 / 12




Source code > Object code
Use the TASM shareware cross-assembler to
generate the object code:
       MNEM. ARGS. OPCODE       BYTES   MODOP. CLASS
       -----------------------------------------------
       RESET    ""    A1         01    NOTOUCH   1
       TMS       *    A2         02    NOTOUCH   1
       SHF       *    A3         02    NOTOUCH   1
       SHFCP     *    A4         02    NOTOUCH   1
       RUNTEST   *    A5         03    SWAP
       EOP      ""    454F50     03    NOTOUCH   1


(visit http://home.comcast.net/~tasm/ for +info)
[ josemmf@hibu.no | DDIS-3010 2012/13 ]   8 / 12




Test workflow
● Produce the source code in SVF-like format
● Compile to Intel Hex object code via TASM
● Send the object code to the test processor
  memory via RS-232C
● Use the "Run" button to execute the test and
  the leds to check the result
Write the source     ➨ Generate     ➨ Send the object file (*.obj)   ➨ Run the test
code (*.asm) using     the object     to the Avnet board via           (press Run or send
notepad++              code           RS-232C                          command via RS-
                       (tasm –XX                                       232C)
                       name.asm)
[ josemmf@hibu.no | DDIS-3010 2012/13 ]   9 / 12




Challenges vs. presentations so far
● Develop the VHDL model for the test
  processor -- recall: design of FSMD (Morten
  and Hakon), the Xilinx ISE tools (Gunnar
  and John), and ModelSim (Alex and Per)
● Adapt existing models for the UART (Alex
  and Per) and Xilinx specific memory (Bard
  and Gunnar)
● Integrate, verify via simulation, validate via
  the Avnet board (John and Bard)
[ josemmf@hibu.no | DDIS-3010 2012/13 ]   10 / 12




Going further
● Enable a "step mode" to run the test (one
  command at a time)
● Support two TAPs instead of just one
  (enabling test actions simultaneously in both
  BS chains?)
● Support control and observation of parallel
  I/O pins in the edge connectors
● Use the LCD to display test information
  (Morten and Hakon)
● What else?...
[ josemmf@hibu.no | DDIS-3010 2012/13 ]   11 / 12




How do I start? [one possible way]
● Make sure that you understand how the test
  processor architecture works (draw the state
  diagrams for executing each instruction)
● Sketch the hardware structures that enable
  the implementation of each block (e.g. how
  do you implement the Program Counter?)
● Code and simulate each structure in VHDL
● Integrate and extend validation to the whole
  test processor architecture
● Integrate with RS-232C and memory...
Thanks for your attention!

 HiBu | DDIS3010 | josemmf@hibu.no

     Digitale Systemer 2012/13
         [ November 2012 ]

Contenu connexe

En vedette (9)

REV2009
REV2009REV2009
REV2009
 
Guide Elearning Apprenants CASONEP
Guide Elearning Apprenants CASONEPGuide Elearning Apprenants CASONEP
Guide Elearning Apprenants CASONEP
 
Adelaide Jan 2009
Adelaide Jan 2009Adelaide Jan 2009
Adelaide Jan 2009
 
Vietnam War Revised
Vietnam War RevisedVietnam War Revised
Vietnam War Revised
 
Irsc Meeting Slides
Irsc Meeting SlidesIrsc Meeting Slides
Irsc Meeting Slides
 
Tweeting And Texting
Tweeting And TextingTweeting And Texting
Tweeting And Texting
 
Twitter Talking Tech2
Twitter Talking Tech2Twitter Talking Tech2
Twitter Talking Tech2
 
REV2010
REV2010REV2010
REV2010
 
On using BS to improve the
On using BS to improve theOn using BS to improve the
On using BS to improve the
 

Similaire à Ddis3010 course work_spec_slides

Track c-High speed transaction-based hw-sw coverification -eve
Track c-High speed transaction-based hw-sw coverification -eveTrack c-High speed transaction-based hw-sw coverification -eve
Track c-High speed transaction-based hw-sw coverification -evechiportal
 
digitaldesign-s20-lecture3b-fpga-afterlecture.pdf
digitaldesign-s20-lecture3b-fpga-afterlecture.pdfdigitaldesign-s20-lecture3b-fpga-afterlecture.pdf
digitaldesign-s20-lecture3b-fpga-afterlecture.pdfDuy-Hieu Bui
 
20081114 Friday Food iLabt Bart Joris
20081114 Friday Food iLabt Bart Joris20081114 Friday Food iLabt Bart Joris
20081114 Friday Food iLabt Bart Jorisimec.archive
 
What’s new in 9.6, by PostgreSQL contributor
What’s new in 9.6, by PostgreSQL contributorWhat’s new in 9.6, by PostgreSQL contributor
What’s new in 9.6, by PostgreSQL contributorMasahiko Sawada
 
In Depth Constructive Cost Modeling related slides
In Depth Constructive Cost Modeling related slidesIn Depth Constructive Cost Modeling related slides
In Depth Constructive Cost Modeling related slidesChobodiDamsaraniPadm
 
Programmable Exascale Supercomputer
Programmable Exascale SupercomputerProgrammable Exascale Supercomputer
Programmable Exascale SupercomputerSagar Dolas
 
QEMU - Binary Translation
QEMU - Binary Translation QEMU - Binary Translation
QEMU - Binary Translation Jiann-Fuh Liaw
 
Performance tests with gatling
Performance tests with gatlingPerformance tests with gatling
Performance tests with gatlingSoftwareMill
 
Basics of digital verilog design(alok singh kanpur)
Basics of digital verilog design(alok singh kanpur)Basics of digital verilog design(alok singh kanpur)
Basics of digital verilog design(alok singh kanpur)Alok Singh
 
Part III: Assembly Language
Part III: Assembly LanguagePart III: Assembly Language
Part III: Assembly LanguageAhmed M. Abed
 
Basic structure of computers by aniket bhute
Basic structure of computers by aniket bhuteBasic structure of computers by aniket bhute
Basic structure of computers by aniket bhuteAniket Bhute
 

Similaire à Ddis3010 course work_spec_slides (20)

SDAccel Design Contest: Xilinx SDAccel
SDAccel Design Contest: Xilinx SDAccel SDAccel Design Contest: Xilinx SDAccel
SDAccel Design Contest: Xilinx SDAccel
 
Module_01.ppt
Module_01.pptModule_01.ppt
Module_01.ppt
 
PoC Oracle Exadata - Retour d'expérience
PoC Oracle Exadata - Retour d'expériencePoC Oracle Exadata - Retour d'expérience
PoC Oracle Exadata - Retour d'expérience
 
Track c-High speed transaction-based hw-sw coverification -eve
Track c-High speed transaction-based hw-sw coverification -eveTrack c-High speed transaction-based hw-sw coverification -eve
Track c-High speed transaction-based hw-sw coverification -eve
 
digitaldesign-s20-lecture3b-fpga-afterlecture.pdf
digitaldesign-s20-lecture3b-fpga-afterlecture.pdfdigitaldesign-s20-lecture3b-fpga-afterlecture.pdf
digitaldesign-s20-lecture3b-fpga-afterlecture.pdf
 
20081114 Friday Food iLabt Bart Joris
20081114 Friday Food iLabt Bart Joris20081114 Friday Food iLabt Bart Joris
20081114 Friday Food iLabt Bart Joris
 
Dsp lab manual 15 11-2016
Dsp lab manual 15 11-2016Dsp lab manual 15 11-2016
Dsp lab manual 15 11-2016
 
What’s new in 9.6, by PostgreSQL contributor
What’s new in 9.6, by PostgreSQL contributorWhat’s new in 9.6, by PostgreSQL contributor
What’s new in 9.6, by PostgreSQL contributor
 
Erlang/OTP in Riak
Erlang/OTP in RiakErlang/OTP in Riak
Erlang/OTP in Riak
 
Joel Falcou, Boost.SIMD
Joel Falcou, Boost.SIMDJoel Falcou, Boost.SIMD
Joel Falcou, Boost.SIMD
 
In Depth Constructive Cost Modeling related slides
In Depth Constructive Cost Modeling related slidesIn Depth Constructive Cost Modeling related slides
In Depth Constructive Cost Modeling related slides
 
Andes open cl for RISC-V
Andes open cl for RISC-VAndes open cl for RISC-V
Andes open cl for RISC-V
 
Programmable Exascale Supercomputer
Programmable Exascale SupercomputerProgrammable Exascale Supercomputer
Programmable Exascale Supercomputer
 
IPmux ws 4.00.ppt
IPmux ws 4.00.pptIPmux ws 4.00.ppt
IPmux ws 4.00.ppt
 
QEMU - Binary Translation
QEMU - Binary Translation QEMU - Binary Translation
QEMU - Binary Translation
 
Performance tests with gatling
Performance tests with gatlingPerformance tests with gatling
Performance tests with gatling
 
Basics of digital verilog design(alok singh kanpur)
Basics of digital verilog design(alok singh kanpur)Basics of digital verilog design(alok singh kanpur)
Basics of digital verilog design(alok singh kanpur)
 
Part III: Assembly Language
Part III: Assembly LanguagePart III: Assembly Language
Part III: Assembly Language
 
Basic structure of computers by aniket bhute
Basic structure of computers by aniket bhuteBasic structure of computers by aniket bhute
Basic structure of computers by aniket bhute
 
Dpdk applications
Dpdk applicationsDpdk applications
Dpdk applications
 

Dernier

Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxAshokKarra1
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfJemuel Francisco
 
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfVirtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfErwinPantujan2
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxCarlos105
 
Integumentary System SMP B. Pharm Sem I.ppt
Integumentary System SMP B. Pharm Sem I.pptIntegumentary System SMP B. Pharm Sem I.ppt
Integumentary System SMP B. Pharm Sem I.pptshraddhaparab530
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Seán Kennedy
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Mark Reed
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYKayeClaireEstoconing
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17Celine George
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)lakshayb543
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...Nguyen Thanh Tu Collection
 
Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4JOYLYNSAMANIEGO
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPCeline George
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfTechSoup
 

Dernier (20)

LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptxLEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptx
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
 
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptxYOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
 
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfVirtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
 
Integumentary System SMP B. Pharm Sem I.ppt
Integumentary System SMP B. Pharm Sem I.pptIntegumentary System SMP B. Pharm Sem I.ppt
Integumentary System SMP B. Pharm Sem I.ppt
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
 
Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERP
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
 

Ddis3010 course work_spec_slides

  • 1. An FPGA-Based IEEE 1149.1 BST Controller HiBu | DDIS3010 | josemmf@hibu.no Digitale Systemer 2012/13 [ November 2012 ]
  • 2. [ josemmf@hibu.no | DDIS-3010 2012/13 ] 2 / 12 Outline of this presentation ● What is the deliverable of this work? ● Main functional features ● Processor architecture and instruction set ● Test workflow ● Main challenges ● Can we go further? ● How do I start?
  • 3. [ josemmf@hibu.no | DDIS-3010 2012/13 ] 3 / 12 Envisaged deliverable Overall block diagram:
  • 4. [ josemmf@hibu.no | DDIS-3010 2012/13 ] 4 / 12 Main functional features ● Support at least one Test Access Port (TAP) ● Accept "SVF-like" commands ● Receive the test code serially via RS-232C ● One "Run test" push button ● One "Pass" led, one "Fail" led
  • 5. [ josemmf@hibu.no | DDIS-3010 2012/13 ] 5 / 12 Test processor block diagram [ you can choose the values of CLmax and TVmax bits ]
  • 6. [ josemmf@hibu.no | DDIS-3010 2012/13 ] 6 / 12 Source code Minimum set of "SVF-like" commands: Command Description RESET Sets the boundary-scan logic (TAP controller FSM) in Test-Logic-Reset TMS 0 / 1 Sets TMS to 0 / 1 and applies one clock pulse to TCK SHF N X Shifts an N-bit sequence (X) into the [instruction | selected data] register SHFCP N X,Y,Z Shifts an N-bit sequence (X) into the [instruction | selected data] register and compares the output sequence with its expected response (Y) using the given mask information (Z) RUNTEST N Sets TMS to 0 and applies N [16-bit value] clock pulses to TCK EOP End-of-program (not a real command; marks the end of the object code)
  • 7. [ josemmf@hibu.no | DDIS-3010 2012/13 ] 7 / 12 Source code > Object code Use the TASM shareware cross-assembler to generate the object code: MNEM. ARGS. OPCODE BYTES MODOP. CLASS ----------------------------------------------- RESET "" A1 01 NOTOUCH 1 TMS * A2 02 NOTOUCH 1 SHF * A3 02 NOTOUCH 1 SHFCP * A4 02 NOTOUCH 1 RUNTEST * A5 03 SWAP EOP "" 454F50 03 NOTOUCH 1 (visit http://home.comcast.net/~tasm/ for +info)
  • 8. [ josemmf@hibu.no | DDIS-3010 2012/13 ] 8 / 12 Test workflow ● Produce the source code in SVF-like format ● Compile to Intel Hex object code via TASM ● Send the object code to the test processor memory via RS-232C ● Use the "Run" button to execute the test and the leds to check the result Write the source ➨ Generate ➨ Send the object file (*.obj) ➨ Run the test code (*.asm) using the object to the Avnet board via (press Run or send notepad++ code RS-232C command via RS- (tasm –XX 232C) name.asm)
  • 9. [ josemmf@hibu.no | DDIS-3010 2012/13 ] 9 / 12 Challenges vs. presentations so far ● Develop the VHDL model for the test processor -- recall: design of FSMD (Morten and Hakon), the Xilinx ISE tools (Gunnar and John), and ModelSim (Alex and Per) ● Adapt existing models for the UART (Alex and Per) and Xilinx specific memory (Bard and Gunnar) ● Integrate, verify via simulation, validate via the Avnet board (John and Bard)
  • 10. [ josemmf@hibu.no | DDIS-3010 2012/13 ] 10 / 12 Going further ● Enable a "step mode" to run the test (one command at a time) ● Support two TAPs instead of just one (enabling test actions simultaneously in both BS chains?) ● Support control and observation of parallel I/O pins in the edge connectors ● Use the LCD to display test information (Morten and Hakon) ● What else?...
  • 11. [ josemmf@hibu.no | DDIS-3010 2012/13 ] 11 / 12 How do I start? [one possible way] ● Make sure that you understand how the test processor architecture works (draw the state diagrams for executing each instruction) ● Sketch the hardware structures that enable the implementation of each block (e.g. how do you implement the Program Counter?) ● Code and simulate each structure in VHDL ● Integrate and extend validation to the whole test processor architecture ● Integrate with RS-232C and memory...
  • 12. Thanks for your attention! HiBu | DDIS3010 | josemmf@hibu.no Digitale Systemer 2012/13 [ November 2012 ]