{"id":21710239,"url":"https://github.com/rhthomas/fpga","last_synced_at":"2026-01-04T14:08:56.514Z","repository":{"id":81147452,"uuid":"133571498","full_name":"rhthomas/fpga","owner":"rhthomas","description":"Experimenting with FPGA open-source toolchains.","archived":false,"fork":false,"pushed_at":"2019-03-28T16:18:16.000Z","size":308,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-25T16:32:01.131Z","etag":null,"topics":["apio","fpga","icestick","icestorm","lattice"],"latest_commit_sha":null,"homepage":null,"language":"Verilog","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rhthomas.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}},"created_at":"2018-05-15T20:46:07.000Z","updated_at":"2019-03-28T16:18:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"5bd06b6b-8393-4893-9fbd-2b8a1dddc361","html_url":"https://github.com/rhthomas/fpga","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/rhthomas%2Ffpga","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhthomas%2Ffpga/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhthomas%2Ffpga/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhthomas%2Ffpga/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rhthomas","download_url":"https://codeload.github.com/rhthomas/fpga/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244666423,"owners_count":20490286,"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":["apio","fpga","icestick","icestorm","lattice"],"created_at":"2024-11-25T23:14:18.714Z","updated_at":"2026-01-04T14:08:56.486Z","avatar_url":"https://github.com/rhthomas.png","language":"Verilog","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fpga\n\nExperimenting with FPGA open-source toolchains.\n\n## Tools\nThe FPGA that is developed on is the [iCEstick](https://www.latticesemi.com/icestick) from Lattice Semiconductor.\n\nThis expands on other FPGA open-source tools such as [icestorm](http://www.clifford.at/icestorm/) and [iverilog](http://iverilog.icarus.com/) among others.\n\nA quick script is used to generate the directory structure for new modules, simply run `perl create.pl \u003cmodule\u003e \u003cproject\u003e` to create a folder with all the necessary files.\nIf the project is the same as the module name (i.e. you're creating a small sub-module) the project field can be omitted.\n\n```\n\u003e perl create.pl module project\nCreating module module files.\n +- module/Makefile\n +- module/module.sv\n +- module/module_tb.sv\n +- module/icestick.pcf\n```\n\n## Builds\n\u003cdetails\u003e\n\t\u003csummary\u003e\u003ca href=\"./adder\"\u003eadder\u003c/a\u003e : Simple adder module.\u003c/summary\u003e\n\t\u003cimg src=\"./adder/adder.svg\"\u003e\n\u003c/details\u003e\n\u003cdetails\u003e\n\t\u003csummary\u003e\u003ca href=\"./count\"\u003ecount\u003c/a\u003e : Binary counter.\u003c/summary\u003e\n\t\u003cimg src=\"./count/count.svg\"\u003e\n\u003c/details\u003e\n\u003cdetails\u003e\n\t\u003csummary\u003e\u003ca href=\"./dance\"\u003edance\u003c/a\u003e : LED pattern display.\u003c/summary\u003e\n\t\u003cimg src=\"./dance/dance.svg\"\u003e\n\u003c/details\u003e\n\n## Requirements\n### IceStorm\n```\ngit clone https://github.com/cliffordwolf/icestorm.git icestorm\ncd icestorm\nmake\nsudo make install\n```\n\n### Arachne-PNR\n```\ngit clone https://github.com/cseed/arachne-pnr.git arachne-pnr\ncd arachne-pnr\nmake\nsudo make install\n```\n\n### Yosys\n```\ngit clone https://github.com/cliffordwolf/yosys.git yosys\ncd yosys\nmake\nsudo make install\n```\n\n### Netlistsvg (RTL netlist diagrams)\nMore information given [here](https://github.com/nturley/netlistsvg).\n```\n(install nodejs)\ngit clone https://github.com/nturley/netlistsvg\ncd netlistsvg\nnpm install -g\n```\n\n### iVerilog (simulations)\n#### macOS\n```\nbrew install icarus-verilog\n```\n\n### Scansion (VCD viewer for macOS)\nDownload [here](http://www.logicpoet.com/scansion/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frhthomas%2Ffpga","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frhthomas%2Ffpga","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frhthomas%2Ffpga/lists"}