fusesoc / blinky

Example LED blinking project for your FPGA dev board of choice
MIT License
158 stars 70 forks source link

Can not build blinky on simulation target #101

Closed RHamalainen closed 5 months ago

RHamalainen commented 5 months ago

Hello,

I installed fusesoc with

pip3 install --upgrade --user fusesoc

checked the version with

fusesoc --version

which returned "2.3", made a new directory and executed

fusesoc library add blinky https://github.com/fusesoc/blinky

and tried to execute

fusesoc run --target=sim fusesoc:utils:blinky

but got following error message

ERROR: Conflicting requirements:
Requirements: 'fusesoc_utils_blinky == 1.1.1-0' <- 'vlog_tb_utils >= 0-0'
    +fusesoc_utils_blinky-1.1.1-0 was ignored because it depends on missing packages
Requirements: 'fusesoc_utils_blinky == 1.1.1-0'
    Install command rule (+fusesoc_utils_blinky-1.1.1-0)

Failed to resolve dependencies for fusesoc:utils:blinky:1.1.1

while executing

fusesoc core list

returns following

Available cores:

Core                        Cache status  Description
================================================================================
fusesoc:utils:blinky:1.1.1 :      local : <No description>

Did I made a mistake or what happened?

olofk commented 5 months ago

You did right, but I notice that the instructions are missing one step. The simulation target depends on the vlog_tb_utils core. That core is found in the FuseSoC base library. You can pull in that library by running fusesoc library add fusesoc-cores https://github.com/fusesoc/fusesoc-cores from your workspace

RHamalainen commented 5 months ago

Thanks for quick reply! After executing that step it works now!