diff --git a/source/locale/es/LC_MESSAGES/SpinalHDL/Data types/enum.po b/source/locale/es/LC_MESSAGES/SpinalHDL/Data types/enum.po new file mode 100644 index 00000000000..3c3174a0452 --- /dev/null +++ b/source/locale/es/LC_MESSAGES/SpinalHDL/Data types/enum.po @@ -0,0 +1,237 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2018 - 2024, SpinalHDL +# This file is distributed under the same license as the SpinalHDL package. +# FIRST AUTHOR , YEAR. +# +msgid "" +msgstr "" +"Project-Id-Version: SpinalHDL\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2024-01-02 16:09+0000\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: Automatically generated\n" +"Language-Team: none\n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../../SpinalHDL/Data types/enum.rst:5 +msgid "SpinalEnum" +msgstr "" + +#: ../../SpinalHDL/Data types/enum.rst:8 +#: ../../SpinalHDL/Data types/enum.rst:48 +#: ../../SpinalHDL/Data types/enum.rst:122 +#: ../../SpinalHDL/Data types/enum.rst:189 +msgid "Description" +msgstr "" + +#: ../../SpinalHDL/Data types/enum.rst:10 +msgid "The ``Enumeration`` type corresponds to a list of named values." +msgstr "" + +#: ../../SpinalHDL/Data types/enum.rst:13 +msgid "Declaration" +msgstr "" + +#: ../../SpinalHDL/Data types/enum.rst:15 +msgid "The declaration of an enumerated data type is as follows:" +msgstr "" + +#: ../../SpinalHDL/Data types/enum.rst:23 +msgid "For the example above, the default encoding is used. The native enumeration type is used for VHDL and a binary encoding is used for Verilog." +msgstr "" + +#: ../../SpinalHDL/Data types/enum.rst:26 +msgid "The enumeration encoding can be forced by defining the enumeration as follows:" +msgstr "" + +#: ../../SpinalHDL/Data types/enum.rst:35 +msgid "If you want to define an enumeration as in/out for a given component, you have to do as following: ``in(MyEnum())`` or ``out(MyEnum())``" +msgstr "" + +#: ../../SpinalHDL/Data types/enum.rst:38 +#: ../../SpinalHDL/Data types/enum.rst:46 +msgid "Encoding" +msgstr "" + +#: ../../SpinalHDL/Data types/enum.rst:40 +msgid "The following enumeration encodings are supported:" +msgstr "" + +#: ../../SpinalHDL/Data types/enum.rst:47 +msgid "Bit width" +msgstr "" + +#: ../../SpinalHDL/Data types/enum.rst:49 +msgid "``native``" +msgstr "" + +#: ../../SpinalHDL/Data types/enum.rst:51 +msgid "Use the VHDL enumeration system, this is the default encoding" +msgstr "" + +#: ../../SpinalHDL/Data types/enum.rst:52 +msgid "``binarySequential``" +msgstr "" + +#: ../../SpinalHDL/Data types/enum.rst:53 +#: ../../SpinalHDL/Data types/enum.rst:60 +msgid "``log2Up(stateCount)``" +msgstr "" + +#: ../../SpinalHDL/Data types/enum.rst:54 +msgid "Use Bits to store states in declaration order (value from 0 to n-1)" +msgstr "" + +#: ../../SpinalHDL/Data types/enum.rst:55 +msgid "``binaryOneHot``" +msgstr "" + +#: ../../SpinalHDL/Data types/enum.rst:56 +msgid "stateCount" +msgstr "" + +#: ../../SpinalHDL/Data types/enum.rst:57 +msgid "Use Bits to store state. Each bit corresponds to one state, only one bit is set at a time in the hardware encoded state representation." +msgstr "" + +#: ../../SpinalHDL/Data types/enum.rst:59 +msgid "``graySequential``" +msgstr "" + +#: ../../SpinalHDL/Data types/enum.rst:61 +msgid "Encode index (numbers as if using ``binarySequential``) as binary gray code." +msgstr "" + +#: ../../SpinalHDL/Data types/enum.rst:63 +msgid "Custom encodings can be performed in two different ways: static or dynamic." +msgstr "" + +#: ../../SpinalHDL/Data types/enum.rst:93 +msgid "Example" +msgstr "" + +#: ../../SpinalHDL/Data types/enum.rst:95 +msgid "Instantiate an enumerated signal and assign a value to it:" +msgstr "" + +#: ../../SpinalHDL/Data types/enum.rst:111 +msgid "Operators" +msgstr "" + +#: ../../SpinalHDL/Data types/enum.rst:113 +msgid "The following operators are available for the ``Enumeration`` type:" +msgstr "" + +#: ../../SpinalHDL/Data types/enum.rst:116 +msgid "Comparison" +msgstr "" + +#: ../../SpinalHDL/Data types/enum.rst:121 +#: ../../SpinalHDL/Data types/enum.rst:188 +msgid "Operator" +msgstr "" + +#: ../../SpinalHDL/Data types/enum.rst:123 +msgid "Return type" +msgstr "" + +#: ../../SpinalHDL/Data types/enum.rst:124 +msgid "x === y" +msgstr "" + +#: ../../SpinalHDL/Data types/enum.rst:125 +msgid "Equality" +msgstr "" + +#: ../../SpinalHDL/Data types/enum.rst:126 +#: ../../SpinalHDL/Data types/enum.rst:129 +msgid "Bool" +msgstr "" + +#: ../../SpinalHDL/Data types/enum.rst:127 +msgid "x =/= y" +msgstr "" + +#: ../../SpinalHDL/Data types/enum.rst:128 +msgid "Inequality" +msgstr "" + +#: ../../SpinalHDL/Data types/enum.rst:154 +msgid "Types" +msgstr "" + +#: ../../SpinalHDL/Data types/enum.rst:156 +msgid "In order to use your enums, for example in a function, you may need its type." +msgstr "" + +#: ../../SpinalHDL/Data types/enum.rst:158 +msgid "The value type (e.g. sIdle’s type) is" +msgstr "" + +#: ../../SpinalHDL/Data types/enum.rst:164 +#: ../../SpinalHDL/Data types/enum.rst:176 +msgid "or equivalently" +msgstr "" + +#: ../../SpinalHDL/Data types/enum.rst:170 +msgid "The bundle type (e.g. stateNext’s type) is" +msgstr "" + +#: ../../SpinalHDL/Data types/enum.rst:183 +msgid "Type cast" +msgstr "" + +#: ../../SpinalHDL/Data types/enum.rst:190 +msgid "Return" +msgstr "" + +#: ../../SpinalHDL/Data types/enum.rst:191 +msgid "x.asBits" +msgstr "" + +#: ../../SpinalHDL/Data types/enum.rst:192 +msgid "Binary cast to Bits" +msgstr "" + +#: ../../SpinalHDL/Data types/enum.rst:193 +msgid "Bits(w(x) bits)" +msgstr "" + +#: ../../SpinalHDL/Data types/enum.rst:194 +msgid "x.asBits.asUInt" +msgstr "" + +#: ../../SpinalHDL/Data types/enum.rst:195 +msgid "Binary cast to UInt" +msgstr "" + +#: ../../SpinalHDL/Data types/enum.rst:196 +msgid "UInt(w(x) bits)" +msgstr "" + +#: ../../SpinalHDL/Data types/enum.rst:197 +msgid "x.asBits.asSInt" +msgstr "" + +#: ../../SpinalHDL/Data types/enum.rst:198 +msgid "Binary cast to SInt" +msgstr "" + +#: ../../SpinalHDL/Data types/enum.rst:199 +msgid "SInt(w(x) bits)" +msgstr "" + +#: ../../SpinalHDL/Data types/enum.rst:200 +msgid "e.assignFromBits(bits)" +msgstr "" + +#: ../../SpinalHDL/Data types/enum.rst:201 +msgid "Bits cast to enum" +msgstr "" + +#: ../../SpinalHDL/Data types/enum.rst:202 +msgid "MyEnum()" +msgstr ""