mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-24 01:25:33 +00:00
cellhelp: Rename short_desc to title
This commit is contained in:
parent
1e5a50ff3a
commit
784292626e
3 changed files with 7 additions and 7 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue