Commit Graph

19 Commits

Author SHA1 Message Date
J. Wang a7b5ddcb77
fix(nproc): Add $NPROC for macOS (#67)
* fix(nproc): Add $NPROC for macOS

* update(verilator): Upgrade verilator version to 5.020
2025-11-10 08:55:01 +08:00
Makiras 82ff87768f
[feat] add ci tests and workflow optimization
chore(ci,test,build): add CI/tests for GSIM, .sv and Java; xcomm fallback; test preflight
- CI: install default-jdk for Java tests
- Tests: add GSIM export smoke, .sv verilator build, Java export
- test/Makefile: add preflight to auto-clean + rebuild with python+java when missing
- Build: Makefile init falls back to latest master for xcomm when branch missing
- Wire new tests into default test targets
- Run build-and-test and appimage-build on all branches
- Restrict appimage-publish and docker-build-push to master
- Reuse build directory via artifact between jobs to avoid rebuilds
- Fix deps: install swig in CI and AppImage job
- Makefile appimage target reuses existing build/ for install & packing
- Remove standalone AppImage/docker workflows to prevent duplicate runs
- build-and-test: install base toolchain and Kitware CMake
- Build and install SWIG v4.2.1 from source
- Build and install Verilator v5.018 from source
- appimage-build: reuse build/ artifact; minimal deps (appimagetool, linuxdeploy)
- Keep: appimage-build on all branches; publish/docker only on master
- 在 test/Makefile 中让 smoke、sv_build、gsim_smoke 依赖 preflight
- 避免 preflight 执行 clean/rebuild 时其他并发目标找不到构建产物
- preflight 完成后仍保留测试阶段的并行度
2025-09-03 14:24:53 +08:00
Makiras ba5127bd4b
add new feat: appimage (#43)
* [fix] performance analysis and internal signal config

* add dockerfile and ci builder

* [feat] add appimage building process, basic cpp support

* [fix] appimage multi-language support, appimage mode detection

* [feat] integrate verible-verilog-syntax in appiamge, fix dynamic lib search priority

* try ci appimages

* [fix] cmake CMP0171 for codegen keyword

* [fix] cmake CMP0171 for codegen keyword

* [fix] cmake CMP0171 for codegen keyword

* [fix] cmake CMP0171 for codegen keyword

* [fix] cmake CMP0171 for codegen keyword

* [fix] arm64 autobuild

* [fix] arm64 autobuild

* [fix] tag right release

* [fix] format and typos

* [fix] typo explaination should be corrected to 'explanation'

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-08 16:04:14 +08:00
yaozhicheng 3358b79b82 python: keep example.py in result 2024-11-19 12:44:33 +08:00
yaozhicheng 01706450d2 pyhon: mv module files to tdir 2024-11-18 18:06:50 +08:00
yaozhicheng 325ecd0269 pyton: touch __init__.py in output dir 2024-09-19 15:27:18 +08:00
yaozhicheng 7358d986b7 refine: default purge DUT 2024-08-27 16:34:48 +08:00
yaozhicheng ff7e1b984f refine: del exec __init__ 2024-07-29 16:17:04 +08:00
yaozhicheng ed1bd11e4a add option --cp_lib 2024-07-29 05:46:49 +00:00
Makiras 98d467d317 optimize argc and argv passage, auto detect whether the argv[0] is filename or args 2024-07-25 06:58:51 +00:00
yaozhicheng 772cd9efe8 uniform mk 2024-07-17 10:34:01 +08:00
yaozhicheng c716808fd2 clean up workspace 2024-07-17 10:34:01 +08:00
yaozhicheng f83be8ae7f mute output 2024-06-25 19:48:07 +08:00
Makiras f61a0118b1 fix: verilator failed to dump wave in python, optimize example 2024-03-19 06:32:14 +00:00
Miical efc0a13f3d add python test after generation 2024-01-16 02:06:48 +00:00
Miical c5a10f42b6 modify the Python template, add XPin, and package the generated Python code as a Python package. 2023-12-26 11:19:24 +08:00
Makiras e900e948c3 workaround with LDPRELOAD for VCS 2023-12-14 09:09:52 +00:00
Makiras 8705b0bf10 workaround optimize python lib install, add XDATA c-function-pointer support for python swig 2023-12-14 08:20:31 +00:00
Makiras 81b5521004 [wip] for python 2023-12-14 06:34:58 +00:00