mirror of
https://github.com/Silicon1602/srdl2sv.git
synced 2024-12-21 22:48:41 +00:00
Fix bug that prevented descriptions from being generated inserted
This commit is contained in:
parent
85598af11e
commit
5d3fd14144
@ -383,7 +383,7 @@ class Component():
|
||||
def get_description(self):
|
||||
if self.config['descriptions'][self.__class__.__name__]:
|
||||
if desc := self.obj.get_property('desc'):
|
||||
return self.process_yaml(
|
||||
return self._process_yaml(
|
||||
self.templ_dict['description'],
|
||||
{'desc': desc},
|
||||
)
|
||||
|
@ -58,7 +58,7 @@ header: |-
|
||||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
* OTHER DEALINGS IN THE SOFTWARE.
|
||||
****************************************************************/
|
||||
addrmap_desc:
|
||||
description:
|
||||
rtl: |-
|
||||
|
||||
/*******************************************************************
|
||||
|
@ -200,7 +200,7 @@ field_comment:
|
||||
// external : {external}
|
||||
// storage type : {storage_type}
|
||||
//-----------------------------------------------
|
||||
field_desc:
|
||||
description:
|
||||
rtl: |-
|
||||
|
||||
/********************DESCRIPTION*****************
|
||||
|
@ -8,7 +8,7 @@ regfile_comment:
|
||||
* DEPTHS (per dimension): {depth}
|
||||
*******************************************************************
|
||||
*******************************************************************/
|
||||
regfile_desc:
|
||||
description:
|
||||
rtl: |-
|
||||
|
||||
/**REGFILE DESCRIPTION**********************************************
|
||||
|
@ -59,7 +59,7 @@ reg_comment: |-
|
||||
/* DEPTHS (per dimension): {depth}
|
||||
/*******************************************************************
|
||||
/*******************************************************************/
|
||||
reg_desc:
|
||||
description:
|
||||
rtl: |-
|
||||
|
||||
/**REGISTER DESCRIPTION*********************************************
|
||||
|
Loading…
Reference in New Issue
Block a user