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

colorlight #7

Open
farex opened this issue Nov 1, 2023 · 3 comments
Open

colorlight #7

farex opened this issue Nov 1, 2023 · 3 comments

Comments

@farex
Copy link

farex commented Nov 1, 2023

Hi, I'm getting the following error when trying to compile the firmware for the 5a75b board
ModuleNotFoundError: No module named 'litex.build.vhd2v_converter'
there was also an error related to tx_write_only parameter which i fixed
Litex is installed and tested, can you please help me

@sensille
Copy link
Owner

sensille commented Nov 3, 2023

The 5a75 branch is not yet ready. I managed to build an image for my 5a75e, but haven't tested it beyond ping and readhmid yet.
But I can provide the missing pieces in litex so you can compile and test it if you're interested. Might take me a few days.

@farex
Copy link
Author

farex commented Nov 7, 2023

Yes sure, I have two 5a75b board to test

@sensille
Copy link
Owner

Hi, I'm getting the following error when trying to compile the firmware for the 5a75b board ModuleNotFoundError: No module named 'litex.build.vhd2v_converter'
there was also an error related to tx_write_only parameter which i fixed Litex is installed and tested, can you please help me

The only patches I have to litex that I'm aware of are in liteeth and litex. I use the cdc_buffered branch from my fork: https://github.com/sensille/liteeth/tree/cdc_buffered and in litex https://github.com/sensille/litex/tree/cdc_buffered.
Not sure about the error you get, maybe it is gone when you use litex from my branch. I haven't updated litex in a while.
In any case to build it you need a relatively recent version of ghdl installed, containing the fix for ghdl/ghdl#2474.
If the build still gives you problems I can give you the commit ids of all litex repos I use.

A problem the build currently has that it sometimes runs into an error like
ERROR: Net 'main_hostmot2_hm2_obus[31]' is multiply driven by cell ports TopHostMot2.ahostmot2.ledreg.n1418_q_LUT4_Z.Z and TopHostMot2.ahostmot2.ledreg.n1418_q_TRELLIS_FF_Q.Q

I'm not sure yet what causes this, but as a quick fix I just change the offending line in build/5a75b/gateware/TopHostMot2.v from
assign n1419_o = read ? oreg : 1'bz;
to
assign n1419_o = 1'bz;
and build afterwards by running sh build_litehm2.sh in that directory. This issue needs further investigation.

Please let me know if that already helps or if I can assist you further.

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

No branches or pull requests

2 participants