Closed Chaitanyavedula18 closed 2 years ago
Hi @raysalemi ,
My terminal gets stuck when running tox. Please find the attachment below.
The following steps I have followed.
Dowloaded Anaconda.
Downloaded icarus verilog.
pip install pyuvm
git clone https://github.com/raysalemi/Python4RTLVerification.git
cd Python4RTLVerification/
pip install pytest tox
tox
This is when the terminal gets stuck with the above snapshot.
my PATH environment variable contains the following.
(base) chintu@Aarthis-MacBook-Air ~ % echo $PATH
/opt/homebrew/bin:/Users/chintu/opt/anaconda3/bin:/Users/chintu/opt/anaconda3/condabin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
I am running on -zsh shell which is a default one for Mac.
Am I missing something here? Do I have to add the path of cocoon and pyuvm to my PATH env variable?
-Chaitanya
It looks like cocotb needs to be recompiled for your Mac. Notice that it's looking for Intel, but finding ARM (M5).
Try completely deleting the .tox directory.
Hi @raysalemi , Any idea how do we recompile cocotb for Mac? I tried removing the .tox folder in Python4RTLVerification, but still the same issue.
-Chaitanya
I would ask on the cocotb Issues forum (https://github.com/cocotb/cocotb/issues) or the cocotb Gitter channel. ( https://gitter.im/cocotb/Lobby)
I had no problem running with Icarus on my M5 Mac.
Ray
Aha! Nice solution.
On Mon, Sep 19, 2022 at 1:02 PM Chaitanya @.***> wrote:
Hi @raysalemi https://github.com/raysalemi , Thank you. The following article helps.
https://github.com/cocotb/cocotb/issues/2986#issue-1244362405
Title of the Issue :M1 Architecture Incompatibility #2986
Resolution : Dowloading Anaconda package for Mac M1 resolved the issue. [image: Screenshot 2022-09-19 at 10 00 25 AM] https://user-images.githubusercontent.com/42914168/191072811-e8ae274f-8ce7-4a5c-a345-2370e2cb7d46.png
— Reply to this email directly, view it on GitHub https://github.com/raysalemi/Python4RTLVerification/issues/5#issuecomment-1251296896, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAYFXWTSJYOAWDS5TMOJKU3V7CMCLANCNFSM6AAAAAAQPMGBBM . You are receiving this because you were mentioned.Message ID: @.***>
Hi @raysalemi , My terminal gets stuck when running tox. Please find the attachment below.
The following steps I have followed.
This is when the terminal gets stuck with the above snapshot.
my PATH environment variable contains the following. (base) chintu@Aarthis-MacBook-Air ~ % echo $PATH /opt/homebrew/bin:/Users/chintu/opt/anaconda3/bin:/Users/chintu/opt/anaconda3/condabin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
I am running on -zsh shell which is a default one for Mac.
Am I missing something here? Do I have to add the path of cocoon and pyuvm to my PATH env variable?
-Chaitanya