feat(L04): add RV32I decoder and register file card

This commit is contained in:
user
2026-07-21 16:54:03 +02:00
commit ecd7adc0ae
42 changed files with 7255 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
#!/usr/bin/env sh
set -eu
script_dir=$(CDPATH= cd "$(dirname "$0")" && pwd)
repo_root=$(CDPATH= cd "$script_dir/.." && pwd)
if [ -n "${CARD_LAYOUTS_ROOT:-}" ]; then
layouts_root=$CARD_LAYOUTS_ROOT
else
layouts_root=$repo_root/../../../tools/card-layouts
fi
renderer=$layouts_root/tools/render_card.py
if [ ! -f "$renderer" ]; then
echo "Nie znaleziono generatora card-layouts: $renderer" >&2
echo "Ustaw CARD_LAYOUTS_ROOT na checkout edu-tools/card-layouts." >&2
exit 1
fi
exec python3 "$renderer" "$repo_root" "$@"