Bug 486

Summary: Script and document the setup and installation of microwatt dependency on the wiki-HDL_workflow page
Product: Libre-SOC's first SoC Reporter: Cole Poirier <colepoirier>
Component: Source CodeAssignee: Luke Kenneth Casson Leighton <lkcl>
Status: CONFIRMED ---    
Severity: normal CC: libre-soc-bugs, lkcl
Priority: Normal    
Version: unspecified   
Hardware: PC   
OS: Linux   
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:
Bug Depends on:    
Bug Blocks: 383    

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.