antonblanchard / microwatt

A tiny Open POWER ISA softcore written in VHDL 2008
Other
652 stars 98 forks source link

uart16550 module not found by fusesoc #230

Open sharkcz opened 4 years ago

sharkcz commented 4 years ago

I got this error when running fusesoc recently

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

Failed to resolve dependencies for ::microwatt:0

If I understand it right, then microwatt.core is configured to rely on an external uart16550 module currently (https://github.com/antonblanchard/microwatt/blob/master/microwatt.core#L106). To solve that we should either update the instructions in https://github.com/antonblanchard/microwatt/blame/master/README.md#L100 or add uart16550.core to the bundled copy. I can prepare a PR, if you let me know your preference :-) I would go with the bundled copy personally, so Microwatt code is self-contained.

diagprov commented 3 years ago

Hello, I've come across exactly this issue. Unfortunately I'm relatively new to FPGAs and don't exactly know how to fix it. I've come across free cores for uart16550, for example https://github.com/freecores/uart16550, but I don't know how to convince fusesoc to build them.

I'd definitely appreciate an updated readme with instructions for building this core, if possible.