mc1

所属分类:VHDL/FPGA/Verilog
开发工具:VHDL
文件大小:385KB
下载次数:0
上传日期:2023-03-30 12:59:46
上 传 者sh-1993
说明:  一种基于MRISC32-A1 CPU的计算机(FPGA SoC)
(A computer (FPGA SoC) based on the MRISC32-A1 CPU)

文件列表:
LICENSE (865, 2023-03-30)
docs (0, 2023-03-30)
docs\building.md (2228, 2023-03-30)
docs\mc1-diagram.png (104015, 2023-03-30)
docs\mc1-diagram.svg (55674, 2023-03-30)
docs\mc1-logo.png (4177, 2023-03-30)
docs\mc1-logo.svg (4952, 2023-03-30)
docs\screenshots (0, 2023-03-30)
docs\screenshots\mc1-demo.jpg (73186, 2023-03-30)
docs\screenshots\raytrace.jpg (71841, 2023-03-30)
src (0, 2023-03-30)
src\.clang-format (422, 2023-03-30)
src\mc1-sdk (0, 2023-03-30)
src\mrisc32-a1 (0, 2023-03-30)
src\rom (0, 2023-03-30)
src\rom\Makefile (5301, 2023-03-30)
src\rom\console.hpp (4399, 2023-03-30)
src\rom\crt0.s (4806, 2023-03-30)
src\rom\fp32.hpp (3077, 2023-03-30)
src\rom\link.ld (3097, 2023-03-30)
src\rom\main.cpp (7647, 2023-03-30)
src\rom\media (0, 2023-03-30)
src\rom\media\boot-splash.png (7087, 2023-03-30)
src\rom\media\boot-splash.svg (6277, 2023-03-30)
src\rom\mosaic.hpp (4462, 2023-03-30)
src\rom\out (0, 2023-03-30)
src\rom\rom.vhd.in (2779, 2023-03-30)
src\rom\splash.hpp (5306, 2023-03-30)
src\rom\tools (0, 2023-03-30)
src\rom\tools\raw2vhd.py (1769, 2023-03-30)
src\rtl (0, 2023-03-30)
src\rtl\bit_synchronizer.vhd (4417, 2023-03-30)
src\rtl\de0_cv (0, 2023-03-30)
src\rtl\de0_cv\constraints.sdc (2247, 2023-03-30)
... ...

![MC1 logo](https://github.com/mrisc32/mc1/blob/master/docs/mc1-logo.png) MC1 is a compact computer intended for FPGA:s, based on the [MRISC32-A1](https://github.com/mrisc32/mc1/blob/master/https://github.com/mrisc32/mrisc32-a1) soft microprocessor. The architecture is portable and configurable to fit a wide range of FPGA devices and boards. ## Architecture ![MC1 diagram](https://github.com/mrisc32/mc1/blob/master/docs/mc1-diagram.png) The artchitecture is based around a tightly integrated and flexible video subsystem, which shares memory with the CPU. The shared video RAM (VRAM) has two memory ports - one dedicated to the CPU and one dedicated to the video logic. This enables single-cycle access for both, and the CPU and the video logic can run at different frequencies. ### CPU The CPU is a full MRISC32-A1, with support for floating point and vector operations. Connected to the CPU are on-chip ROM and RAM memories. The ROM holds the boot code (in lack of external flash memory or similar, it contains the entire program/system code). Furthermore, external RAM (such as DRAM or SRAM) can be accessed, provided that a suitable Wishbone compatible memory controller is added (depending on which FPGA board you are targeting). ### Video [![MC1 Demo](https://github.com/mrisc32/mc1/blob/master/docs/screenshots/mc1-demo.jpg)](https://github.com/mrisc32/mc1/blob/master/https://vimeo.com/494653227 "MC1 Demo") The video logic produces 24-bit RGB output and horizontal and vertical sync signals in 1920x1080 (1080p), suitable for VGA, DVI and HDMI interfaces, for instance. One key feature of the video logic is that it has a programmable video control processor that runs in sync with the raster signals, making it possible to get the most out of limited memory resources while offloading the CPU for certain tasks. Examples of things that a video control program can accomplish are: * Control things like the vertical and horizontal resolution and the color mode on a per-line basis. * Control the color palette on a per-line basis. * Vertical and horizontal mirroring. * Vertical and horizontal repeating of patterns. This means that it is possible to mix resolutions and color modes in a single frame, and you can fill the screen with rich colors and high resolution content even with very limited video RAM resources. For more details, see the [MC1 SDK documentation](https://github.com/mrisc32/mc1/blob/master/https://github.com/mrisc32/mc1-sdk). ### I/O Primitive I/O, such as reading buttons and switches and writing to leds and seven-segment displays, is provided as memory mapped I/O (see the [MC1 SDK documentation](https://github.com/mrisc32/mc1/blob/master/https://github.com/mrisc32/mc1-sdk)), directly accessible for the CPU. Keyboard input is provided for boards that have a PS/2 connector, and SD card I/O is provided for boards with an SD card port. ## Operating system No operating system is planned at this point. There will be libraries of helper routined (e.g. for I/O and timing) that can be statically linked to MC1 binaries. The ROM can load a program binary into RAM, and all system control is transfered to the loaded program (so it's essentially a two-stage boot). See: [MC1 SDK documentation](https://github.com/mrisc32/mc1/blob/master/https://github.com/mrisc32/mc1-sdk). ## Planned features The following things are not yet implemented, but planned: * CPU: * Interrupt signals from the video logic (e.g. VSYNC), once interrupt logic has been added to the MRISC32. * Audio: * Some sort of high quality audio DMA, integrated with the video logic (sharing the same RAM read port). * Possibly some sort of waveform synthesis for low RAM systems. * Memory: * Support for off-chip RAM (e.g. DRAM or SRAM) - probably with an on-chip L2 cache. * I/O: * Mouse input. ## Build instructions See: [Building the MC1](https://github.com/mrisc32/mc1/blob/master/docs/building.md).

近期下载者

相关文件


收藏者