cellhelp: Rename short_desc to title
This commit is contained in:
@@ -6,7 +6,7 @@ import json
|
||||
|
||||
class SimHelper:
|
||||
name: str = ""
|
||||
short_desc: str = ""
|
||||
title: str = ""
|
||||
ports: str = ""
|
||||
desc: list[str]
|
||||
code: list[str]
|
||||
@@ -18,7 +18,7 @@ class SimHelper:
|
||||
def __str__(self) -> str:
|
||||
val = "tempCell = {\n"
|
||||
val += f' {json.dumps(self.name)},\n'
|
||||
val += f' {json.dumps(self.short_desc)},\n'
|
||||
val += f' {json.dumps(self.title)},\n'
|
||||
val += f' {json.dumps(self.ports)},\n'
|
||||
val += ' ' + json.dumps("\n".join(self.desc)) + ',\n'
|
||||
val += ' ' + json.dumps("\n".join(self.code)) + ',\n'
|
||||
|
||||
@@ -622,7 +622,7 @@ endmodule
|
||||
// --------------------------------------------------------
|
||||
|
||||
//* ver 2
|
||||
//* short_desc Arithmetic logic unit
|
||||
//* title Arithmetic logic unit
|
||||
//- A building block supporting both binary addition/subtraction operations, and
|
||||
//- indirectly, comparison operations.
|
||||
//- Typically created by the `alumacc` pass, which transforms:
|
||||
|
||||
Reference in New Issue
Block a user