Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Seeking Assistance with SERVANT Integration on Nexys A7 via Eclipse #104

Open
cmenendezzz opened this issue Sep 1, 2023 · 1 comment
Open

Comments

@cmenendezzz
Copy link

cmenendezzz commented Sep 1, 2023

Hello!
I am excited to share that I have successfully implemented SERVANT on my Nexys A7 FPGA board. My primary objective now is to utilize its UART port for communication. I have prior experience implementing other RISC-V processors and debugging them through Eclipse, and I'm eager to replicate the same process with the SERV CPU.

However, during my exploration of the Zephyr documentation, I encountered some challenges. Specifically, I noticed that there are missing includes in the repository, such as:
#include <drivers/timer/system_timer.h>
and

#include "verilated_vcd_c.h"
#include "Vservant_sim.h"

I am hopeful that you can help clarify this issue and provide guidance for configuring SERVANT via Eclipse. Your assistance in this endeavor would be greatly appreciated.

Thank you in advance for your support.

@olofk
Copy link
Owner

olofk commented Oct 23, 2023

SERV doesn't have a debug interface, so it will not be able to communicate with a debugger at runtime.

Regarding the first include, system_timer.h belongs to Zephyr, so if you have set up Zephyr according to the instructions in the SERV README, it should be found automatically.

The other includes you mention are only relevant for when you run a simulation of Servant under Verilator. Those files are created by Verilator when it "verilates" the code (i.e. turning the verilog into a C++ model).

I'm not sure if this helps you, but I'm afraid your expectations of running SERV through eclipse like other CPUs won't work all that well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants