{"id":37298521,"url":"https://github.com/cucapra/dahlia","last_synced_at":"2026-01-17T03:01:41.381Z","repository":{"id":36982363,"uuid":"134476533","full_name":"cucapra/dahlia","owner":"cucapra","description":"Time-sensitive affine types for predictable hardware generation","archived":false,"fork":false,"pushed_at":"2025-10-31T19:12:38.000Z","size":5892,"stargazers_count":146,"open_issues_count":29,"forks_count":10,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-10-31T21:09:22.684Z","etag":null,"topics":["dahlia","fpga-programming","high-level-synthesis","open-source-hardware"],"latest_commit_sha":null,"homepage":"https://capra.cs.cornell.edu/dahlia","language":"Scala","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cucapra.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2018-05-22T21:12:30.000Z","updated_at":"2025-10-29T01:49:26.000Z","dependencies_parsed_at":"2025-08-27T20:11:00.015Z","dependency_job_id":"4828647f-e6ba-4e36-8eef-70d8b1fda2d4","html_url":"https://github.com/cucapra/dahlia","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/cucapra/dahlia","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cucapra%2Fdahlia","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cucapra%2Fdahlia/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cucapra%2Fdahlia/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cucapra%2Fdahlia/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cucapra","download_url":"https://codeload.github.com/cucapra/dahlia/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cucapra%2Fdahlia/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28492593,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T02:39:23.645Z","status":"ssl_error","status_checked_at":"2026-01-17T02:34:19.649Z","response_time":85,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["dahlia","fpga-programming","high-level-synthesis","open-source-hardware"],"created_at":"2026-01-16T02:42:33.092Z","updated_at":"2026-01-17T03:01:41.345Z","avatar_url":"https://github.com/cucapra.png","language":"Scala","readme":"\u003ch1\u003e\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"./website/static/img/dahlia-logo.png\" width=\"120\"\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\nThe Dahlia Programming Language\n\u003c/p\u003e\n\u003c/h1\u003e\n\nDahlia is a programming language for designing hardware accelerators.  It\nprovides abstractions that guarantee predictable hardware generation after type\nchecking. For more details, see [the demo][demo] and [the documentation][docs].\n\nFuse is the reference compiler for compiling Dahlia programs to various HLS\nbackends. Vivado HLS is the only currently supported backend.\n\n[docs]: https://capra.cs.cornell.edu/fuse\n[demo]: https://capra.cs.cornell.edu/dahlia\n\n## Set It Up\n\nThe compiler is written in [Scala][].\nTo get things running, you will need a Java runtime, Scala itself, and [sbt][].\nHere's what you need to do:\n\n- Get Java if you don't already have it.\n  - For MAC OS: `brew install --cask temurin`.\n  - **NOTE**: The default adoptopenjdk (Java 13) version does not work with SBT.\n- Install Scala and sbt. On macOS, use `brew install scala sbt`.\n- Install [Runt][] to run integration tests:\n  ```\n  cargo install runt \\\n    --version \"$(grep ver runt.toml | awk '{print $3}' | tr -d \"'\")\"\n  ```\n\n- Now you can compile the compiler by typing `sbt assembly`.\n- Use `sbt test` to run the tests\n- Use `runt` to run the integration tests from the repository root.\n\n[scala]: https://www.scala-lang.org/\n[sbt]: https://scala-sbt.org\n[homebrew]: https://brew.sh\n[fat jar]: https://stackoverflow.com/questions/19150811/what-is-a-fat-jar\n[runt]: https://github.com/rachitnigam/runt\n\n## Compiler development\n\nIf you're working on the compiler, you probably want to use the sbt console instead (it's faster for repeated builds).\nRun `sbt` alone to get the console, where you can type commands like `compile`, `test`, and `run [args]`.\n\nAdding the prefix `~` (such as `~compile`) makes `sbt` go into watch mode, i.e., it will re-run the command every time a dependency changes. Use `~assembly` to continously update `./fuse` or `~test` to continously test the changes.\n\nIf you want to execute a sequence of `sbt` commands without starting `sbt` console, you can type `sbt \"; cmd1; cm2 ...\"`. For example, `sbt \"; test; assembly\"` will run `sbt test` followed by `sbt assembly`.\n\n## Use It\n\nType `sbt assembly` to package up a [fat jar][] for command-line use.\nThe short `fuse` shell script here invokes the built jar to run the compiler.\nTo compile a simple test, for example, run:\n\n    $ ./fuse ./file-tests/should-compile/matadd.fuse\n\nThe compiler produces HLS C source code on its standard output.\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"./website/static/img/dahlia-compiler.svg\"\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n  \u003cb\u003eCompiler Infrastructure\u003c/b\u003e\n\u003c/p\u003e\n\n\n### Source\n\nBecause of how Docusaurus is structured, the website is stored in the `website/`\ndirectory and the documentation files are stored in `docs/`.\n\n### Building\n\nWe use github pages to deploy the page. Read the README under `website/` for\ninstructions.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcucapra%2Fdahlia","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcucapra%2Fdahlia","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcucapra%2Fdahlia/lists"}