The Linux Foundation has launched a new initiative — CHIPS Alliance. As part of this project, the organization will develop an open-source RISC-V command system and technologies for creating processors based on it. Let's take a closer look at what's happening in this area.
/ фото
Why CHIPS Alliance Was Established
Patches protecting against Meltdown and Spectre sometimes by up to 50%. At the same time, new variants of vulnerabilities related to speculative execution continue to emerge. One of them — cybersecurity experts dubbed it Spoiler. This situation affects the need to reassess existing hardware solutions and approaches to their development. In particular, Intel a new architecture for its processors that is immune to Meltdown and Spectre.
The Linux Foundation has also joined the effort. The organization has launched its own initiative—CHIPS Alliance—whose participants will focus on developing processors based on RISC-V.
What Projects Are Already Being Developed
The list of CHIPS Alliance participants includes Google, Western Digital (WD), and SiFive. Each of them has introduced their own developments. Let's discuss some of them.
RISCV-DV
The search giant has released an open-source platform for testing processors based on RISC-V. The solution randomly commands that test the functionality of the device: it tests transition processes, the call stack, -registers, and more.
For example, , responsible for conducting a simple arithmetic instruction test:
class riscv_arithmetic_basic_test extends riscv_instr_base_test;
`uvm_component_utils(riscv_arithmetic_basic_test)
`uvm_component_new
virtual function void randomize_cfg();
cfg.instr_cnt = 10000;
cfg.num_of_sub_program = 0;
cfg.no_fence = 1;
cfg.no_data_page = 1'b1;
cfg.no_branch_jump = 1'b1;
`DV_CHECK_RANDOMIZE_WITH_FATAL(cfg,
init_privileged_mode == MACHINE_MODE;
max_nested_loop == 0;)
`uvm_info(`gfn, $sformatf("riscv_instr_gen_config is randomized:n%0s",
cfg.sprint()), UVM_LOW)
endfunction
endclass
According to For developers, the platform stands out from its counterparts by allowing thorough testing of all components of the chip, including the memory block.
OmniXtend Protocol
This is a network protocol from WD that ensures cache coherence when transferring data over Ethernet. allows direct communication with the processor cache and is used to connect various accelerators: GPU or FPGA. It is also suitable for building multi-chip RISC-V based systems.
The protocol is already supported , which are aimed at data processing in data centers. SweRV is a 32-bit dual-issue superscalar processor built using a 28-nanometer process technology. Each pipeline has nine stages, enabling multiple instructions to be loaded and executed simultaneously. The device operates at a frequency of 1.8 GHz.
Rocket Chip generator
is a solution from SiFive, founded by the developers of RISC-V technology. is a generator of RISC-V processor cores in Chisel language. It is a set of parameterized libraries used to create .
As for , which is a hardware description language based on Scala. It generates low-level Verilog code that is processed on ASICs and FPGAs. Thus, it enables the use of OOP principles in development .
Prospects of the alliance
Experts say that the Linux Foundation initiative will make the processor market more democratic and open to new players. IDC noted , that the growing popularity of such projects will positively impact the development of machine learning technologies and AI systems as a whole.

/ фото PD
The development of open source processors will also lower the cost of designing custom chips. However, this will only occur if the Linux Foundation community can attract a sufficient number of developers.
Similar projects
Other organizations are also developing projects related to open hardware. An example is the CXL consortium, which introduced the Compute Express Link standard in mid-March. This technology is analogous to OmniXtend and also connects CPU, GPU, and FPGA. The standard uses the PCIe 5.0 bus for data transfer.
Another project focusing on processor technology development is MIPS Open, which emerged in December 2018. The initiative was created by the startup Wave Computing. The developers plan to access to the latest 32-bit and 64-bit MIPS instruction sets for the IT community. The project is set to launch in the coming months.
Overall, the open source approach is becoming widely accepted not only for software but also for hardware. Such projects are supported by major companies. Therefore, we can expect that in the near future, more devices based on open hardware standards will appear in the market.
Recent posts from our corporate blog:
Posts from our Telegram channel:
Source: habr.com
