Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Moore update #2185

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/sv-tests-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ jobs:
deps: autoconf autotools-dev bison flex libfl-dev gperf
- name: moore
rust_ver: "1.60"
deps: cargo cmake clang
submodules: circt
- name: odin
repo: odin_ii
deps: autoconf autotools-dev bison flex libfl-dev cmake pkg-config
Expand Down
2 changes: 1 addition & 1 deletion third_party/tools/moore
Submodule moore updated 57 files
+12 −0 .github/build-circt.sh
+17 −0 .github/build-llvm.sh
+88 −36 .github/workflows/ci.yml
+3 −0 .gitmodules
+11 −0 CHANGELOG.md
+1 −0 Cargo.toml
+53 −1 README.md
+1 −0 circt
+2 −1 scripts/test.py
+148 −13 src/bin/moore.rs
+12 −0 src/circt-sys/Cargo.toml
+130 −0 src/circt-sys/build.rs
+31 −0 src/circt-sys/src/lib.rs
+32 −0 src/circt-sys/wrapper.cpp
+50 −0 src/circt-sys/wrapper.h
+9 −0 src/circt/Cargo.toml
+24 −0 src/circt/src/builtin.rs
+134 −0 src/circt/src/comb.rs
+205 −0 src/circt/src/hw.rs
+118 −0 src/circt/src/lib.rs
+569 −0 src/circt/src/llhd.rs
+84 −0 src/circt/src/mlir/attr.rs
+113 −0 src/circt/src/mlir/builder.rs
+51 −0 src/circt/src/mlir/context.rs
+38 −0 src/circt/src/mlir/loc.rs
+295 −0 src/circt/src/mlir/mod.rs
+110 −0 src/circt/src/mlir/ty.rs
+46 −0 src/circt/src/mlir/value.rs
+7 −0 src/circt/src/seq.rs
+42 −0 src/circt/src/std.rs
+1 −0 src/common/Cargo.toml
+6 −0 src/common/name.rs
+44 −36 src/common/source.rs
+1 −0 src/svlog/Cargo.toml
+1,129 −439 src/svlog/codegen.rs
+13 −1 src/svlog/mir/lower/rvalue.rs
+11 −1 src/svlog/mir/rvalue.rs
+1 −0 src/svlog/mir/visit.rs
+6 −0 src/svlog/typeck.rs
+11 −0 src/svlog/value.rs
+1 −4 src/vhdl/score/lower_hir.rs
+0 −1 src/vhdl/typeck.rs
+27 −0 test/lit.cfg.py
+0 −0 test/mlir/assign_concat.sv
+0 −0 test/mlir/assign_nested_concat.sv
+0 −0 test/mlir/assign_simplify_index.sv
+7 −0 test/mlir/debug-info.sv
+0 −0 test/mlir/iss193_nonconst_pow.sv
+0 −0 test/mlir/iss194_range_offset.sv
+0 −0 test/mlir/param_values.sv
+0 −0 test/mlir/port_assign.sv
+412 −0 test/mlir/svlog-codegen.sv
+7 −0 test/mlir/wire_initial_expr.sv
+6 −0 test/svlog/exprs/time.sv
+3 −3 test/svlog/regr/iss199_modport.sv
+0 −8 test/svlog/regr/wire_initial_expr.sv
+0 −1 test/svlog/typeck/types.sv
8 changes: 7 additions & 1 deletion tools/runners.mk
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,13 @@ $(INSTALL_DIR)/bin/parse_sv:
moore: $(INSTALL_DIR)/bin/moore

$(INSTALL_DIR)/bin/moore:
(export CARGO_NET_GIT_FETCH_WITH_CLI=true && cargo install --path $(RDIR)/moore --root $(INSTALL_DIR) --bin moore)
mkdir -p $(INSTALL_DIR)
(export CIRCT_SYS_CIRCT_DIR=$(RDIR)/circt && \
cd $(RDIR)/moore/ && \
./.github/build-llvm.sh && \
./.github/build-circt.sh && \
export CARGO_NET_GIT_FETCH_WITH_CLI=true && \
cargo install --path $(RDIR)/moore --root $(INSTALL_DIR) --bin moore)

# verible
verible:
Expand Down
Loading