{"id":21833470,"url":"https://github.com/cbiffle/cfm","last_synced_at":"2025-06-15T17:38:38.383Z","repository":{"id":39034428,"uuid":"117005444","full_name":"cbiffle/cfm","owner":"cbiffle","description":"A 16-bit CPU and self-hosting Forth system for the Lattice ICE40 FPGA, written in Haskell.","archived":false,"fork":false,"pushed_at":"2021-05-26T15:27:01.000Z","size":819,"stargazers_count":56,"open_issues_count":1,"forks_count":7,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-11T06:42:06.025Z","etag":null,"topics":["embedded","forth","fpga","hardware","haskell"],"latest_commit_sha":null,"homepage":"","language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cbiffle.png","metadata":{"files":{"readme":"README.mkdn","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}},"created_at":"2018-01-10T20:10:20.000Z","updated_at":"2025-03-28T01:23:30.000Z","dependencies_parsed_at":"2022-08-29T08:40:56.008Z","dependency_job_id":null,"html_url":"https://github.com/cbiffle/cfm","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/cbiffle%2Fcfm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbiffle%2Fcfm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbiffle%2Fcfm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbiffle%2Fcfm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cbiffle","download_url":"https://codeload.github.com/cbiffle/cfm/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248842138,"owners_count":21170306,"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":["embedded","forth","fpga","hardware","haskell"],"created_at":"2024-11-27T19:31:25.411Z","updated_at":"2025-04-14T07:42:01.636Z","avatar_url":"https://github.com/cbiffle.png","language":"Haskell","readme":"CFM: the Cliffle Forth Machine\n==============================\n\nThis is a Forth-inspired processor targeting the Lattice ICE40 FPGA series,\nprimarily targeting the Icoboard.\n\nThe CFM core is designed for high performance (40+ MHz) on the ICE40 HX grade\nparts. It is written in Haskell and synthesized using [Clash]. Because the\nHaskell expression of the circuit is directly executable, we also have a\ncycle-accurate emulator \"for free.\"\n\nThe distribution includes BsForth, a non-ANS Forth implementation that can\nprovide a bare-bones interactive development environment with optimizing\ncompiler in less than 5 kiB. It's interesting in the way that it bootstraps\n(using the cycle-accurate emulator) and for its machine instruction fusion\nalgorithm.\n\nMore reading:\n\n- [Docs on the instruction set and programmer's model](doc/core.mkdn)\n- [The interrupt model](doc/interrupts.mkdn)\n- [The Icoboard demo](doc/icoboard.mkdn)\n- [The Icestick demo](doc/icestick.mkdn)\n- [Self-hosting](doc/self-hosting.mkdn): how to recompile BsForth from within\n  BsForth, without using a separate computer.\n\n[Clash]: www.clash-lang.org\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcbiffle%2Fcfm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcbiffle%2Fcfm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcbiffle%2Fcfm/lists"}