No description
  • Makefile 87%
  • VHDL 7%
  • Python 4.2%
  • Scheme 1.5%
  • Shell 0.2%
  • Other 0.1%
Find a file
2025-10-10 17:18:32 +02:00
.builds Activate cocotb tests 2025-10-10 17:18:32 +02:00
sim update 2025-10-09 17:32:43 +02:00
src update 2025-10-09 17:32:43 +02:00
.dir-locals.el Merge branch 'master' into test 2025-10-09 17:35:41 +02:00
.envrc update elecs channel: use osvvm env variables in profile 2024-11-06 15:01:02 +01:00
.gitignore run testbench 2024-11-05 21:15:35 +01:00
LICENSE update 2025-10-09 17:29:22 +02:00
prj.el simulation_flags in prj file 2024-12-04 13:46:05 +01:00
README.md update 2025-10-09 17:29:22 +02:00
readme.org update 2025-10-09 17:29:22 +02:00

Alu unit with testbench using osvvm and open-logic.

builds.sr.ht status

Run with:

export PRJ=$PWD

Setup env

. .envrc

Using a guix shell container

cd "$PRJ/.builds"
guix time-machine --channels=channels.scm -- package -p "$GUIX_PROFILE" -m manifest.scm

Build osvvm

cd "$PRJ/_deps"
echo "source $::env(OSVVM)/Scripts/StartGHDL.tcl; include $::env(OSVVM)/osvvm/osvvm.pro; include $::env(OSVVM)/Common/build.pro; include $::env(OSVVM_UART)/UART/build.pro" | tclsh
  1. Run with custom makefile

    cd "$PRJ/.builds/ghdl" make __clean_all __include ./makefile.sh make GHDLRUNFLAGS="--stop-time=4us --disp-time --ieee-asserts=enable" run

  2. Simulate with hdlmake

    cd "$PRJ/.builds/hdlmk/sim.ghdl" hdlmake && make

  3. Synthesis with hdlmake

    cd "$PRJ/.builds/hdlmk/synth.ghdl" hdlmake && make