[Libre-soc-dev] c4m-JTAG dependency issues

Cole Poirier colepoirier at gmail.com
Fri Oct 9 20:35:14 BST 2020


On Fri, Oct 9, 2020 at 12:23 PM Luke Kenneth Casson Leighton
<lkcl at lkcl.net> wrote:
>
> On Fri, Oct 9, 2020 at 8:06 PM Cole Poirier <colepoirier at gmail.com> wrote:
> >
> > On Fri, Oct 9, 2020 at 11:48 AM Luke Kenneth Casson Leighton
> > <lkcl at lkcl.net> wrote:
> > >
> > > ---
> > > crowd-funded eco-conscious hardware: https://www.crowdsupply.com/eoma68
> > >
> > > On Fri, Oct 9, 2020 at 6:59 PM Cole Poirier <colepoirier at gmail.com> wrote:
> > > >
> > > > Hi Luke,
> > > >
> > > > Am I supposed to be installing cocotb from the main developer's repo
> > > > or from https://gitlab.com/Chips4Makers/cocotb/tree/dev_wishbone?
> > >
> > > neither.  from https://git.libre-soc.org/?p=c4m-jtag.git;a=summary
> >
> > Yes I did that. Fails because of ModuleNotFoundError:
>
> f***** f***** f*****g f*** :)

!!! :)

> what the f***'s it doing running the testbench??

``` you in https://bugs.libre-soc.org/show_bug.cgi?id=511#c4
don't know.  can you at least run it, successfully?  i'm staring at
the c4m files and not spotting anything obvious.  the c4m cocotb unit
tests clearly work.

this is the equivalent test:

https://gitlab.com/Chips4Makers/c4m-jtag/-/blob/master/test/nmigen/cocotb/controller/test.py#L97

the ioconn pads/core values should match up, and they don't.
```

I took the above to mean you wanted my to try to run
https://gitlab.com/Chips4Makers/c4m-jtag/-/blob/master/test/nmigen/cocotb/controller/test.py#L97,
but I guess I have misunderstood you once again!! Grrrrr.... SO. MUCH.
TIME. WASTED. I'll go bald from all of the hear-tear this has caused.

> i happened to have cocotb installed from 2+ years ago and forgot about
> it.  i don't even know where it is.  1 sec
> >>> import cocotbext
> # possible namespace for /home/lkcl/src/libresoc/cocotbext-wishbone/cocotbext
> import 'cocotbext' # <_frozen_importlib_external._NamespaceLoader
> object at 0x7f30dc3e56a0>
>
> cat cocotbext-wishbone/.git/config
>
> [remote "origin"]
>     url = https://github.com/wallento/cocotbext-wishbone.git
>
> i just checked, it doesn't need cocotb (at all) to actually run once installed.
>
> i've temporarily removed cocotb entirely from the setup.py.  please do
> a git pull and check it.

Ok will do. Perhaps I should have just asked this from the start
instead of trying to figure out how to do it, what are the exact
instructions for setting up this, as well as the litex/fpga stuff. Got
my ulx3s ecp5 and ST-Link V2 JTag usb debugger yesterday and am
currently trying to set it up... the ulx3s manual is so confusing :(

Cole



More information about the Libre-soc-dev mailing list