Skip to content

Commit 6a93c67

Browse files
authored
Merge pull request #2219 from CAS-Atlantic/yosys_25
Yosys version upgrade to 0.25
2 parents b51fd95 + d8ace2c commit 6a93c67

File tree

135 files changed

+1865
-19368
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

135 files changed

+1865
-19368
lines changed

libs/EXTERNAL/libyosys/.gitcommit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
$Format:%h$
1+
e02b7f64bc7

libs/EXTERNAL/libyosys/.github/workflows/emcc.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,6 @@ jobs:
88
steps:
99
- uses: mymindstorm/setup-emsdk@v11
1010
- uses: actions/checkout@v3
11-
- name: Cache sources
12-
id: cache-sources
13-
uses: actions/cache@v3
14-
with:
15-
path: .
16-
key: cache-yosys
1711
- name: Build
1812
run: |
1913
make config-emcc

libs/EXTERNAL/libyosys/.github/workflows/vs.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,6 @@ jobs:
77
runs-on: ubuntu-latest
88
steps:
99
- uses: actions/checkout@v3
10-
- name: Cache sources
11-
id: cache-sources
12-
uses: actions/cache@v3
13-
with:
14-
path: .
15-
key: cache-yosys
1610
- name: Build
1711
run: make vcxsrc YOSYS_VER=latest
1812
- uses: actions/upload-artifact@v3

libs/EXTERNAL/libyosys/CHANGELOG

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,32 @@
22
List of major changes and improvements between releases
33
=======================================================
44

5-
Yosys 0.23 .. Yosys 0.23-dev
5+
Yosys 0.24 .. Yosys 0.25
66
--------------------------
7+
* Verific support
8+
- Respect "noblackbox" attribute for modules.
9+
10+
* Various
11+
- Documentation is hosted at https://yosyshq.readthedocs.io/projects/yosys/en/latest/
12+
13+
Yosys 0.23 .. Yosys 0.24
14+
--------------------------
15+
* New commands and options
16+
- Added option "-set-def-formal" to "sat" pass.
17+
- Added option "-s" to "tee" command.
18+
19+
* Verilog
20+
- Support for module-scoped identifiers referring to tasks and functions.
21+
- Support for arrays with swapped ranges within structs.
22+
23+
* Verific support
24+
- Support for importing verilog configurations per name.
25+
- "verific -set-XXXXX" commands are now able to set severity to all messages
26+
of certain type (errors, warnings, infos and comments)
27+
28+
* Various
29+
- TCL shell support (use "yosys -C")
30+
- Added FABulous eFPGA frontend
731

832
Yosys 0.22 .. Yosys 0.23
933
--------------------------

libs/EXTERNAL/libyosys/Makefile

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ LDLIBS += -lrt
142142
endif
143143
endif
144144

145-
YOSYS_VER := 0.23+8
145+
YOSYS_VER := 0.25
146146

147147
# Note: We arrange for .gitcommit to contain the (short) commit hash in
148148
# tarballs generated with git-archive(1) using .gitattributes. The git repo
@@ -158,7 +158,7 @@ endif
158158
OBJS = kernel/version_$(GIT_REV).o
159159

160160
bumpversion:
161-
sed -i "/^YOSYS_VER := / s/+[0-9][0-9]*$$/+`git log --oneline 7ce5011.. | wc -l`/;" Makefile
161+
# sed -i "/^YOSYS_VER := / s/+[0-9][0-9]*$$/+`git log --oneline 313b799.. | wc -l`/;" Makefile
162162

163163
# set 'ABCREV = default' to use abc/ as it is
164164
#
@@ -963,26 +963,22 @@ docs/source/cmd/abc.rst: $(TARGETS) $(EXTRA_TARGETS)
963963
mkdir -p docs/source/cmd
964964
./$(PROGRAM_PREFIX)yosys -p 'help -write-rst-command-reference-manual'
965965

966-
PHONY: docs/gen_images
966+
PHONY: docs/gen_images docs/guidelines
967967
docs/gen_images:
968968
$(Q) $(MAKE) -C docs/images all
969969

970+
DOCS_GUIDELINE_FILES := GettingStarted CodingStyle
971+
docs/guidelines:
972+
$(Q) mkdir -p docs/source/temp
973+
$(Q) cp -f $(addprefix guidelines/,$(DOCS_GUIDELINE_FILES)) docs/source/temp
974+
970975
DOC_TARGET ?= html
971-
docs: docs/source/cmd/abc.rst docs/gen_images
976+
docs: docs/source/cmd/abc.rst docs/gen_images docs/guidelines
972977
$(Q) $(MAKE) -C docs $(DOC_TARGET)
973978

974-
update-manual: $(TARGETS) $(EXTRA_TARGETS)
975-
cd manual && ../$(PROGRAM_PREFIX)yosys -p 'help -write-tex-command-reference-manual'
976-
977-
manual: $(TARGETS) $(EXTRA_TARGETS)
978-
cd manual && bash appnotes.sh
979-
cd manual && bash presentation.sh
980-
cd manual && bash manual.sh
981-
982979
clean:
983980
rm -rf share
984981
rm -rf kernel/*.pyh
985-
if test -d manual; then cd manual && sh clean.sh; fi
986982
rm -f $(OBJS) $(GENFILES) $(TARGETS) $(EXTRA_TARGETS) $(EXTRA_OBJS) $(PY_WRAP_INCLUDES) $(PY_WRAPPER_FILE).cc
987983
rm -f kernel/version_*.o kernel/version_*.cc
988984
rm -f libs/*/*.d frontends/*/*.d passes/*/*.d backends/*/*.d kernel/*.d techlibs/*/*.d
@@ -1122,5 +1118,5 @@ echo-abc-rev:
11221118
-include kernel/*.d
11231119
-include techlibs/*/*.d
11241120

1125-
.PHONY: all top-all abc test install install-abc docs manual clean mrproper qtcreator coverage vcxsrc mxebin
1121+
.PHONY: all top-all abc test install install-abc docs clean mrproper qtcreator coverage vcxsrc mxebin
11261122
.PHONY: config-clean config-clang config-gcc config-gcc-static config-gcc-4.8 config-afl-gcc config-gprof config-sudo

libs/EXTERNAL/libyosys/README.md

Lines changed: 4 additions & 37 deletions

libs/EXTERNAL/libyosys/docs/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/build/
22
/source/cmd
3+
/source/temp
34
/images/*.log
45
/images/*.aux
56
/images/*.pdf

libs/EXTERNAL/libyosys/docs/images/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
all: dots tex svg tidy
22

33
TEX_SOURCE:= $(wildcard *.tex)
4-
DOT_LOC:= ../../manual/APPNOTE_011_Design_Investigation
4+
DOT_LOC:= ../source/APPNOTE_011_Design_Investigation
55
DOT_SOURCE:= $(wildcard $(DOT_LOC)/*.dot)
66

77
TEX_SOURCE+= 011/example_out.tex

libs/EXTERNAL/libyosys/docs/source/CHAPTER_Prog.rst

Lines changed: 9 additions & 9 deletions

libs/EXTERNAL/libyosys/docs/source/appendix/APPNOTE_011_Design_Investigation.rst

Lines changed: 5 additions & 5 deletions

libs/EXTERNAL/libyosys/frontends/ast/ast.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ namespace AST
203203

204204
// if this is a multirange memory then this vector contains offset and length of each dimension
205205
std::vector<int> multirange_dimensions;
206-
std::vector<bool> multirange_swapped; // true if range is swapped, not used for structs
206+
std::vector<bool> multirange_swapped; // true if range is swapped
207207

208208
// this is set by simplify and used during RTLIL generation
209209
AstNode *id2ast;

0 commit comments

Comments
 (0)