Skip to content

Conversation

@sfmth
Copy link

@sfmth sfmth commented Nov 4, 2025

No description provided.

Copy link
Collaborator

@bgoldbug bgoldbug left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few things:

  • Move fakeram_asap7 directory from src into the respective asap7 design folder (you can rename it to srams, which is the generic naming for rams we have in the design folder)
  • Move generate_cnn_verilog.sh, replace_rams_with_fakeram.sh, requirements.txt, and setup.sh into a new subdir called dev, inside of cnn/src
  • Update logic in bash files, it's failing to start the flow due to prior issues from the scripts

Copy link
Collaborator

@bgoldbug bgoldbug Nov 4, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We shouldn't need the clone repo logic here. We should add the repo as a submodule into src/cnn/dev instead.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should also initialize the venv if it doesn't exist.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

-setup.sh is called inside make (which is at the base folder of the ML_SUITE), so the current dir at this call would be UCSC_ML_suite/ rather than the intended UCSC_ML_suite/designs/src/cnn/dev
-I recommend getting the absolute path of the directory containing the bash scripts, and using that dir to call the script, instead of .

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.

2 participants