mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-29 20:05:52 +00:00
Merge branch 'YosysHQ:main' into master
This commit is contained in:
commit
f0c4aa7059
4 changed files with 23 additions and 17 deletions
14
.github/workflows/extra-builds.yml
vendored
14
.github/workflows/extra-builds.yml
vendored
|
@ -81,3 +81,17 @@ jobs:
|
||||||
END
|
END
|
||||||
|
|
||||||
make -C build -f ../Makefile CXX=clang -j$(nproc)
|
make -C build -f ../Makefile CXX=clang -j$(nproc)
|
||||||
|
|
||||||
|
nix-build:
|
||||||
|
name: "Build nix flake"
|
||||||
|
needs: pre_job
|
||||||
|
if: needs.pre_job.outputs.should_skip != 'true'
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
submodules: true
|
||||||
|
- uses: cachix/install-nix-action@v26
|
||||||
|
with:
|
||||||
|
install_url: https://releases.nixos.org/nix/nix-2.18.1/install
|
||||||
|
- run: nix build .?submodules=1
|
||||||
|
|
15
.github/workflows/nix-github-actions.yml
vendored
15
.github/workflows/nix-github-actions.yml
vendored
|
@ -1,15 +0,0 @@
|
||||||
name: "build nix flake"
|
|
||||||
on:
|
|
||||||
pull_request:
|
|
||||||
push:
|
|
||||||
jobs:
|
|
||||||
tests:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
with:
|
|
||||||
submodules: true
|
|
||||||
- uses: cachix/install-nix-action@v26
|
|
||||||
with:
|
|
||||||
install_url: https://releases.nixos.org/nix/nix-2.18.1/install
|
|
||||||
- run: nix build .?submodules=1
|
|
10
Makefile
10
Makefile
|
@ -140,7 +140,7 @@ LIBS += -lrt
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
YOSYS_VER := 0.41+101
|
YOSYS_VER := 0.41+108
|
||||||
|
|
||||||
# Note: We arrange for .gitcommit to contain the (short) commit hash in
|
# Note: We arrange for .gitcommit to contain the (short) commit hash in
|
||||||
# tarballs generated with git-archive(1) using .gitattributes. The git repo
|
# tarballs generated with git-archive(1) using .gitattributes. The git repo
|
||||||
|
@ -949,7 +949,13 @@ define DOC_USAGE_STDERR
|
||||||
docs/source/generated/$(1): $(PROGRAM_PREFIX)$(1) docs/source/generated
|
docs/source/generated/$(1): $(PROGRAM_PREFIX)$(1) docs/source/generated
|
||||||
-$(Q) ./$$< --help 2> $$@
|
-$(Q) ./$$< --help 2> $$@
|
||||||
endef
|
endef
|
||||||
DOCS_USAGE_STDERR := yosys-config yosys-filterlib yosys-abc
|
DOCS_USAGE_STDERR := yosys-config yosys-filterlib
|
||||||
|
|
||||||
|
# The in-tree ABC (yosys-abc) is only built when ABCEXTERNAL is not set.
|
||||||
|
ifeq ($(ABCEXTERNAL),)
|
||||||
|
DOCS_USAGE_STDERR += yosys-abc
|
||||||
|
endif
|
||||||
|
|
||||||
$(foreach usage,$(DOCS_USAGE_STDERR),$(eval $(call DOC_USAGE_STDERR,$(usage))))
|
$(foreach usage,$(DOCS_USAGE_STDERR),$(eval $(call DOC_USAGE_STDERR,$(usage))))
|
||||||
|
|
||||||
# others print to stdout
|
# others print to stdout
|
||||||
|
|
|
@ -3263,6 +3263,7 @@ struct CxxrtlWorker {
|
||||||
debug_wire_type = wire_type; // wire is a member
|
debug_wire_type = wire_type; // wire is a member
|
||||||
|
|
||||||
if (!debug_alias) continue;
|
if (!debug_alias) continue;
|
||||||
|
if (wire->port_input || wire->port_output) continue; // preserve input/output metadata in flags
|
||||||
const RTLIL::Wire *it = wire;
|
const RTLIL::Wire *it = wire;
|
||||||
while (flow.is_inlinable(it)) {
|
while (flow.is_inlinable(it)) {
|
||||||
log_assert(flow.wire_comb_defs[it].size() == 1);
|
log_assert(flow.wire_comb_defs[it].size() == 1);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue