mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-23 06:13:41 +00:00
Update
This commit is contained in:
commit
2c4849805a
5 changed files with 23 additions and 17 deletions
|
@ -1 +1 @@
|
||||||
$Format:%h$
|
$Format:%H$
|
||||||
|
|
9
Makefile
9
Makefile
|
@ -147,14 +147,14 @@ ifeq ($(OS), Haiku)
|
||||||
CXXFLAGS += -D_DEFAULT_SOURCE
|
CXXFLAGS += -D_DEFAULT_SOURCE
|
||||||
endif
|
endif
|
||||||
|
|
||||||
YOSYS_VER := 0.43+11
|
YOSYS_VER := 0.43+22
|
||||||
|
|
||||||
# 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
|
||||||
# will have this file in its unexpanded form tough, in which case we fall
|
# will have this file in its unexpanded form tough, in which case we fall
|
||||||
# back to calling git directly.
|
# back to calling git directly.
|
||||||
TARBALL_GIT_REV := $(shell cat $(YOSYS_SRC)/.gitcommit)
|
TARBALL_GIT_REV := $(shell cat $(YOSYS_SRC)/.gitcommit)
|
||||||
ifeq ($(TARBALL_GIT_REV),$$Format:%h$$)
|
ifneq ($(findstring Format:,$(TARBALL_GIT_REV)),)
|
||||||
GIT_REV := $(shell GIT_DIR=$(YOSYS_SRC)/.git git rev-parse --short=9 HEAD || echo UNKNOWN)
|
GIT_REV := $(shell GIT_DIR=$(YOSYS_SRC)/.git git rev-parse --short=9 HEAD || echo UNKNOWN)
|
||||||
else
|
else
|
||||||
GIT_REV := $(TARBALL_GIT_REV)
|
GIT_REV := $(TARBALL_GIT_REV)
|
||||||
|
@ -585,6 +585,7 @@ S =
|
||||||
endif
|
endif
|
||||||
|
|
||||||
$(eval $(call add_include_file,kernel/binding.h))
|
$(eval $(call add_include_file,kernel/binding.h))
|
||||||
|
$(eval $(call add_include_file,kernel/bitpattern.h))
|
||||||
$(eval $(call add_include_file,kernel/cellaigs.h))
|
$(eval $(call add_include_file,kernel/cellaigs.h))
|
||||||
$(eval $(call add_include_file,kernel/celledges.h))
|
$(eval $(call add_include_file,kernel/celledges.h))
|
||||||
$(eval $(call add_include_file,kernel/celltypes.h))
|
$(eval $(call add_include_file,kernel/celltypes.h))
|
||||||
|
@ -784,10 +785,10 @@ check-git-abc:
|
||||||
exit 1; \
|
exit 1; \
|
||||||
elif git -C "$(YOSYS_SRC)" submodule status abc 2>/dev/null | grep -q '^ '; then \
|
elif git -C "$(YOSYS_SRC)" submodule status abc 2>/dev/null | grep -q '^ '; then \
|
||||||
exit 0; \
|
exit 0; \
|
||||||
elif [ -f "$(YOSYS_SRC)/abc/.gitcommit" ] && ! grep -q '\$$Format:%h\$$' "$(YOSYS_SRC)/abc/.gitcommit"; then \
|
elif [ -f "$(YOSYS_SRC)/abc/.gitcommit" ] && ! grep -q '\$$Format:%[hH]\$$' "$(YOSYS_SRC)/abc/.gitcommit"; then \
|
||||||
echo "'abc' comes from a tarball. Continuing."; \
|
echo "'abc' comes from a tarball. Continuing."; \
|
||||||
exit 0; \
|
exit 0; \
|
||||||
elif [ -f "$(YOSYS_SRC)/abc/.gitcommit" ] && grep -q '\$$Format:%h\$$' "$(YOSYS_SRC)/abc/.gitcommit"; then \
|
elif [ -f "$(YOSYS_SRC)/abc/.gitcommit" ] && grep -q '\$$Format:%[hH]\$$' "$(YOSYS_SRC)/abc/.gitcommit"; then \
|
||||||
echo "Error: 'abc' is not configured as a git submodule."; \
|
echo "Error: 'abc' is not configured as a git submodule."; \
|
||||||
echo "To resolve this:"; \
|
echo "To resolve this:"; \
|
||||||
echo "1. Back up your changes: Save any modifications from the 'abc' directory to another location."; \
|
echo "1. Back up your changes: Save any modifications from the 'abc' directory to another location."; \
|
||||||
|
|
|
@ -867,8 +867,12 @@ module ODDRC(D0, D1, CLEAR, TX, CLK, Q0, Q1);
|
||||||
parameter INIT = 0;
|
parameter INIT = 0;
|
||||||
endmodule
|
endmodule
|
||||||
|
|
||||||
|
(* blackbox, keep *)
|
||||||
module GSR (input GSRI);
|
module GSR (input GSRI);
|
||||||
wire GSRO = GSRI;
|
endmodule
|
||||||
|
|
||||||
|
(* blackbox, keep *)
|
||||||
|
module BANDGAP (input BGEN);
|
||||||
endmodule
|
endmodule
|
||||||
|
|
||||||
(* abc9_box, lib_whitebox *)
|
(* abc9_box, lib_whitebox *)
|
||||||
|
@ -1901,3 +1905,14 @@ output OSCOUT;
|
||||||
parameter FREQ_DIV = 100;
|
parameter FREQ_DIV = 100;
|
||||||
parameter REGULATOR_EN = 1'b0;
|
parameter REGULATOR_EN = 1'b0;
|
||||||
endmodule
|
endmodule
|
||||||
|
|
||||||
|
(* blackbox *)
|
||||||
|
module DCS (CLK0, CLK1, CLK2, CLK3, CLKSEL, SELFORCE, CLKOUT);
|
||||||
|
input CLK0, CLK1, CLK2, CLK3, SELFORCE;
|
||||||
|
input [3:0] CLKSEL;
|
||||||
|
output CLKOUT;
|
||||||
|
parameter DCS_MODE = "RISING";
|
||||||
|
endmodule
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@ class State(Enum):
|
||||||
IN_MODULE = auto()
|
IN_MODULE = auto()
|
||||||
IN_PARAMETER = auto()
|
IN_PARAMETER = auto()
|
||||||
|
|
||||||
_skip = { 'ALU', 'DFF', 'DFFC', 'DFFCE', 'DFFE', 'DFFN', 'DFFNC', 'DFFNCE',
|
_skip = { 'ALU', 'BANDGAP', 'DFF', 'DFFC', 'DFFCE', 'DFFE', 'DFFN', 'DFFNC', 'DFFNCE',
|
||||||
'DFFNE', 'DFFNP', 'DFFNPE', 'DFFNR', 'DFFNRE', 'DFFNS', 'DFFNSE',
|
'DFFNE', 'DFFNP', 'DFFNPE', 'DFFNR', 'DFFNRE', 'DFFNS', 'DFFNSE',
|
||||||
'DFFP', 'DFFPE', 'DFFR', 'DFFRE', 'DFFS', 'DFFSE', 'DP', 'DPX9',
|
'DFFP', 'DFFPE', 'DFFR', 'DFFRE', 'DFFS', 'DFFSE', 'DP', 'DPX9',
|
||||||
'ELVDS_OBUF', 'GND', 'GSR', 'IBUF', 'IDDR', 'IDDRC', 'IDES10',
|
'ELVDS_OBUF', 'GND', 'GSR', 'IBUF', 'IDDR', 'IDDRC', 'IDES10',
|
||||||
|
|
|
@ -1564,12 +1564,6 @@ parameter IDLE = 4'd0,
|
||||||
RD_S2 = 4'd12;
|
RD_S2 = 4'd12;
|
||||||
endmodule
|
endmodule
|
||||||
|
|
||||||
module DCS (...);
|
|
||||||
input CLK0, CLK1, CLK2, CLK3, SELFORCE;
|
|
||||||
input [3:0] CLKSEL;
|
|
||||||
output CLKOUT;
|
|
||||||
endmodule
|
|
||||||
|
|
||||||
module DQCE (...);
|
module DQCE (...);
|
||||||
input CLKIN;
|
input CLKIN;
|
||||||
input CE;
|
input CE;
|
||||||
|
@ -1687,10 +1681,6 @@ endmodule
|
||||||
module ADC (...);
|
module ADC (...);
|
||||||
endmodule
|
endmodule
|
||||||
|
|
||||||
module BANDGAP (...);
|
|
||||||
input BGEN;
|
|
||||||
endmodule
|
|
||||||
|
|
||||||
module CLKDIV2 (...);
|
module CLKDIV2 (...);
|
||||||
parameter GSREN = "false";
|
parameter GSREN = "false";
|
||||||
input HCLKIN, RESETN;
|
input HCLKIN, RESETN;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue