Skip to content

Commit

Permalink
Verilator for arm,mac and windows (first try)
Browse files Browse the repository at this point in the history
  • Loading branch information
Obijuan committed Oct 14, 2023
1 parent 49bd32f commit acbb2dc
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 3 deletions.
9 changes: 9 additions & 0 deletions scripts/install_darwin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -187,3 +187,12 @@ mkdir -p $PACKAGE_DIR/lib/ivl
cp -r $SOURCE_DIR/lib/ivl/* $PACKAGE_DIR/lib/ivl
install $SOURCE_DIR/lib/libbz* $PACKAGE_DIR/lib

# --------------------------------------
# -- Verilator
# --------------------------------------
install $SOURCE_DIR/bin/verilator $PACKAGE_DIR/bin
install $SOURCE_DIR/bin/verilator_bin $PACKAGE_DIR/bin
install $SOURCE_DIR/libexec/verilator_bin $PACKAGE_DIR/libexec/
mkdir -p $PACKAGE_DIR/share/verilator/include
install $SOURCE_DIR/share/verilator/include/verilated_std.sv $PACKAGE_DIR/share/verilator/include

7 changes: 5 additions & 2 deletions scripts/install_linux_arm64.sh
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,10 @@ install $SOURCE_DIR/lib/libbz2* $PACKAGE_DIR/lib


# --------------------------------------
# -- TODO: verilator
# -- Verilator
# --------------------------------------
install $SOURCE_DIR/bin/verilator $PACKAGE_DIR/bin
install $SOURCE_DIR/libexec/verilator_bin $PACKAGE_DIR/bin
install $SOURCE_DIR/bin/verilator_bin $PACKAGE_DIR/bin
install $SOURCE_DIR/libexec/verilator_bin $PACKAGE_DIR/libexec/
mkdir -p $PACKAGE_DIR/share/verilator/include
install $SOURCE_DIR/share/verilator/include/verilated_std.sv $PACKAGE_DIR/share/verilator/include
6 changes: 5 additions & 1 deletion scripts/install_windows_x64.sh
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,11 @@ install $SOURCE_DIR/lib/libbz2*.dll $PACKAGE_DIR/lib


# --------------------------------------
# -- TODO: verilator
# -- Verilator
# --------------------------------------
install $SOURCE_DIR/bin/verilator $PACKAGE_DIR/bin
install $SOURCE_DIR/bin/verilator_bin.exe $PACKAGE_DIR/bin
install $SOURCE_DIR/libexec/verilator_bin.exe $PACKAGE_DIR/libexec/
mkdir -p $PACKAGE_DIR/share/verilator/include
install $SOURCE_DIR/share/verilator/include/verilated_std.sv $PACKAGE_DIR/share/verilator/include

0 comments on commit acbb2dc

Please sign in to comment.