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