Bug 486 - Script and document the setup and installation of microwatt dependency on the wiki-HDL_workflow page
Summary: Script and document the setup and installation of microwatt dependency on the...
Status: CONFIRMED
Alias: None
Product: Libre-SOC's first SoC
Classification: Unclassified
Component: Source Code (show other bugs)
Version: unspecified
Hardware: PC Linux
: Normal normal
Assignee: Luke Kenneth Casson Leighton
URL:
Depends on:
Blocks: 383
  Show dependency treegraph
 
Reported: 2020-09-07 21:46 BST by Cole Poirier
Modified: 2022-03-01 20:57 GMT (History)
2 users (show)

See Also:
NLnet milestone: NLNet.2019.10.043.Wishbone
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: 383
child tasks for budget allocation:
The table of payments (in EUR) for this task; TOML format:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cole Poirier 2020-09-07 21:46:41 BST
Microwatt is a dependency of libre-soc and therefore it must be documented on the wiki on the HDL_workflow page as it is a dependency like nmigen-* and power_instruction_analyzer. Also Luke will comment below on what needs to be 'de-hackified' and put into a make file.
Comment 1 Luke Kenneth Casson Leighton 2020-09-07 22:38:03 BST
basically yes, microwatt's unit tests are now a dependency, and it'll
need to be installed in a "specific" location that's then known and
accessible, in order to run the unit tests.

basically the process is:

* python3 issuer_verilog.py issuer_verilog.v
* copy that to florent/libresoc
* ./sim.py --something=somebinary_from_microwatt.bin

that last one goes in a Makefile (might as well be in the florent
directory, will move it later)

where something needs to be added as an option to sim.py

*and* there needs to be a way (environment variable, relative path
assumption) to *find* those microwatt test binaries.