Bug 457 - Can't reproduce running litex simulation with libresoc
Summary: Can't reproduce running litex simulation with libresoc
Status: RESOLVED FIXED
Alias: None
Product: Libre-SOC's first SoC
Classification: Unclassified
Component: Source Code (show other bugs)
Version: unspecified
Hardware: PC Linux
: --- normal
Assignee: Luke Kenneth Casson Leighton
URL:
Depends on:
Blocks:
 
Reported: 2020-08-14 00:52 BST by Jacob Lifshay
Modified: 2020-08-14 05:23 BST (History)
2 users (show)

See Also:
NLnet milestone: ---
total budget (EUR) for completion of task and all subtasks: 0
budget (EUR) for this task, excluding subtasks' budget: 0
parent task for budget allocation:
child tasks for budget allocation:
The table of payments (in EUR) for this task; TOML format:


Attachments
archive of build log (62.54 KB, application/octet-stream)
2020-08-14 00:52 BST, Jacob Lifshay
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jacob Lifshay 2020-08-14 00:52:59 BST
Created attachment 97 [details]
archive of build log

I reinstalled everything from scratch in a new virtualenv.

I updated and installed everything and used:
cd ~/projects/libreriscv/soc
make run_sim >& run_sim.txt

Git revs:
ieee754fpu: dc9082559f7fba8555c2f76a6de95a6d84a6d087
litedram: 198bcbab676e2b4065e5b6a7dc8a7733bae8315a
liteeth: 792013a1756ea50608726ee86989ec38cfc35a8b
litehyperbus: 8f7116e15470c97f2a564746c3e57e0deaf32229
liteiclink: 6fdd02058fba29008c90b162e0ef707dce15ebeb
litejesd204b: d4b4af9d7bed17b6e9bd139baf3b0710128df097
litepcie: 29d496302e0addf5daac553f8da6a6c79db4237f
litesata: 2e4591c89b13e3eb6e42c9a0df9b7847eb65f16d
litescope: ec7bd6b47d3cbc549e4465e59e427cb438734d33
litesdcard: b5a92192acc950388480c25039cd324c898998fb
litespi: ce33a01b85c24e9123a12443a5d447da0e462767
litevideo: 41f30143075ece3fff5c33a332ed067d1837cbb3
litex-boards: 45bb329b5638f435d561e009b62547c2827f66e2
litex: bb7f33434ec1dc6493b4a25d58cd8aecce9694a5
nmigen-soc: 9762a3c9a014c6ab6cb8f70a09bdcd0f7a8a3e6d
nmigen: f6f9d68f24ee19b52f115dd6b8012b5f395d537f
nmutil: 64b8a07b2c72e5fb870bafe9ef00f926d1bd0faf
pythondata-misc-tapcfg: 25c97a4a9ff9af85248028fe01e2c65b2e3640ee
soc: 09ca589eff0e4df21d47ef04d6cde021b1c10153

CPython 3.8.0
Verilator 3.916 2017-11-25 rev verilator_3_914-65-g0478dbd

pip package list (edited to replace ~/projects/libreriscv/ with .../):
Package                         Version             Location
------------------------------- ------------------- -------------------
astor                           0.8.1
bigfloat                        0.4.0
certifi                         2020.6.20
chardet                         3.0.4
colorama                        0.4.3
idna                            2.10
ieee754fpu                      0.0.1               .../ieee754fpu/src
importlib-resources             3.0.0
Jinja2                          2.11.2
litedram                        0.0.0               .../litedram
liteeth                         0.0.0               .../liteeth
litehyperbus                    0.0.0               .../litehyperbus
liteiclink                      0.0.0               .../liteiclink
litejesd204b                    0.0.0               .../litejesd204b
litepcie                        0.0.0               .../litepcie
litesata                        0.0.0               .../litesata
litescope                       0.0.0               .../litescope
litesdcard                      0.0.0               .../litesdcard
litespi                         0.0.0               .../litespi
litevideo                       0.0.0               .../litevideo
litex                           0.0.0               .../litex
litex-boards                    0.0.0               .../litex-boards
MarkupSafe                      1.1.1
maturin                         0.8.2
migen                           0.9.2
nmigen                          0.3.dev153+gb86acdc .../nmigen
nmigen-soc                      0.1.dev46+g9762a3c  .../nmigen-soc
nmutil                          0.0.1               .../nmutil/src
packaging                       20.4
pip                             20.2.2
pkg-resources                   0.0.0
ply                             3.11
power-instruction-analyzer      0.1.0
pygdbmi                         0.9.0.3
pyparsing                       2.4.7
pyserial                        3.4
pythondata-misc-tapcfg          0.0.post435         .../pythondata-misc-tapcfg
pythondata-software-compiler-rt 0.0.post6200
pyvcd                           0.2.3
PyYAML                          5.3.1
requests                        2.24.0
setuptools                      39.0.1
six                             1.15.0
soc                             0.0.1               .../soc/src
toml                            0.10.1
urllib3                         1.25.10
wheel                           0.35.0
Comment 1 Luke Kenneth Casson Leighton 2020-08-14 01:01:53 BST
%Error: Cannot find file containing module: /home/jacob/projects/libreriscv/soc/src/soc/litex/florent/libresoc/libresoc.v

build it with python3 simple/issuer_verilog.py {somefilename.v}
Comment 2 Jacob Lifshay 2020-08-14 05:23:32 BST
(In reply to Luke Kenneth Casson Leighton from comment #1)
> %Error: Cannot find file containing module:
> /home/jacob/projects/libreriscv/soc/src/soc/litex/florent/libresoc/libresoc.v
> 
> build it with python3 simple/issuer_verilog.py {somefilename.v}

Yay, that worked!

Fixed as of 4d0d06103