-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
27 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: The Veryl Hardware Description Language\n" | ||
"POT-Creation-Date: 2024-09-03T09:52:03+09:00\n" | ||
"POT-Creation-Date: 2024-09-03T12:31:15+09:00\n" | ||
"PO-Revision-Date: 2023-12-28 23:02+0900\n" | ||
"Last-Translator: Naoya Hatta <[email protected]>\n" | ||
"Language-Team: Japanese\n" | ||
|
@@ -1274,7 +1274,7 @@ msgid "" | |
"// module definition\n" | ||
"module ModuleA #(\n" | ||
" param ParamA: u32 = 10,\n" | ||
" local ParamB: u32 = 10, // trailing comma is allowed\n" | ||
" const ParamB: u32 = 10, // trailing comma is allowed\n" | ||
") (\n" | ||
" i_clk : input clock , // `clock` is a special type for " | ||
"clock\n" | ||
|
@@ -1286,9 +1286,9 @@ msgid "" | |
" o_data: output logic<ParamA> , // `<>` means packed array in " | ||
"SystemVerilog\n" | ||
") {\n" | ||
" // local parameter declaration\n" | ||
" // const parameter declaration\n" | ||
" // `param` is not allowed in module\n" | ||
" local ParamC: u32 = 10;\n" | ||
" const ParamC: u32 = 10;\n" | ||
"\n" | ||
" // variable declaration\n" | ||
" var r_data0: logic<ParamA>;\n" | ||
|
@@ -1332,7 +1332,7 @@ msgstr "" | |
"// モジュール定義\n" | ||
"module ModuleA #(\n" | ||
" param ParamA: u32 = 10,\n" | ||
" local ParamB: u32 = 10, // 末尾カンマが可能です\n" | ||
" const ParamB: u32 = 10, // 末尾カンマが可能です\n" | ||
") (\n" | ||
" i_clk : input clock , // `clock` はクロックのための特別な型で" | ||
"す\n" | ||
|
@@ -1346,7 +1346,7 @@ msgstr "" | |
") {\n" | ||
" // ローカルパラメータ宣言\n" | ||
" // モジュール内では `param` は使えません\n" | ||
" local ParamC: u32 = 10;\n" | ||
" const ParamC: u32 = 10;\n" | ||
"\n" | ||
" // 変数宣言\n" | ||
" var r_data0: logic<ParamA>;\n" | ||
|
@@ -1491,7 +1491,7 @@ msgid "" | |
" param ParamA: u32 = 1,\n" | ||
" param ParamB: u32 = 1,\n" | ||
") {\n" | ||
" local ParamC: u32 = 1;\n" | ||
" const ParamC: u32 = 1;\n" | ||
"\n" | ||
" var a: logic<ParamA>;\n" | ||
" var b: logic<ParamA>;\n" | ||
|
@@ -1529,7 +1529,7 @@ msgstr "" | |
" param ParamA: u32 = 1,\n" | ||
" param ParamB: u32 = 1,\n" | ||
") {\n" | ||
" local ParamC: u32 = 1;\n" | ||
" const ParamC: u32 = 1;\n" | ||
"\n" | ||
" var a: logic<ParamA>;\n" | ||
" var b: logic<ParamA>;\n" | ||
|
@@ -1566,8 +1566,8 @@ msgid "" | |
"```veryl,playground,editable\n" | ||
"// package definition\n" | ||
"package PackageA {\n" | ||
" local ParamA: u32 = 1;\n" | ||
" local ParamB: u32 = 1;\n" | ||
" const ParamA: u32 = 1;\n" | ||
" const ParamB: u32 = 1;\n" | ||
"\n" | ||
" function FuncA (\n" | ||
" a: input logic<ParamA>,\n" | ||
|
@@ -1585,8 +1585,8 @@ msgstr "" | |
"```veryl,playground,editable\n" | ||
"// パッケージ定義\n" | ||
"package PackageA {\n" | ||
" local ParamA: u32 = 1;\n" | ||
" local ParamB: u32 = 1;\n" | ||
" const ParamA: u32 = 1;\n" | ||
" const ParamB: u32 = 1;\n" | ||
"\n" | ||
" function FuncA (\n" | ||
" a: input logic<ParamA>,\n" | ||
|
@@ -2152,9 +2152,9 @@ msgstr "Type型" | |
#: src/05_language_reference/03_data_type/01_builtin_type.md:77 | ||
msgid "" | ||
"`type` is a type which represents type kind. Variable of `type` can be " | ||
"defined as `param` or `local` only." | ||
"defined as `param` or `const` only." | ||
msgstr "" | ||
"`type` は型の種類を表す型です。`type` 型の変数は `param` か `local` としての" | ||
"`type` は型の種類を表す型です。`type` 型の変数は `param` か `const` としての" | ||
"み定義可能です。" | ||
|
||
#: src/05_language_reference/03_data_type/02_user_defined_type.md:3 | ||
|
@@ -2205,9 +2205,9 @@ msgid "" | |
"omitted. If you want to specify value encoding, `#[enum_encoding]` attribute " | ||
"can be used. The available encodings are here:" | ||
msgstr "" | ||
"デフォルトでは各バリアントの値が省略されたときは0から順に割り当てられます。" | ||
"この割り当てのエンコードを指定したい場合は、`#[enum_encoding]` アトリビュートを指定できます。" | ||
"使用できるエンコードは以下の通りです。" | ||
"デフォルトでは各バリアントの値が省略されたときは0から順に割り当てられます。こ" | ||
"の割り当てのエンコードを指定したい場合は、`#[enum_encoding]` アトリビュートを" | ||
"指定できます。使用できるエンコードは以下の通りです。" | ||
|
||
#: src/05_language_reference/03_data_type/02_user_defined_type.md:65 | ||
msgid "`sequential`" | ||
|
@@ -2682,11 +2682,11 @@ msgstr "宣言時に名前に値を束縛する場合は `var` の代わりに ` | |
#: src/05_language_reference/06_declaration/02_parameter.md:3 | ||
msgid "" | ||
"Parameter can be declarated as the same as variable. `param` keyword can be " | ||
"used at module header, it can be overridden at instantiation. `local` " | ||
"used at module header, it can be overridden at instantiation. `const` " | ||
"keyword can be used in module, it can't be overridden." | ||
msgstr "" | ||
"パラメータは変数と同時に宣言できます。`param` キーワードはモジュールヘッダで" | ||
"使用することができ、インスタンス時に上書きできます。`local` キーワードはモ" | ||
"使用することができ、インスタンス時に上書きできます。`const` キーワードはモ" | ||
"ジュール内で使用することができ、上書きできません。" | ||
|
||
#: src/05_language_reference/06_declaration/03_register.md:3 | ||
|
@@ -2954,7 +2954,7 @@ msgid "" | |
"}\n" | ||
"\n" | ||
"package PackageA {\n" | ||
" local paramA: u32 = 1;\n" | ||
" const paramA: u32 = 1;\n" | ||
"}\n" | ||
"```" | ||
msgstr "" | ||
|
@@ -2968,7 +2968,7 @@ msgstr "" | |
"}\n" | ||
"\n" | ||
"package PackageA {\n" | ||
" local paramA: u32 = 1;\n" | ||
" const paramA: u32 = 1;\n" | ||
"}\n" | ||
"```" | ||
|
||
|
@@ -6299,7 +6299,7 @@ msgid "" | |
"pub module ModuleA #(\n" | ||
" /// Data width\n" | ||
" param ParamA: u32 = 1,\n" | ||
" local ParamB: u32 = 1,\n" | ||
" const ParamB: u32 = 1,\n" | ||
") (\n" | ||
" i_clk : input clock , /// Clock\n" | ||
" i_rst : input reset , /// Reset\n" | ||
|
@@ -6872,9 +6872,6 @@ msgid "" | |
"LetTerm : <INITIAL, Generic >/(?-u:\\b)let(?-u:" | ||
"\\b)/ : " | ||
"Token;\n" | ||
"LocalTerm : <INITIAL, Generic >/(?-u:\\b)local(?-u:" | ||
"\\b)/ : " | ||
"Token;\n" | ||
"LogicTerm : <INITIAL, Generic >/(?-u:\\b)logic(?-u:" | ||
"\\b)/ : " | ||
"Token;\n" | ||
|
@@ -7055,7 +7052,6 @@ msgid "" | |
"InterfaceToken : InterfaceTerm : Token Comments;\n" | ||
"InToken : InTerm : Token Comments;\n" | ||
"LetToken : LetTerm : Token Comments;\n" | ||
"LocalToken : LocalTerm : Token Comments;\n" | ||
"LogicToken : LogicTerm : Token Comments;\n" | ||
"LsbToken : LsbTerm : Token Comments;\n" | ||
"ModportToken : ModportTerm : Token Comments;\n" | ||
|
@@ -7189,7 +7185,6 @@ msgid "" | |
"Inst : InstToken : VerylToken;\n" | ||
"Interface : InterfaceToken : VerylToken;\n" | ||
"Let : LetToken : VerylToken;\n" | ||
"Local : LocalToken : VerylToken;\n" | ||
"Logic : LogicToken : VerylToken;\n" | ||
"Lsb : LsbToken : VerylToken;\n" | ||
"Modport : ModportToken : VerylToken;\n" | ||
|
@@ -7488,7 +7483,7 @@ msgid "" | |
"\n" | ||
"VarDeclaration: Var Identifier Colon [ ClockDomain ] ArrayType Semicolon;\n" | ||
"\n" | ||
"LocalDeclaration: Local Identifier Colon ( ArrayType Equ Expression | Type " | ||
"ConstDeclaration: Const Identifier Colon ( ArrayType Equ Expression | Type " | ||
"Equ TypeExpression ) Semicolon;\n" | ||
"\n" | ||
"TypeDefDeclaration: Type Identifier Equ ArrayType Semicolon;\n" | ||
|
@@ -7577,7 +7572,7 @@ msgid "" | |
"WithParameterGroup: { Attribute } ( LBrace WithParameterList RBrace | " | ||
"WithParameterItem );\n" | ||
"\n" | ||
"WithParameterItem: ( Param | Local ) Identifier Colon ( ArrayType Equ " | ||
"WithParameterItem: ( Param | Const ) Identifier Colon ( ArrayType Equ " | ||
"Expression | Type Equ TypeExpression );\n" | ||
"\n" | ||
"// " | ||
|
@@ -7698,7 +7693,7 @@ msgid "" | |
" | VarDeclaration\n" | ||
" | InstDeclaration\n" | ||
" | TypeDefDeclaration\n" | ||
" | LocalDeclaration\n" | ||
" | ConstDeclaration\n" | ||
" | AlwaysFfDeclaration\n" | ||
" | AlwaysCombDeclaration\n" | ||
" | AssignDeclaration\n" | ||
|
@@ -7740,7 +7735,7 @@ msgid "" | |
"\n" | ||
"InterfaceItem: LetDeclaration\n" | ||
" | VarDeclaration\n" | ||
" | LocalDeclaration\n" | ||
" | ConstDeclaration\n" | ||
" | ModportDeclaration\n" | ||
" | InterfaceIfDeclaration\n" | ||
" | InterfaceForDeclaration\n" | ||
|
@@ -7767,7 +7762,7 @@ msgid "" | |
"PackageItem );\n" | ||
"\n" | ||
"PackageItem: VarDeclaration\n" | ||
" | LocalDeclaration\n" | ||
" | ConstDeclaration\n" | ||
" | TypeDefDeclaration\n" | ||
" | EnumDeclaration\n" | ||
" | StructUnionDeclaration\n" | ||
|