Skip to content

Commit 965194f

Browse files
committed
update .pot files
1 parent 74f5854 commit 965194f

4 files changed

Lines changed: 224 additions & 2 deletions

File tree

source/locale/gettext/SpinalHDL/Libraries/Pipeline/introduction.pot

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: SpinalHDL \n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2025-05-01 09:36+0000\n"
11+
"POT-Creation-Date: 2025-11-24 11:23+0000\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1414
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -718,3 +718,15 @@ msgstr ""
718718
#: ../../SpinalHDL/Libraries/Pipeline/introduction.rst:1005
719719
msgid "Here is a simple testbench which implement a loop which will make the led counting up."
720720
msgstr ""
721+
722+
#: ../../SpinalHDL/Libraries/Pipeline/introduction.rst:1029
723+
msgid "Note"
724+
msgstr ""
725+
726+
#: ../../SpinalHDL/Libraries/Pipeline/introduction.rst:1030
727+
msgid "When building a pipeline, only ``node(0).valid`` or ``node(n).ready`` (where ``n`` is the last stage in the pipeline) may be driven by user logic. It is possible for the builder to optimise away ``node.ready`` or ``node.valid`` signals if they are not used. To guarantee ``node.ready`` or ``node.valid`` signal creation (important if you use ``CtrlLink()`` or any other link where you want flow control) ``node(0).valid`` must be driven manually."
728+
msgstr ""
729+
730+
#: ../../SpinalHDL/Libraries/Pipeline/introduction.rst:1044
731+
msgid "This is sufficient to ensure halting and ``CtrlLink`` behaviour works as intended (``node.valid`` or ``node.ready`` signals are not optimised away)."
732+
msgstr ""
Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
# SOME DESCRIPTIVE TITLE.
2+
# Copyright (C) 2018 - 2025, SpinalHDL
3+
# This file is distributed under the same license as the SpinalHDL package.
4+
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5+
#
6+
#, fuzzy
7+
msgid ""
8+
msgstr ""
9+
"Project-Id-Version: SpinalHDL \n"
10+
"Report-Msgid-Bugs-To: \n"
11+
"POT-Creation-Date: 2025-11-24 11:23+0000\n"
12+
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13+
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14+
"Language-Team: LANGUAGE <LL@li.org>\n"
15+
"MIME-Version: 1.0\n"
16+
"Content-Type: text/plain; charset=UTF-8\n"
17+
"Content-Transfer-Encoding: 8bit\n"
18+
19+
#: ../../SpinalHDL/Libraries/logic.rst:2
20+
msgid "Logic Simplification Utilities and Decoder"
21+
msgstr ""
22+
23+
#: ../../SpinalHDL/Libraries/logic.rst:3
24+
msgid "A minimal Boolean simplification and decode-table utility for decoders using quine-mcklusky. Provides masked pattern matching, Quine McCluskey style logic reduction, and a high-level decode-table builder. --- # Masked Represents a bit pattern with care (significant) and don't-care bits. `value` = bit values `care` = which bits must match (1 = match, 0 = don't care) --- Example:"
25+
msgstr ""
26+
27+
#: ../../SpinalHDL/Libraries/logic.rst:16
28+
msgid "e.g RISC-V instrs"
29+
msgstr ""
30+
31+
#: ../../SpinalHDL/Libraries/logic.rst:22
32+
msgid "Used to define instruction encodings for decode tables."
33+
msgstr ""
34+
35+
#: ../../SpinalHDL/Libraries/logic.rst:25
36+
msgid "--- # DecodingSpec High-level builder for decode tables using `Masked` patterns. `` val decoder = new DecodingSpec()"
37+
msgstr ""
38+
39+
#: ../../SpinalHDL/Libraries/logic.rst:28
40+
msgid "**API:**"
41+
msgstr ""
42+
43+
#: ../../SpinalHDL/Libraries/logic.rst:30
44+
msgid "`addNeeds(key : Masked, value : Masked)`"
45+
msgstr ""
46+
47+
#: ../../SpinalHDL/Libraries/logic.rst:31
48+
msgid "`addNeeds(keys : Seq[Masked], value : Masked)`"
49+
msgstr ""
50+
51+
#: ../../SpinalHDL/Libraries/logic.rst:32
52+
msgid "`build(sel, coverAll)`"
53+
msgstr ""
54+
55+
#: ../../SpinalHDL/Libraries/logic.rst:33
56+
msgid "``def setDefault(value : Masked)``"
57+
msgstr ""
58+
59+
#: ../../SpinalHDL/Libraries/logic.rst:35
60+
msgid "generate simplified decode logic"
61+
msgstr ""
62+
63+
#: ../../SpinalHDL/Libraries/logic.rst:36
64+
msgid "**Example:** .. code-block:: scala ```"
65+
msgstr ""
66+
67+
#: ../../SpinalHDL/Libraries/logic.rst:38
68+
msgid "val spec = new DecodingSpec(UInt(4 bits)) spec.setDefault(Masked(U\"0011\")) spec.addNeeds(Masked(B\"000\"), Masked(U\"1000\")) result := spec.build(sel, allPatterns)"
69+
msgstr ""
70+
71+
#: ../../SpinalHDL/Libraries/logic.rst:43
72+
msgid "Generates minimized combinational decode logic."
73+
msgstr ""
74+
75+
#: ../../SpinalHDL/Libraries/logic.rst:44
76+
msgid "--- # Practical Use"
77+
msgstr ""
78+
79+
#: ../../SpinalHDL/Libraries/logic.rst:45
80+
msgid "Define bit patterns as `Masked` and feed them into `DecodingSpec` to build compact decode logic (e.g., RISC-V)."
81+
msgstr ""
82+
83+
#: ../../SpinalHDL/Libraries/logic.rst:47
84+
msgid "Output hardware is minimized (fewer LUTs / simpler gates)"
85+
msgstr ""

source/locale/zh_CN/LC_MESSAGES/SpinalHDL/Libraries/Pipeline/introduction.po

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: SpinalHDL\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2025-05-01 09:36+0000\n"
10+
"POT-Creation-Date: 2025-11-24 11:23+0000\n"
1111
"PO-Revision-Date: 2024-12-23 10:57+0800\n"
1212
"Last-Translator: Readon <xydarcher@qq.com>\n"
1313
"Language: zh_CN\n"
@@ -991,6 +991,29 @@ msgid ""
991991
" counting up."
992992
msgstr "下面是一个简单的测试平台,它实现了一个循环,使 led 计数值上升。"
993993

994+
#: ../../SpinalHDL/Libraries/Pipeline/introduction.rst:1029
995+
#, fuzzy
996+
msgid "Note"
997+
msgstr "Node"
998+
999+
#: ../../SpinalHDL/Libraries/Pipeline/introduction.rst:1030
1000+
msgid ""
1001+
"When building a pipeline, only ``node(0).valid`` or ``node(n).ready`` "
1002+
"(where ``n`` is the last stage in the pipeline) may be driven by user "
1003+
"logic. It is possible for the builder to optimise away ``node.ready`` or "
1004+
"``node.valid`` signals if they are not used. To guarantee ``node.ready`` "
1005+
"or ``node.valid`` signal creation (important if you use ``CtrlLink()`` or"
1006+
" any other link where you want flow control) ``node(0).valid`` must be "
1007+
"driven manually."
1008+
msgstr ""
1009+
1010+
#: ../../SpinalHDL/Libraries/Pipeline/introduction.rst:1044
1011+
msgid ""
1012+
"This is sufficient to ensure halting and ``CtrlLink`` behaviour works as "
1013+
"intended (``node.valid`` or ``node.ready`` signals are not optimised "
1014+
"away)."
1015+
msgstr ""
1016+
9941017
#~ msgid ""
9951018
#~ "For instance there is the NodesBuilder"
9961019
#~ " class which can be used to "
Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,102 @@
1+
# SOME DESCRIPTIVE TITLE.
2+
# Copyright (C) 2018 - 2025, SpinalHDL
3+
# This file is distributed under the same license as the SpinalHDL package.
4+
# FIRST AUTHOR <EMAIL@ADDRESS>, 2025.
5+
#
6+
#, fuzzy
7+
msgid ""
8+
msgstr ""
9+
"Project-Id-Version: SpinalHDL \n"
10+
"Report-Msgid-Bugs-To: \n"
11+
"POT-Creation-Date: 2025-11-24 11:23+0000\n"
12+
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13+
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14+
"Language: zh_CN\n"
15+
"Language-Team: zh_CN <LL@li.org>\n"
16+
"Plural-Forms: nplurals=1; plural=0;\n"
17+
"MIME-Version: 1.0\n"
18+
"Content-Type: text/plain; charset=utf-8\n"
19+
"Content-Transfer-Encoding: 8bit\n"
20+
"Generated-By: Babel 2.17.0\n"
21+
22+
#: ../../SpinalHDL/Libraries/logic.rst:2
23+
msgid "Logic Simplification Utilities and Decoder"
24+
msgstr ""
25+
26+
#: ../../SpinalHDL/Libraries/logic.rst:3
27+
msgid ""
28+
"A minimal Boolean simplification and decode-table utility for decoders "
29+
"using quine-mcklusky. Provides masked pattern matching, Quine McCluskey "
30+
"style logic reduction, and a high-level decode-table builder. --- # "
31+
"Masked Represents a bit pattern with care (significant) and don't-care "
32+
"bits. `value` = bit values `care` = which bits must match (1 = match, 0 ="
33+
" don't care) --- Example:"
34+
msgstr ""
35+
36+
#: ../../SpinalHDL/Libraries/logic.rst:16
37+
msgid "e.g RISC-V instrs"
38+
msgstr ""
39+
40+
#: ../../SpinalHDL/Libraries/logic.rst:22
41+
msgid "Used to define instruction encodings for decode tables."
42+
msgstr ""
43+
44+
#: ../../SpinalHDL/Libraries/logic.rst:25
45+
msgid ""
46+
"--- # DecodingSpec High-level builder for decode tables using `Masked` "
47+
"patterns. `` val decoder = new DecodingSpec()"
48+
msgstr ""
49+
50+
#: ../../SpinalHDL/Libraries/logic.rst:28
51+
msgid "**API:**"
52+
msgstr ""
53+
54+
#: ../../SpinalHDL/Libraries/logic.rst:30
55+
msgid "`addNeeds(key : Masked, value : Masked)`"
56+
msgstr ""
57+
58+
#: ../../SpinalHDL/Libraries/logic.rst:31
59+
msgid "`addNeeds(keys : Seq[Masked], value : Masked)`"
60+
msgstr ""
61+
62+
#: ../../SpinalHDL/Libraries/logic.rst:32
63+
msgid "`build(sel, coverAll)`"
64+
msgstr ""
65+
66+
#: ../../SpinalHDL/Libraries/logic.rst:33
67+
msgid "``def setDefault(value : Masked)``"
68+
msgstr ""
69+
70+
#: ../../SpinalHDL/Libraries/logic.rst:35
71+
msgid "generate simplified decode logic"
72+
msgstr ""
73+
74+
#: ../../SpinalHDL/Libraries/logic.rst:36
75+
msgid "**Example:** .. code-block:: scala ```"
76+
msgstr ""
77+
78+
#: ../../SpinalHDL/Libraries/logic.rst:38
79+
msgid ""
80+
"val spec = new DecodingSpec(UInt(4 bits)) "
81+
"spec.setDefault(Masked(U\"0011\")) spec.addNeeds(Masked(B\"000\"), "
82+
"Masked(U\"1000\")) result := spec.build(sel, allPatterns)"
83+
msgstr ""
84+
85+
#: ../../SpinalHDL/Libraries/logic.rst:43
86+
msgid "Generates minimized combinational decode logic."
87+
msgstr ""
88+
89+
#: ../../SpinalHDL/Libraries/logic.rst:44
90+
msgid "--- # Practical Use"
91+
msgstr ""
92+
93+
#: ../../SpinalHDL/Libraries/logic.rst:45
94+
msgid ""
95+
"Define bit patterns as `Masked` and feed them into `DecodingSpec` to "
96+
"build compact decode logic (e.g., RISC-V)."
97+
msgstr ""
98+
99+
#: ../../SpinalHDL/Libraries/logic.rst:47
100+
msgid "Output hardware is minimized (fewer LUTs / simpler gates)"
101+
msgstr ""
102+

0 commit comments

Comments
 (0)