Update ongoing grant discussion
[libreriscv.git] / nlnet_2022_ongoing / discussion.mdwn
1 # questions 17 aug 2023
2
3 * <https://bugs.libre-soc.org/show_bug.cgi?id=961#c5>
4
5 ## Discussion from meeting on the 23rd August 2023 21:00 UTC+1
6
7 ### Bug #1003
8
9 * There is no overlap, as #976 tackled a different issue (and was already complete
10 before #1003).
11 * "observe in the child tasks that the entire budget *has* already been allocated to subtasks.... *none of which* overlap (or are a duplicate of) #972"
12 * Bug #1003 does however build on the work from #972.
13
14 ### Bug #999
15
16 * Build means that Sadoon provides documentation for setting up a SFFS port
17 of Gentoo and Debian.
18 * Stage 3 tar archive file for Gentoo is now available,
19 see [instructions](https://libre-soc.org/SFFS/gentoo_bootstrap/).
20 * Debian scripts are still being worked on as of 23rd Aug.
21 * All files required are hosted either on Libre-SOC's ftp or git.
22 * Patching qemu has been discovered to be out-of-scope for this task
23 (far too much work). Sadoon will be creating (or adding sesction to
24 Gentoo/Debian pages) a wiki page describing the
25 work he went through with qemu.
26
27 ### Bugs 1025/1026
28
29 * Jacob is still working on figuring out the subtasks which should be focused
30 on for the scope of the On-Going grant.
31
32 # questions 05 oct 2022
33
34 context is from other [[nlnet_2022_opf_isa_wg/discussion]] on 2022-08-051.
35 mailing list <https://lists.libre-soc.org/pipermail/libre-soc-dev/2022-October/005363.html>
36
37 **
38 Again there should be a breakdown of the main tasks, and the associated effort.
39 And a clarification what rates you used.
40 (I'm assuming these are the same, but I've learned not to assume...)
41 **
42
43 yes EUR 3,000 / mo as a yardstick works out ok in practice.
44
45 tasks, adapted (OpenCAPI is now a secret closed Standard, assigned to a
46 group backed by Intel!)
47
48 * 2-3 months: Dynamic Partitioned SIMD for nmigen
49 * 5-6 months: Continuation of IEEE754 FP Formal Correctness Proofs, addition
50 of FP Rounding Modes and Power ISA Flags
51 * 3-5 months: Completion of an In-Order Single-Issue core implementing SVP64
52 * 3-4 months: Addition of the IEEE754 FPU to the Core
53 * 3-4 months: Addition of other ALUs and pipelines
54 * 4-5 months: Addition of SMP (multi-core) support (lots of research here,
55 need help from IBM / Microwatt, the SMP Memory Model is conprehensive)
56 * 3-4 months: Running under Verilator and on FPGAs (big ones)
57 * 4-5 months: Continued documentation, attendance of Conferences online
58 * 4-5 months: Begin investigating Multi-Issue Out-of-Order
59 * 2-3 months plus hosting costs: Establishment and management of CI
60 * 2? months?: two Bitmain 250 FPGA porting (thanks to UOregon)
61
62 lower estimate is around 35 months, upper limit is 46, so a EUR 100,000
63 budget @ EUR 3,000/mo is within target (just). may need adjusting or some
64 tasks removing, to fit. we cannot risk committing to tasks at too low a
65 rate to be able to attract interest and committment.
66
67 Again however I do not have a problem with reducing the scope of this one
68 to only EUR 50,000 to cover some of the less ambitious tasks, with the
69 necessary infrastructure (Dynamic SIMD, IEEE754 ALUs) being first
70 priority then a second Grant following up to continue.
71
72 **
73 What would be the concrete (high level) outcome of that project -
74 where would the grant get us? Would there be a new test chip made
75 during the lifespan of the project?
76 **
77
78 Answering on the ASIC first: it is a little early to tell. Coriolis2 needs Timing
79 based Routing completed in order to tackle lower geometries (even 90nm),
80 https://libre-soc.org/nlnet_2021_lip6_vlsi/ 2021-08-049.
81 sky130
82 is far too small an allocation (12 mm^2 when we need around 100), we
83 really need sky90 which as i understand is still being negotiated and set up.
84
85 Given the amount of time ls180 took (I have to admit it was a major time-sink for me)
86 as a "learning exercise" the 2019-10-029 project was perfect.
87 However as far as "value for money" is concerned, a repeat is honestly
88 less valuable. That said: when it is ready, RED Semiconductor
89 *will* be picking up the Libre-SOC core and taking it to Silicon
90 (28 nm or below). For this Grant Proposal, powerful FPGAs will
91 get us a long way.
92
93 The concrete outcomes:
94
95 * A greatly increased strategic capacity of nmigen HDL: full Object-Orientated
96 Abstraction of its core Language Features. Opportunities then open up
97 to perform strict type checking, length checking, other types of Arithmetic
98 (Complex numbers, Galois Field) and other "filters" as
99 3rd party extensions, of which the Dynamic SIMD Partitioning Library created under
100 2019-02-012 would be the first big showcase.
101 * A modern well-documented IEEE754 Floating-Point Library, with Formal Correctess
102 Proofs using modern FOSSHW tools (smt2, symbiyosis) is a big deal in its own right,
103 and something worth aiming for.
104 The only
105 other Libre Formal Proof is Academically developed
106 for an older version of IEEE754: we will
107 target 2008 and 2019 semantics.
108 * An actual "on-the-ground" realisation of Simple-V in a useable Core, whereas at
109 present it is Simulations only and the cavatools Cycle-accurate Simulator
110 (2021-08-071) is not quite the same thing (userspace binaries only in cavatools,
111 no Virtual Memory, for a start). SMP Support in particular would be strategically
112 very valuable to have, it greatly expands the commercial viability.
113 * A lot larger "eat own dogfood" hosting solution, the NGI POINTER Grant paid for
114 an IBM POWER9 Server which lends us credibility but it needs to be put to
115 good use!
116
117 In other words, mostly "low-level strategic outcomes" on the way to success :)