Porting the TinyRocketConfig on Arty-35

159 views
Skip to first unread message

Hadir Khan

unread,
Feb 11, 2021, 10:47:11 PM2/11/21
to Chipyard

Hello,

I have ported the TinyRocketConfig design on the arty fpga using the make command shown in the "Prototyping flow" in the chipyard docs. However, looking at the schematic of the design, after running implementation in vivado, shows some pads left unconnected that may be used by the JTAG. I have attached the image of the schematic showing only the pins that are connected with the design.

I doubt that these connections are complete to connect JTAG and run bare-metal tests on top of the fpga board.

Any help regarding this matter?

Screenshot from 2021-02-12 08-43-43.png

James Dunn

unread,
Feb 12, 2021, 4:15:01 PM2/12/21
to Chipyard
Hello,

This looks correct to me. If you expand the IOBUF blocks in the schematic, it should clarify how it is working as a bidirectional buffer:

2021-02-12 13_10_49-ArtyFPGATestHarness - [_mnt_wsl_PHYSICALDRIVE1p2_home_dunn_chipyard_fpga_generat.png

The "Overview of the IOBUF" section of this page explains further.

In the case of the signals you show, the IOBUF is used only as an input buffer, so the tristate control (T) is set high, making I a "don't care", and it is held low.

Regards,
James

James Dunn

unread,
Feb 12, 2021, 4:23:11 PM2/12/21
to Chipyard
I should add that these could be replaced with IBUFs and OBUFs, as the signals are unidirectional, but the connections were modeled after how SiFive's Freedom Arty wired things, which was using IOBUFs.

Regards,
James

Hadir Khan

unread,
Feb 13, 2021, 5:49:28 AM2/13/21
to chip...@googlegroups.com
Thanks for the timely response. Okay this makes sense to me now. I would need help in actually debugging the program over JTAG. I have burnt the bitstream of this design on the FPGA and connected the "Olimex ARM Tiny USB H" hardware adapter according to the "SiFive Freedom E30 Getting Started" guide. However, when I connect the riscv_openocd, there are certain errors that I am facing. This is described in detail here:
https://github.com/riscv/riscv-openocd/issues/581

I would greatly appreciate help in this matter.

Regards,
Hadir

--
You received this message because you are subscribed to the Google Groups "Chipyard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chipyard+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/chipyard/fb051ed9-dce1-497d-b538-0ab5809d51c4n%40googlegroups.com.

James Dunn

unread,
Feb 13, 2021, 4:48:01 PM2/13/21
to Chipyard
I replied in the issue. Since I can connect to the Arty by reproducing your steps, I don't think this is an issue with riscv-openocd, but some aspect of your Chipyard build, FTDI drivers, or connection between the Olimex debugger and Arty board.

Regards,
James

Hadir Khan

unread,
Feb 14, 2021, 1:48:57 AM2/14/21
to chip...@googlegroups.com
Thanks James for the response and various debugging steps. I will get back to you here with the steps you mentioned in the issue and provide you more information regarding the issue. By the way, I used the default ArtyTweakConfig, so the build must be fine as well since I did not change any defaults in the chipyard/fpga repository folder.

Regards,
Hadir

You received this message because you are subscribed to a topic in the Google Groups "Chipyard" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/chipyard/MkD1OHGwieY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to chipyard+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/chipyard/32ed343f-a343-4dbd-a960-8040e4010508n%40googlegroups.com.

Hadir Khan

unread,
Feb 14, 2021, 11:11:09 PM2/14/21
to Chipyard
Hi James,
Please see the latest development regarding the issue here: https://github.com/riscv/riscv-openocd/issues/581#issuecomment-778920804
Reply all
Reply to author
Forward
0 new messages