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

Add initial FuseSoC support #60

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

olofk
Copy link

@olofk olofk commented May 18, 2021

This adds support for running many (but not all) testbenches using
FuseSoC. This also makes it possible for user projects to depend
on the core

Quick instructions

#Install FuseSoC
pip3 install fusesoc

#Create and enter a new workspace
mkdir workspace && cd workspace

#Add PDK as a library in the workspace
fusesoc library add sky130_pdk https://github.com/olofk/pdklite

#If caravel repo is available locally, register as a library in the workspace with
fusesoc library add caravel /path/to/caravel
#...or...
fusesoc library add caravel https://github.com/efabless/caravel
# ..to get the upstream repo from github

#To run the hkspi testbench
fusesoc run --target=hkspi_tb efabless:openmpw:caravel 

#Run with modelsim instead of default tool (icarus). Likely works with e.g. xsim, vcs, xcelium and rivierapro as well once #57 is fixed
fusesoc run --target=hkspi_tb --tool=modelsim efabless:openmpw:caravel

#List all targets
fusesoc core show efabless:openmpw:caravel

This adds support for running many (but not all) testbenches using
FuseSoC. This also makes it possible for user projects to depend
on the core
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.

1 participant