{"id":17835041,"url":"https://github.com/carlosedp/chisel-bleep-template","last_synced_at":"2025-04-02T12:44:23.305Z","repository":{"id":185097680,"uuid":"672992669","full_name":"carlosedp/chisel-bleep-template","owner":"carlosedp","description":"A Chisel HDL template using Scala Bleep build tool","archived":false,"fork":false,"pushed_at":"2023-08-02T14:42:56.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-08T03:47:16.936Z","etag":null,"topics":["bleep","chisel","fpga","hdl","rtl","scala"],"latest_commit_sha":null,"homepage":"","language":"Scala","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/carlosedp.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,"publiccode":null,"codemeta":null}},"created_at":"2023-07-31T16:11:07.000Z","updated_at":"2023-07-31T16:14:36.000Z","dependencies_parsed_at":"2024-10-27T20:37:57.009Z","dependency_job_id":"9aa96582-ebf8-4db9-93e3-031424a1c538","html_url":"https://github.com/carlosedp/chisel-bleep-template","commit_stats":null,"previous_names":["carlosedp/chisel-bleep-template"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carlosedp%2Fchisel-bleep-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carlosedp%2Fchisel-bleep-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carlosedp%2Fchisel-bleep-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carlosedp%2Fchisel-bleep-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/carlosedp","download_url":"https://codeload.github.com/carlosedp/chisel-bleep-template/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246819750,"owners_count":20839094,"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":["bleep","chisel","fpga","hdl","rtl","scala"],"created_at":"2024-10-27T20:16:20.097Z","updated_at":"2025-04-02T12:44:23.282Z","avatar_url":"https://github.com/carlosedp.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Scala CI](https://github.com/carlosedp/chisel-bleep-template/actions/workflows/scala.yml/badge.svg)](https://github.com/carlosedp/chisel-bleep-template/actions/workflows/scala.yml)\n\nThis is a template project to demonstrate [Chisel](https://www.chisel-lang.org/) functionality using the the Scala [Bleep](https://bleep.build) build tool.\n\nThe project includes a simple module (to be replaced with your design) and also have a test spec written with the [scalatest](https://www.scalatest.org/) and [chiseltest](https://github.com/ucb-bar/chiseltest) frameworks. The repository also have a GitHub Action to run automated tests on main branch and PRs.\n\nChisel Learning Resources:\n\n- [Chisel Book](https://github.com/schoeberl/chisel-book)\n- [Chisel Documentation](https://www.chisel-lang.org/chisel3/)\n- [Chisel API](https://www.chisel-lang.org/api/latest/chisel3/index.html)\n\nSoftware requirements:\n\n- Bleep build tool\n- Firtool, the Chisel Firttl compiler\n\n- Verilator (as an option for simulation) - Optional\n- GTKWave (to visualize VCD files) - Optional\n\n## Installing the Requirements\n\nI recommend [using Coursier](https://get-coursier.io/docs/cli-installation#native-launcher) to manage all installation tooling related to Scala as it will download a Java SDK and the build tool:\n\nOn Windows, download and install using the [Windows Installer](https://github.com/coursier/launchers/raw/master/cs-x86_64-pc-win32.zip).\n\n```sh\n# For Linux\ncurl -fL \"https://github.com/coursier/launchers/raw/master/cs-x86_64-pc-linux.gz\" | gzip -d \u003e cs\n# For MacOS\ncurl -fL https://github.com/coursier/launchers/raw/master/cs-x86_64-apple-darwin.gz | gzip -d \u003e cs\n\nchmod +x cs\n./cs setup\n\n# Install Bleep build tool:\ncs install --channel https://raw.githubusercontent.com/oyvindberg/bleep/master/coursier-channel.json bleep\n```\n\nThen install Chisel Firtool that compiles the generated code to SystemVerilog from \u003chttps://github.com/llvm/circt/releases/latest\u003e, downloading the binary for your platform and adding it to the $PATH.\n\n```sh\n# For MacOS:\ncurl -sL https://github.com/llvm/circt/releases/download/firtool-1.48.0/firrtl-bin-macos-x64.tar.gz | tar xvz\n# For Linux\ncurl -sL https://github.com/llvm/circt/releases/download/firtool-1.48.0/firrtl-bin-linux-x64.tar.gz | tar xvz\n# Export path\nexport PATH=./firtool-1.48.0/bin:$PATH\n```\n\n## Generating SystemVerilog\n\nSystemVerilog code can be generated from Chisel by using the build tool.\n\n```sh\nbleep run toplevel\n```\n\nThe output verilog files are generated in the `./generated` directory.\n\nRunning tests can be done with:\n\n```sh\nbleep test\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcarlosedp%2Fchisel-bleep-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcarlosedp%2Fchisel-bleep-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcarlosedp%2Fchisel-bleep-template/lists"}