element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Avnet Boards Forums
  • Products
  • Dev Tools
  • Avnet & Tria Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
ZedBoard Hardware Design HIL on Zynq
  • Forum
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Avnet Boards Forums to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 1 reply
  • Subscribers 340 subscribers
  • Views 223 views
  • Users 0 members are here
Related

HIL on Zynq

shakith
shakith over 12 years ago

Hi all,

I am trying to debug the HIL example on the zedboard. Only at the point of calling the AXI transcation (e.g configure_timer(UP_COUNTER, BASE_ADDR_TIMER_1) - WRITE_REG) from the C code, it does a busy waiting. If I step over the line I get remote failure reply error. Also ISIM reports the following errors.

WARNING: Simulation object /testbench/dut/module_1_i/axi_interconnect_1_S_AWADDR was not found in the design.
WARNING: Simulation object /testbench/dut/module_1_i/axi_interconnect_1_S_AWVALID was not found in the design.
WARNING: Simulation object /testbench/dut/module_1_i/axi_interconnect_1_S_AWREADY was not found in the design.
WARNING: Simulation object /testbench/dut/module_1_i/axi_interconnect_1_S_WDATA was not found in the design.
WARNING: Simulation object /testbench/dut/module_1_i/axi_interconnect_1_S_WVALID was not found in the design.
WARNING: Simulation object /testbench/dut/module_1_i/axi_interconnect_1_S_WREADY was not found in the design.
WARNING: Simulation object /testbench/dut/module_1_i/axi_interconnect_1_S_ARADDR was not found in the design.
WARNING: Simulation object /testbench/dut/module_1_i/axi_interconnect_1_S_ARVALID was not found in the design.
WARNING: Simulation object /testbench/dut/module_1_i/axi_interconnect_1_S_ARREADY was not found in the design.
WARNING: Simulation object /testbench/dut/module_1_i/axi_interconnect_1_M_WDATA was not found in the design.
WARNING: Simulation object /testbench/dut/module_1_i/axi_interconnect_1_M_WVALID was not found in the design.
WARNING: Simulation object /testbench/dut/module_1_i/axi_interconnect_1_M_WREADY was not found in the design.
WARNING: Simulation object /testbench/dut/module_1_i/axi_interconnect_1_M_RVALID was not found in the design.
WARNING: Simulation object /testbench/dut/module_1_i/axi_interconnect_1_M_RREADY was not found in the design.
WARNING: Simulation object /testbench/dut/module_1_i/axi_interconnect_1_M_RDATA was not found in the design.
WARNING: Simulation object /testbench/dut/module_1_i/axi_interconnect_1_M_AWADDR was not found in the design.
WARNING: Simulation object /testbench/dut/module_1_i/axi_interconnect_1_M_AWVALID was not found in the design.
WARNING: Simulation object /testbench/dut/module_1_i/axi_interconnect_1_M_ARADDR was not found in the design.
WARNING: Simulation object /testbench/dut/module_1_i/axi_interconnect_1_M_AWREADY was not found in the design.
WARNING: Simulation object /testbench/dut/module_1_i/axi_interconnect_1_M_ARVALID was not found in the design.
WARNING: Simulation object /testbench/dut/module_1_i/axi_interconnect_1_M_ARREADY was not found in the design.

Though the bitstream(no programming errors as well) and the simulation models compiled properly, it seems the interface that maps the AXI bus from the real hardware to ISM through JTAG tunneling has a bug.How can i debug this?

I also added the following info the hwcosim.bsp file.

'zed-jtag' => {
'Description' => 'ZC702 (JTAG)',
'Vendor' => 'Xilinx',
'Type' => 'jtag',
'Part' => 'xc7z020-1clg484',
'Clock' => [
{
'Period' => 10,
'Pin' => 'Y9',
},
],
'BoundaryScanPosition' => 1,
},

  • Sign in to reply
  • Cancel
  • shakith
    0 shakith over 12 years ago

    Hi,

    I am trying to get HIL example working on the zynq zedboard. At the point of axi transaction, processor waits forever and ISIM also doesn't show any activity on the AXI channels.

    These are the steps I followed.
    1. Added the following code the hwcosim.bsp
    'zed-jtag' => {
    'Description' => 'ZC702 (JTAG)',
    'Vendor' => 'Xilinx',
    'Type' => 'jtag',
    'Part' => 'xc7z020-1clg484',
    'Clock' => [
    {
    'Period' => 10,
    'Pin' => 'Y9',
    },
    ],
    'BoundaryScanPosition' => 1,
    },
    1. Created a new plan ahead project and a sub xps project targeting the zynq zedboard with a timer peripheral.
    2. In xps, removed Fclk0 connection and made clk and reset pin of the axi bus external.
    Added the following lines the MHS(attached) for the timer
    PARAMETER C_INTERCONNECT_S_AXI_AW_REGISTER = 1
    PARAMETER C_INTERCONNECT_S_AXI_AR_REGISTER = 1
    and AXI interconnect
    PARAMETER C_INTERCONNECT_CONNECTIVITY_MODE = 0
    PARAMETER C_RANGE_CHECK = 0
    3. Back in plan-ahead, created the top module and added the test bench too generate the clk and reset.
    4. Under behavioral simulation fuse options, added the following
    hwcosim_instance /testbench/dut/module_1_i/processing_system7_0 -hwcosim_clock M_AXI_GP0_ACLK -hwcosim_board zed-jtag -hil_zynq_ps
    5. Powered the board. Ran behavioral simulation. It managed to successfully download the bit stream.
    6. Export and launch SDK and ran in debug mode.
    7. Enabled simulation run all
    8. In SDK, ran both resume and step mode.
    9 . Terminal programs shows "Configuring the timer as an up-counter"  and get hung.

    Is there a step missing here?
    Log file shows bit stream is successfully download to the FPGA.
    Diff (attached) of my spec with the reference spec file for given HIL example on ZC702 shows only relevant logical changes.
    My setup is Xilinx 14.4 on ubuntu.

    How does the axi channles get tunneled through JTAG from the ARM to the ISIM application? Is there a way to verify it in XMD?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube