{"id":22661650,"url":"https://github.com/wpmed92/tinymaix-riscyd2","last_synced_at":"2025-07-03T13:34:02.710Z","repository":{"id":154121599,"uuid":"584388725","full_name":"wpmed92/TinyMaix-RiscyD2","owner":"wpmed92","description":"Porting of Sipeed's TinyMaix inference library to RiscyD2","archived":false,"fork":false,"pushed_at":"2023-01-02T16:34:05.000Z","size":34827,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-06-27T23:36:00.805Z","etag":null,"topics":["c","hardware","microcontroller","neural-network"],"latest_commit_sha":null,"homepage":"","language":"C","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/wpmed92.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-01-02T12:33:34.000Z","updated_at":"2023-09-13T11:49:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"e8890e57-a2ac-4d02-bb71-7638eaf9e644","html_url":"https://github.com/wpmed92/TinyMaix-RiscyD2","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wpmed92/TinyMaix-RiscyD2","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpmed92%2FTinyMaix-RiscyD2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpmed92%2FTinyMaix-RiscyD2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpmed92%2FTinyMaix-RiscyD2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpmed92%2FTinyMaix-RiscyD2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wpmed92","download_url":"https://codeload.github.com/wpmed92/TinyMaix-RiscyD2/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpmed92%2FTinyMaix-RiscyD2/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263335664,"owners_count":23450904,"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":["c","hardware","microcontroller","neural-network"],"created_at":"2024-12-09T11:18:58.223Z","updated_at":"2025-07-03T13:34:02.702Z","avatar_url":"https://github.com/wpmed92.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Port TinyMaix to RiscyD2\n\n## Chip\n\n| Item         | Parameter          |\n| ------------ | -------------------|\n| Chip         | RiscyD2 (softcore) |\n| Arch         | RV32IM             |\n| Freq         | 100M               |\n| Flash        | 48KB               |\n| RAM          | 8KB                |\n\n## Board \n\nDigilent Arty-A7 (with XC7A35TICSG324-1L FPGA)\n\n## Development Environment\n\n* GCC (riscv64-unknown-elf-gcc)\n* Picolibc\n* riscyd2.h\n* Vivado\n\n## Step/Project\n\n1. Build the [core](https://github.com/wpmed92/RiscyD2) and load it to the board\n2. Compile the program\n3. Load it to the board using [talk2d2.py](https://github.com/wpmed92/RiscyD2/blob/main/tools/talk2d2.py)\n4. Listen to the incoming data from the board using [listen2d2.py](https://github.com/wpmed92/RiscyD2/blob/main/tools/listen2d2.py)\n\nMinor modifications in `tm_port.h`:\n* `printf` is not used in favor of uart based printing (macro defined in `main.c`)\n* `TM_GET_US` is not used in favor of cycles based time measurement (defined in `riscyd2.h`)\n\nhttps://github.com/wpmed92/TinyMaix-RiscyD2\n\n## Result\n\n| config | mnist | Note |\n| ------ | ----- | ---- |\n| O0 CPU | 18    |      |\n| O1 CPU | 12    |      |\n\n\n## Author\n\n[wpmed92](https://github.com/wpmed92)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwpmed92%2Ftinymaix-riscyd2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwpmed92%2Ftinymaix-riscyd2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwpmed92%2Ftinymaix-riscyd2/lists"}