{"id":17922274,"url":"https://github.com/kulp/lemta","last_synced_at":"2025-10-09T21:13:39.852Z","repository":{"id":48772345,"uuid":"154441214","full_name":"kulp/lemta","owner":"kulp","description":"Clean-room reverse-engineering of Atmel simulator libraries from http://packs.download.atmel.com","archived":false,"fork":false,"pushed_at":"2021-07-12T20:16:18.000Z","size":279,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-09T00:19:47.560Z","etag":null,"topics":["atmel","avr","microcontroller","simulator"],"latest_commit_sha":null,"homepage":"","language":"Lua","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kulp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-10-24T04:54:37.000Z","updated_at":"2021-07-12T20:16:18.000Z","dependencies_parsed_at":"2022-08-26T20:20:24.028Z","dependency_job_id":null,"html_url":"https://github.com/kulp/lemta","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/kulp%2Flemta","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kulp%2Flemta/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kulp%2Flemta/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kulp%2Flemta/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kulp","download_url":"https://codeload.github.com/kulp/lemta/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246989501,"owners_count":20865306,"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":["atmel","avr","microcontroller","simulator"],"created_at":"2024-10-28T20:38:28.873Z","updated_at":"2025-10-09T21:13:39.715Z","avatar_url":"https://github.com/kulp.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Goal\nThis project seeks to derive, by good-faith clean-room reverse-engineering\ntechniques, sufficient interface definitions and library code to support the\ndevelopment of [FOSS](http://freeopensourcesoftware.org) simulation tools that\nuse [packs](https://www.keil.com/pack/doc/CMSIS/Pack/html/packFormat.html) from\n[Atmel / Microchip](http://packs.download.atmel.com).\n\n## Non-goal\nWhile these pack files include compiled GNU/Linux-compatible shared libraries\nwhich in some cases contain Verilog models converted to C++ using\n[Verilator](https://www.veripool.org/wiki/verilator), no attempt is made to\nreverse-engineer the underlying hardware description. Instead, the intent is\nto provide header and library files sufficient to `dlopen()` the library and\nusefully call its public interfaces (i.e. whatever interfaces the Atmel\nsimulator needs to use in order to provide its simulation functionality).\n\n# Status\nAs of this writing, the project consists essentially of the partially-inferred\ninterface heaers in `include/` and a few testbench programs in `test/`. Run\n`make -C test check` from the top level to run self-tests. The test suite is\nrun as [a \"build\" on GitHub Actions][1]: ![CI Status][2]\n\nA primordial [LuaJIT](http://luajit.org)-based interface is present in `lua/`.\nLuaJIT (as opposed to [Lua](http://www.lua.org)) is specifically required\nbecause [LuaJIT's FFI library](http://luajit.org/ext_ffi.html) is used heavily.\n\n# Requirements\nThe interface header files in `include/` were derived on a GNU/Linux-compatible\nsystem and may require such a system to function, although in theory they\nshould be portable to Windows (since the manufacturer supplies Windows DLLs as\nwell).\n\nThe testbenches use [CastXML](https://github.com/CastXML/CastXML) and\n[xmllint](http://xmlsoft.org/xmllint.html) to extract information from the\ninferred interface headers.\n\n[1]: https://github.com/kulp/lemta/actions/workflows/simple.yaml\n[2]: https://github.com/kulp/lemta/actions/workflows/simple.yaml/badge.svg\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkulp%2Flemta","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkulp%2Flemta","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkulp%2Flemta/lists"}