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

New gen_layout commands #107

Merged
2 commits merged into from
Nov 13, 2023
Merged

New gen_layout commands #107

2 commits merged into from
Nov 13, 2023

Conversation

klingaard
Copy link
Collaborator

Removed the old perl generator; uses the new python generator in Sparta.

These changes make a few assumptions:

  1. The user is using a newer version of sparta map_v2
  2. The path to the clone of map is next to the clone of olympia

@klingaard
Copy link
Collaborator Author

Hey @kathlenemagnus can I get a "heck ya!" approval for this?

@ghost ghost requested a review from kathlenehurt-sifive November 13, 2023 20:31
@ghost ghost merged commit fdf08ff into master Nov 13, 2023
2 checks passed
@ghost ghost deleted the knutel/gen_layout_support branch November 13, 2023 21:35
aarongchan pushed a commit to aarongchan/riscv-perf-model that referenced this pull request Nov 17, 2023
Removed the old perl generator; uses the new python generator in Sparta.

These changes make a few assumptions: 
1. The user is using a newer version of sparta map_v2
2. The path to the clone of map is next to the clone of olympia
@peter-d
Copy link
Collaborator

peter-d commented Nov 30, 2023

Hi Knute - I run into problems with this PR, seems there are some non-ascii characters in the generated alf files that are checked in, for example in small_core.alf:

image

On my end (WSL2 Ubuntu), this crashes the yaml parsing when you start the pipe viewer. I haven't been able to rerun the generate script without errors, it's not clear to me what sparta version it depends on exactly to work.

@klingaard
Copy link
Collaborator Author

Ugh, I see the escape chars -- I have no idea how that happened. I'll look at it today.

You'll need map_v2.0.7 or later to run the tools.

@klingaard
Copy link
Collaborator Author

Fix in #127

This pull request was closed.
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

Successfully merging this pull request may close these issues.

4 participants