Open CarrolXC opened 1 year ago
could you try whereis litex_sim
?
have you installed LiteX into as user (ie ~/.local/) or in your system?
If it's ~/.local could you check PATH
env var to check if it contains ~/.local/bin ?
Yes, it is in my user folder: /home/gengar/.local/bin/litex_sim It was fixed after I added the path. Sincerely appreciate your suggestions! BTW do you have any ideas on what caused this?I did everything following the instructions.
On Tue, Feb 7, 2023 at 3:44 PM Gwenhael Goavec-Merou < @.***> wrote:
could you try whereis litex_sim ? have you installed LiteX into as user (ie ~/.local/) or in your system? If it's ~/.local could you check PATH env var to check if it contains ~/.local/bin ?
— Reply to this email directly, view it on GitHub https://github.com/enjoy-digital/litex/issues/1589#issuecomment-1421496273, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOMJZYGE4LVC3LWO5IGZY2LWWK64JANCNFSM6AAAAAAUUPOUII . You are receiving this because you authored the thread.Message ID: @.***>
Great!
Could you point a link to instructions?
~/.local/bin isn't by default in your PATH
so you have to add something like export PATH=$PATH:$HOME/.local/bin
into your
~/.bashrc to have this path in all your terminals. !!!WARNING!!! you have to add $PATH before or after: this command overrides $PATH variable.
using the export
command manually into one terminal is limited to this terminal (a new/other terminal will not be affected and if you close this terminal you lost this update).
Here is the instructions I was looking at: https://github.com/enjoy-digital/litex/wiki/Installation Many thanks again for your help. Best regards,
On Tue, Feb 7, 2023 at 4:06 PM Gwenhael Goavec-Merou < @.***> wrote:
Great! Could you point a link to instructions? ~/.local/bin isn't by default in your PATH so you have to add something like export PATH=$PATH:$HOME/.local/bin into your ~/.bashrc to have this path in all your terminals. !!!WARNING!!! you have to add $PATH before or after: this command overrides $PATH variable. using the export command manually into one terminal is limited to this terminal (a new/other terminal will not be affected and if you close this terminal you lost this update).
— Reply to this email directly, view it on GitHub https://github.com/enjoy-digital/litex/issues/1589#issuecomment-1421523703, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOMJZYA665LFTWBM7BFCIQ3WWLBNTANCNFSM6AAAAAAUUPOUII . You are receiving this because you authored the thread.Message ID: @.***>
it's explained here but yes it's not mentionned this command is not persistent: wiki and script must be updated to explain this.
Cool! Appreciate your effort on my questions. I will try to figure it out. Best, Xi
On Tue, Feb 7, 2023 at 4:25 PM Gwenhael Goavec-Merou < @.***> wrote:
it's explained here https://github.com/enjoy-digital/litex/blob/master/litex_setup.py#L290 but yes it's not mentionned this command is not persistent: wiki and script must be updated to explain this.
— Reply to this email directly, view it on GitHub https://github.com/enjoy-digital/litex/issues/1589#issuecomment-1421551541, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOMJZYBPI27J5KNLP26253DWWLDU7ANCNFSM6AAAAAAUUPOUII . You are receiving this because you authored the thread.Message ID: @.***>
I got an message saing "litex_sim: command not found" when I typed in litex_sim --cpu -type=vexriscv. Do you have ideas or experience on that? All the previous steps are done successfully. Appreciate it!