vivado-risc-v icon indicating copy to clipboard operation
vivado-risc-v copied to clipboard

no targets found with "name =~ "Hart #0*"".

Open yswntht opened this issue 2 years ago • 2 comments

Hi @eugene-tarassov ,

I used nexys-video as base template and ported to a new fpga "xc7k160t". I see timing is met with system clock at 50MHz and bit stream is successfully generated. my board uses PUSH-buttons for reset (button press connects to logic 1) and doenn't have an sdcard. To match the system reset i changed reset polarity to ACTIVE_HIGH in riscv.2020.1.tcl. To program the board I followed your suggestion from previous threads (using xsdb). I see following message:


****** Xilinx System Debugger (XSDB) v2020.1
  **** Build date : May 27 2020-20:33:44
    ** Copyright 1986-2020 Xilinx, Inc. All Rights Reserved.


xsdb% connect                                                                   
tcfchan#0                                                                       
xsdb% targets -set -filter {name =~ "Hart #0*"}                                 
no targets found with "name =~ "Hart #0*"". available targets:                  
  1  xc7k160t
     2  RISC-V JTAG DTM (Debug Transport Module is held in reset)

Any pointers what could be the issue?

Thanks.

yswntht avatar Sep 12 '22 16:09 yswntht

To match the system reset i changed reset polarity to ACTIVE_HIGH in riscv.2020.1.tcl

You also need to remove inverter (e.g. util_vector_logic_0) on the reset input.

eugene-tarassov avatar Sep 12 '22 18:09 eugene-tarassov

Thank a lot. Your suggestion worked. I see the correct functionality now.

****** Xilinx System Debugger (XSDB) v2020.1
  **** Build date : May 27 2020-20:33:44
    ** Copyright 1986-2020 Xilinx, Inc. All Rights Reserved.


xsdb% connect                                                                   
tcfchan#0                                                                       
xsdb% ta                                                                        
  1  xc7k160t
     2  RISC-V
        3  Hart #0 (Running)
xsdb% exit                                                                      
exit

yswntht avatar Sep 14 '22 06:09 yswntht