project:ledum:start
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
project:ledum:start [2025/03/20 15:17] – summary/abstract tma | project:ledum:start [2025/04/25 13:13] (current) – [Streaming Setup in Brmlab] joe | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Ledum ====== | ||
+ | |||
+ | {{template>: | ||
+ | name=Ledum| | ||
+ | image=ledum: | ||
+ | sw=FIXME| | ||
+ | hw=FIXME| | ||
+ | founder=[[user: | ||
+ | interested=[[user: | ||
+ | | | ||
+ | status=active | ||
+ | }} | ||
+ | |||
+ | This project aims to design and develop a new central processing unit (CPU) with a primary focus on // | ||
+ | |||
+ | |||
+ | ===== Project Objectives ===== | ||
+ | |||
+ | - **Achieve High Correctness in Design:** | ||
+ | * Use formal methods, simulation, and rigorous testing to verify that the CPU’s architecture is functionally correct. | ||
+ | * Ensure that the CPU meets or exceeds industry standards for reliability and precision. | ||
+ | - **Implement Object Capabilities Model:** | ||
+ | * Integrate an object capabilities model into the CPU’s architecture to allow fine-grained, | ||
+ | * Ensure that resource access control is embedded at the hardware level to improve security by default. | ||
+ | - **Enable Scalable Security Mechanisms: | ||
+ | * Design the CPU with scalable security features, leveraging capabilities to prevent unauthorized access and misuse of system resources. | ||
+ | * Provide users with the flexibility to define and manage their own access control policies through object capabilities. | ||
+ | - **Optimize Performance: | ||
+ | * Ensure that the CPU achieves optimal performance in terms of throughput, latency, and power consumption, | ||
+ | * Ensure, that the CPU architecture can be parallelized to achieve IPC>1 including OoO execution, although to do so isn't primary objective. | ||
+ | * Balance hardware features for high-performance tasks with robust security measures for sensitive operations. | ||
+ | - **Establish Robust Ecosystem Support:** | ||
+ | * Develop comprehensive software toolchains and drivers to support the object capability model. | ||
+ | * Collaborate with industry partners to ensure broad compatibility with existing operating systems and applications. | ||
+ | |||
+ | |||
+ | ===== Project Scope ===== | ||
+ | |||
+ | ==== In-Scope ==== | ||
+ | |||
+ | * **CPU Architecture Design:** Define instruction sets, pipeline architecture, | ||
+ | * **Formal Verification: | ||
+ | * **Security & Resource Management: | ||
+ | * **Prototyping and Simulation: | ||
+ | * **Performance Evaluation: | ||
+ | * **Software Toolchain Development: | ||
+ | |||
+ | ==== Out of Scope ==== | ||
+ | |||
+ | * Development of end-user software applications or operating systems. | ||
+ | * Manufacturing of physical CPU chips (to be handled post-design phase). | ||
+ | * Integration into mass-market consumer devices (focus will be on specialized, | ||
+ | |||
+ | ===== Workshops ===== | ||
+ | |||
+ | As a part of our efforts, we have realized that different members of the team have different experience with various scientific and engineering fields and it would be very helpful to ensure that everyone has some basic understanding of all required topics. The workshops typically take place during the working group' | ||
+ | |||
+ | If there is enough interest, we are streaming the workshops online using [[https:// | ||
+ | |||
+ | ==== Streaming Setup in Brmlab ==== | ||
+ | |||
+ | The public laptop available in the social room, clearly labeled " | ||
+ | |||
+ | - Locate the aforementioned laptop. | ||
+ | - Find its power supply adapter. | ||
+ | - Put the laptop on a table near the pack of cables hanging down from the ceiling roughly in the middle of the room. | ||
+ | - Connect the power supply adapter to 230V socket and to the laptop. | ||
+ | - Power up the laptop by pressing the power button located just left of the delete key which is in the top right corner of the keyboard and double-check it is not running only on the battery. | ||
+ | - Connect a mouse to the laptop - it is really needed for any actual directing of the session. | ||
+ | - Go to the audio mixing table - by the time of this writing, it is located by the 3rd window pair counting from the entrance | ||
+ | - At the table, search for and pick up: | ||
+ | * red/black USB device for capturing HDMI output | ||
+ | * blue USB-A to USB-A USB 3.0 cable | ||
+ | * (probably black) HDMI cable of sufficient length (2m should be OK) | ||
+ | - Get back to the laptop and connect the HDMI capture device to the remaining USB-A port of the laptop. | ||
+ | - Start the Chromium browser and load the meeting URL (see above). | ||
+ | - Grab the HDMI cable going from the projector just under the ceiling and connect it to the integrated HDMI port on the right hand side of the laptop (next to the power supply connector). | ||
+ | - Power up the projector using the " | ||
+ | - Ensure the system is configured to use the external projector as secondary / separate screen. | ||
+ | - Move the Chromium browser window to the secondary screen and put it in the full-screen mode. Beware - without Fn-Lock, the F11 key puts the laptop in the Airplane Mode. | ||
+ | - Start OBS Studio (it is installed). | ||
+ | - If it asks for the permission to share a screen window, check it is the Chromium browser window you have just opened and allow sharing. | ||
+ | - In the "Scene Collections" | ||
+ | - Select the " | ||
+ | - Ensure the laptop' | ||
+ | - In the sources list right to the scene selection of the previous step, check and ensure: | ||
+ | * The " | ||
+ | * The " | ||
+ | * The " | ||
+ | - Now that everything is ready, click the "Start Virtual Camera" | ||
+ | - Go back to Chromium browser window and select the newly created "OBS Camera" | ||
+ | - Go back to OBS Studio and select the " | ||
+ | |||
+ | ==== Past Workshops ==== | ||
+ | |||
+ | * 2024-10-10 16:00 [[user: | ||
+ | * 2024-10-24 16:00 [[user: | ||
+ | * 2024-10-31 16:00 [[user: | ||
+ | * 2024-11-07 18:00 [[user: | ||
+ | * 2024-11-14 16:00 [[user: | ||
+ | * 2024-11-21 18:00 [[user: | ||
+ | * 2024-11-28 16:00 [[user: | ||
+ | * 2024-12-05 16:00 [[user: | ||
+ | * 2024-12-12 16:00 [[user: | ||
+ | * 2025-01-09 17:00 [[user: | ||
+ | |||
+ | ==== Planned ==== | ||
+ | |||
+ | |||
+ | ===== Design Topics ===== | ||
+ | ==== ISA Description ==== | ||
+ | Warning: This part may change wildly at this stage. | ||
+ | |||
+ | === Registers === | ||
+ | * 64 GPR | ||
+ | * upto 64 PTR (Pointer registers) | ||
+ | * special registers (CS:IP and several configuration registers probably) | ||
+ | *- No flag register (flags are going either to another GPR or to a special 4-bits adjacent to every GPR), this should help future with parallelization | ||
+ | |||
+ | === Pointers === | ||
+ | * Fat Pointers supported and tested by HW | ||
+ | * Ultra Fat Pointers supported and tested by HW, can't be dereferenced outside the CS stored inside them | ||
+ | |||
+ | === Tagging === | ||
+ | * All RAM and registers is tagged, so ALU knows which type it's operating on and pointer cannot be created freely | ||
+ | * Types: int, uint, float in 4, 8 ... 64 bit lengths fit in vector 64-bit long; Fat pointer, Ultra fat pointer | ||
+ | |||
+ | ==== Electronic Circuit Design ==== | ||
+ | |||
+ | ==== Integrated Circuit Design ==== | ||
+ | |||
+ | ==== Tooling ==== | ||
+ | |||
+ | ==== Miscellaneous ==== | ||
+ | === Things to read === | ||
+ | == Optimizations == | ||
+ | - Compressed pointers: https:// | ||
+ | |||
+ | - Read barriers pro concurent scavenger: https:// | ||
+ | |||
+ | - Chinual: https:// | ||
+ | |||
+ | - https:// | ||
+ | ===== Current Progress ===== | ||
+ | |||
+ | ==== Tooling ==== | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | {{: | ||
+ | |||
+ | As a proof-of-concept an assembly language compiler and IDE support was implemented for a very simple Harvard architecture 8-bit CPU. A graphical emulator for the same simple CPU was created as well. The aim of these tooling efforts is to provide a unified framework for creating custom instruction sets including their assemblers and emulators. | ||
+ | |||
+ | <WRAP clear></ | ||
+ | |||
+ | ~~META: | ||
+ | status = active | ||
+ | & | ||
+ | ~~ | ||
+ | |||
+ | |||