1
0
Fork 0
mirror of https://git.sr.ht/~kivikakk/niar synced 2024-12-22 19:22:24 +00:00
Commit graph

59 commits

Author SHA1 Message Date
Asherah Connor 318af1aeb7 style. 2024-07-04 18:19:38 +03:00
Asherah Connor 98ac6138b1 README: link CHANGELOG. 2024-07-04 18:19:09 +03:00
Asherah Connor 3f85a404af CHANGELOG: update. 2024-07-04 18:18:41 +03:00
Asherah Connor e2ffef5cc2 cxxrtl: always force for now. 2024-07-04 18:14:07 +03:00
Asherah Connor 954de5e69d build: fix comments. 2024-07-04 18:13:06 +03:00
Asherah Connor 445d0ed0c1 build: include timing info in output info. 2024-07-04 18:12:27 +03:00
Asherah Connor ef5d43b417 cxxrtl: note. 2024-07-03 19:19:30 +03:00
Asherah Connor a931d328be build: allow adding kwargs to prepare() call. 2024-07-03 19:19:27 +03:00
Asherah Connor 3d32cf809e build: synth depends on .ys as well. 2024-07-03 19:18:39 +03:00
Asherah Connor 289c0e96f9 template: use latest amaranth-yosys, now we can opt! 2024-07-03 16:34:17 +03:00
Asherah Connor 6ff5e58dbf CHANGELOG.md: update. 2024-07-03 13:27:51 +03:00
Asherah Connor 8175fb5d0a build: use IL from plan, not on disk.
We haven't extracted it yet.
2024-07-03 13:26:53 +03:00
Asherah Connor 12dc846334 template: add .pdm-python to .gitignore. 2024-07-02 14:10:29 +03:00
Asherah Connor 7572c3716a template: add lockfile. 2024-07-02 13:09:02 +03:00
Asherah Connor 94bddbd996 setup-action: rely on PDM, document. 2024-07-02 13:08:45 +03:00
Asherah Connor 404601a50a pyproject.toml: depend on upstream amaranth-boards, update lock and amaranth accordingly. 2024-07-02 13:00:10 +03:00
Asherah Connor 4db4fc2509 template: clean up template project. 2024-07-02 12:59:02 +03:00
Asherah Connor db7ca3b5d2 release v0.1.1. 2024-07-02 12:53:53 +03:00
Asherah Connor b57c9a5c25 pyproject.toml: depend on amaranth >= 0.5. 2024-07-02 12:48:02 +03:00
Asherah Connor 2381d6ef41
Merge pull request #1 from kivikakk/pdm
use pdm fully.
2024-07-02 12:42:59 +03:00
Asherah Connor 915b094cdb workflows: install OSS CAD Suite to test synth. 2024-07-02 12:39:16 +03:00
Asherah Connor 1fc3c5697d workflows: .venv/bin/. 2024-07-01 22:42:40 +03:00
Asherah Connor 222151cf55 use pdm fully. 2024-07-01 22:29:36 +03:00
Asherah Connor 596c60287d project: find root by looking for pyproject.toml. 2024-06-29 19:20:54 +03:00
Asherah Connor 6f62b50278 move to src layout. 2024-06-29 19:11:16 +03:00
Asherah Connor dc26ba8c44 cxxrtl: only write "opt" out when actually opt; write "noopt" otherwise. 2024-06-28 17:17:15 +03:00
Asherah Connor 359962b0fe cxxrtl: opt is between RTL and code.
RTL used to mean "-O3 on the CXXRTL-generated .cc". Now it means running
an opt pass in Yosys. Code covers all code: C++ (and Zig if used).
2024-06-28 16:44:13 +03:00
Asherah Connor 34b8c3b3f2 template: use "newproject" name in workflows, and -Onone with cxxrtl.
builtin-yosys doesn't support opt.
2024-06-27 19:53:37 +03:00
Asherah Connor 10d7f867ff README: update. 2024-06-27 19:53:11 +03:00
Asherah Connor 2eede7b1c4 cxxrtl: log runtime. 2024-06-27 19:45:59 +03:00
Asherah Connor f6de8db366 build: build subdir per platform. 2024-06-27 19:45:54 +03:00
Asherah Connor 0ab73b31a6 cxxrtl: put each CXXRTL platform in its own build directory. 2024-06-27 19:37:29 +03:00
Asherah Connor b4eef36627 build: only resynthesise when input RTLIL changes.
Ouch.
2024-06-27 19:26:33 +03:00
Asherah Connor 7aa12417e6 cxxrtl: opt also optimises the design with Yosys.
This has a significant result on sim speed.
2024-06-27 19:12:24 +03:00
Asherah Connor 02e500d295 cxxrtl: fix zig build deps specification. 2024-06-27 18:49:09 +03:00
Asherah Connor 12f3ecd3ce setup-action: install pytest-xdist, use in template. 2024-06-27 18:47:21 +03:00
Asherah Connor dc8c97b368 setup-action: one day I will remember to include shell: bash. 2024-06-27 18:45:32 +03:00
Asherah Connor 81961bba89 setup-action: install client pip deps in our Python. 2024-06-27 18:43:42 +03:00
Asherah Connor c757d4f606 cxxrtl: CXXRTL cc doesn't depend on our headers. 2024-06-27 18:43:27 +03:00
Asherah Connor 46ac1c24e9 cxxrtl: pull in CompilationUnit etc. from Chryse. 2024-06-27 13:59:43 +03:00
Asherah Connor e6cada5f48 cxxrtl: assume Zig build uses cxxrtl_o_path list. 2024-06-16 17:44:58 +03:00
Asherah Connor 5c6700effb template: add workflows. 2024-06-16 17:23:34 +03:00
Asherah Connor 0cdcd952b6 README: capitalise. 2024-06-16 17:21:50 +03:00
Asherah Connor 673a6308eb README: elaborate. 2024-06-16 17:21:24 +03:00
Asherah Connor 2679e43c02 roll template in. 2024-06-16 17:19:44 +03:00
Asherah Connor 3e8126f5a5 setup-action: add option to install OSS CAD Suite. 2024-06-16 13:25:42 +03:00
Asherah Connor fe20bcd6da workflows: use --no-deps to stop the madness. 2024-06-16 13:15:12 +03:00
Asherah Connor 854b29ae56 setup-action: install pytest. 2024-06-16 13:11:28 +03:00
Asherah Connor b7d42f0b00 pyproject.toml: depend on amaranth[builtin-yosys] for CI ease. 2024-06-16 13:04:27 +03:00
Asherah Connor 138039712e setup-action: install as editable in case it hecks with us less. 2024-06-16 13:03:49 +03:00