diff --git a/source/locale/gettext/SpinalHDL/Libraries/fsm.pot b/source/locale/gettext/SpinalHDL/Libraries/fsm.pot index 706ab3aa65..3c77a57cf1 100644 --- a/source/locale/gettext/SpinalHDL/Libraries/fsm.pot +++ b/source/locale/gettext/SpinalHDL/Libraries/fsm.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: SpinalHDL \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-08-19 09:12+0000\n" +"POT-Creation-Date: 2024-12-20 14:15+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -247,3 +247,11 @@ msgstr "" #: ../../SpinalHDL/Libraries/fsm.rst:320 msgid "During simulation, the boot state is always named ``BOOT``." msgstr "" + +#: ../../SpinalHDL/Libraries/fsm.rst:352 +msgid "Notes about using state value" +msgstr "" + +#: ../../SpinalHDL/Libraries/fsm.rst:354 +msgid "In cases that users want to retrieve the state value for purpose, where state value could be accessed by `stateReg`. However, the `stateReg` is not initialized during elaboration of state machine, so any access of `stateReg` directly could cause error. Use the `postBuild` method as below can solve this problem." +msgstr "" diff --git a/source/locale/zh_CN/LC_MESSAGES/SpinalHDL/Libraries/fsm.po b/source/locale/zh_CN/LC_MESSAGES/SpinalHDL/Libraries/fsm.po index 2d943aaac0..1ab80580fc 100644 --- a/source/locale/zh_CN/LC_MESSAGES/SpinalHDL/Libraries/fsm.po +++ b/source/locale/zh_CN/LC_MESSAGES/SpinalHDL/Libraries/fsm.po @@ -10,7 +10,7 @@ msgstr "" "+0800PO-Revision-Date:YEAR-MO-DA HO:MI+ZONELast-Translator:FULL NAME " "Language-Team:LANGUAGE MIME-Version:1.0Content-" "Type:text/plain; charset=UTF-8\n" -"POT-Creation-Date: 2024-08-19 09:12+0000\n" +"POT-Creation-Date: 2024-12-20 14:15+0000\n" "PO-Revision-Date: 2024-01-10 17:06+0000\n" "Last-Translator: tsy0123 <675526215@qq.com>\n" "Language: zh_CN\n" @@ -320,3 +320,17 @@ msgstr "该状态的 ``onEntry`` 仅在从另一个状态转换到该状态时 msgid "During simulation, the boot state is always named ``BOOT``." msgstr "在仿真过程中,启动状态始终命名为 ``BOOT`` 。" +#: ../../SpinalHDL/Libraries/fsm.rst:352 +#, fuzzy +msgid "Notes about using state value" +msgstr "关于入口状态的注释" + +#: ../../SpinalHDL/Libraries/fsm.rst:354 +msgid "" +"In cases that users want to retrieve the state value for purpose, where " +"state value could be accessed by `stateReg`. However, the `stateReg` is " +"not initialized during elaboration of state machine, so any access of " +"`stateReg` directly could cause error. Use the `postBuild` method as " +"below can solve this problem." +msgstr "" +