{"id":13996067,"url":"https://github.com/JulianKemmerer/PipelineC-Graphics","last_synced_at":"2025-07-22T23:30:46.168Z","repository":{"id":41404278,"uuid":"426420528","full_name":"JulianKemmerer/PipelineC-Graphics","owner":"JulianKemmerer","description":"Graphics demos","archived":false,"fork":false,"pushed_at":"2024-03-22T15:22:47.000Z","size":5515,"stargazers_count":96,"open_issues_count":2,"forks_count":9,"subscribers_count":7,"default_branch":"main","last_synced_at":"2024-08-10T14:22:26.137Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Verilog","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JulianKemmerer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2021-11-09T23:34:23.000Z","updated_at":"2024-06-19T20:02:25.000Z","dependencies_parsed_at":"2023-02-15T20:00:56.359Z","dependency_job_id":"983216b4-82a3-4480-a5af-46e0ef8ceb9d","html_url":"https://github.com/JulianKemmerer/PipelineC-Graphics","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JulianKemmerer%2FPipelineC-Graphics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JulianKemmerer%2FPipelineC-Graphics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JulianKemmerer%2FPipelineC-Graphics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JulianKemmerer%2FPipelineC-Graphics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JulianKemmerer","download_url":"https://codeload.github.com/JulianKemmerer/PipelineC-Graphics/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227190710,"owners_count":17745302,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-09T14:03:47.776Z","updated_at":"2024-11-29T18:31:44.982Z","avatar_url":"https://github.com/JulianKemmerer.png","language":"Verilog","funding_links":[],"categories":["Verilog"],"sub_categories":[],"readme":"# PipelineC-Graphics\n\nGraphics demos implemented using [PipelineC](https://github.com/JulianKemmerer/PipelineC).\n\nThis primarily consists of a ray tracing demo created using [CflexHDL](https://github.com/suarezvictor/CflexHDL) C++ code.\n\nWork contained in these repositories is experimental and in active development. Please [report any issues](https://github.com/JulianKemmerer/PipelineC-Graphics/issues) that are encountered.\n\n# Sphery vs. Shapes:\n\nA fully working interactive raytraced game written in C and translated to a circuit. No CPU is used, and the few resources used run at an outstanding power efficiency. Check out a [demo video](https://youtu.be/hn3sr3VMJQU) of gameplay on real hardware!\n![image](https://user-images.githubusercontent.com/8551129/197263472-bcde79f4-2efe-42c0-ae0b-16fe6aaf9331.png)\n\nA detailed article describing this work is [here](https://github.com/JulianKemmerer/PipelineC-Graphics/blob/main/doc/Sphery-vs-Shapes.pdf)\n\n# Install\n\n* Install clang 14\n  ```\n  wget https://apt.llvm.org/llvm.sh\n  chmod +x llvm.sh\n  sudo ./llvm.sh 14\n  # Copy/link specific .so file to generic .so to avoid missing .so file error\n  sudo cp /usr/lib/x86_64-linux-gnu/libclang-14.so.14.0.6 /usr/lib/x86_64-linux-gnu/libclang-14.so\n  ```\n* Install sdl2 lib, OpenMP, Un-If-Def Tool\n  ```\n  sudo apt install libsdl2-dev\n  sudo apt install libomp-dev\n  sudo apt install unifdef\n  ```\n* Clone repos adjacent to each other in one dir\n  ```\n  git clone https://github.com/JulianKemmerer/PipelineC-Graphics\n  git clone https://github.com/suarezvictor/CflexHDL\n  git clone https://github.com/JulianKemmerer/PipelineC\n  ```\n* Install open source EDA tools\n  * https://github.com/YosysHQ/oss-cad-suite-build/releases\n  ```\n  export PATH=\"\u003cextracted_location\u003e/oss-cad-suite/bin:$PATH\"\n  ```\n* Make CFlexHDL cflexparser\n  ```\n  cd CflexHDL/cflexparser\n  make\n  # may need to add '-fno-lto' to makefile to avoid\n  #   fatal error: bytecode stream in file libpython3.8.a generated with LTO version 6.0 instead of the expected 8.1\n  ```\n* Install [Litex](https://github.com/enjoy-digital/litex/wiki/Installation)\n  * `TODO` more info...\n\n\n# Building\n\nBoards supported are the [Digilent Arty-100T](https://digilent.com/reference/programmable-logic/arty-a7/start) and the [OrangeCrab 85F v0.2](https://1bitsquared.com/products/orangecrab).\u003cbr\u003e\n\u003cbr\u003e\nFor the Arty: `make clean BOARD=digilent_arty FRAME_WIDTH=1920 FRAME_HEIGHT=1080 load`\u003cbr\u003e\nFor the OrangeCrab: `make clean BOARD=gsd_orangecrab load` (default 640x480 resolution, uses open source toolchain for synthesis)\u003cbr\u003e\nYou need to select `DVI=True` or `DVI=False` in [litex_soc.py](https://github.com/JulianKemmerer/PipelineC-Graphics/blob/main/litex_soc.py#L19) to output digital video or analog video with a VGA PMOD\u003cbr\u003e\n\u003cbr\u003e\nFull pipelining can take some hours, for faster processing you can try simulation options like `make sim`, `make gen`, or `make verilator`\n# Contact\n\nSocial Media: \n[@pipelinec_hdl](https://fosstodon.org/@pipelinec) \n[@suarezvictor](https://twitter.com/suarezvictor)\n\nTalk on Discord:\n* [Sphery vs. Shapes](https://discord.gg/cGfAt4HpJW)\n* [PipelineC](https://discord.gg/Aupm3DDrK2)\n* [Digital Design HQ](https://discord.gg/pY2wJvnCMY)\n  * `#hdl-other`\n  * `#project-chat`\n  * `#fpga`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJulianKemmerer%2FPipelineC-Graphics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FJulianKemmerer%2FPipelineC-Graphics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJulianKemmerer%2FPipelineC-Graphics/lists"}