[Libre-soc-dev] LibreSOC Implementation on arty7 fpga dev boards.

Luke Kenneth Casson Leighton lkcl at lkcl.net
Wed Oct 6 04:44:44 BST 2021


---
crowd-funded eco-conscious hardware: https://www.crowdsupply.com/eoma68

On Wed, Oct 6, 2021 at 3:52 AM varun mohan <varunmadhavam at gmail.com> wrote:
>
> Hi Luke,
> Ok...I checked out the specific commits for the repos mentioned and tried.
> But I got the error below.
>
> (libreSOC)varun at varuns5600x:/opt/src/litex/libresoc-litex$ ./fpga.py
> --sys-clk-freq=100e6 --fpga=artya7100t --build
> Traceback (most recent call last):
>   File "./fpga.py", line 8, in <module>
>     import litex_boards.targets.digilent_arty as arty
> ModuleNotFoundError: No module named 'litex_boards.targets.digilent_arty'

either because it's too early..

>
> Digging around found that in the checked out version of the litex_boards
> repo, there is no digilent_arty.py but only any arty.py. so changed the line
> "import litex_boards.targets.digilent_arty as arty" in fpga.py to "import
> litex_boards.targets.arty as arty". The script did went though this time,
> but what i noticed is the arty.py seems
> to be a very initial implementation of arty 7 support and specifically
> lacks arguments like device variants and toolchain.

cut over the necessary code.

> So it's always looking
> for vivado. What can be done next..? I guess I cannot simply go to the
> latest version of just the litex_boards repo or simply copy the
> digilent_arty file over because maybe a lot of other dependencies are also
> there. I don't have the experience with git to find out which commit added
> proper support for arty7

git log | grep arty would likely do it.

l.



More information about the Libre-soc-dev mailing list