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

Help in simulating the file #49

Open
jibinbabuamakkattu opened this issue Feb 14, 2025 · 2 comments
Open

Help in simulating the file #49

jibinbabuamakkattu opened this issue Feb 14, 2025 · 2 comments

Comments

@jibinbabuamakkattu
Copy link

We have been trying to simulate the rivertop file. What we are doing is that, we are using force constant to assign values to each input variable.
We force constant all the required variables in the fetch stage to check if the output is available in the execute stage, but the o_valid is always 0 for which ever instruction we try.
Could you kindly help us understand what we are doing wrong?

@sergeykhbr
Copy link
Owner

Sorry friend, there's not enough information. What target you are trying simulate? What is toolchain?

@jibinbabuamakkattu
Copy link
Author

Thanks for your reply. Here's some additional context:

Target & Toolchain: We're simulating the rivertop file using Xilinx Vivado 2023.2, with the intent to eventually implement it on an Artix-7 board.
Simulation Scope: We’re focusing solely on the rivertop file rather than simulating the complete repository.
Issue Encountered: In our simulation, we’re using force constant to assign values to all required input signals in the fetch stage. Despite this, the o_valid signal in the execute stage remains 0 for every instruction we test.
Could you help us understand what might be going wrong? Are there any dependencies or simulation setup issues (e.g., missing reset sequences, handshake signals, or other initialization conditions) that we might be overlooking by simulating just the top-level file with forced constants?

Any insights or suggestions would be greatly appreciated!

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