mirror of
https://github.com/Silicon1602/srdl2sv.git
synced 2024-12-22 06:58: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):
|
def get_description(self):
|
||||||
if self.config['descriptions'][self.__class__.__name__]:
|
if self.config['descriptions'][self.__class__.__name__]:
|
||||||
if desc := self.obj.get_property('desc'):
|
if desc := self.obj.get_property('desc'):
|
||||||
return self.process_yaml(
|
return self._process_yaml(
|
||||||
self.templ_dict['description'],
|
self.templ_dict['description'],
|
||||||
{'desc': desc},
|
{'desc': desc},
|
||||||
)
|
)
|
||||||
|
@ -58,7 +58,7 @@ header: |-
|
|||||||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||||
* OTHER DEALINGS IN THE SOFTWARE.
|
* OTHER DEALINGS IN THE SOFTWARE.
|
||||||
****************************************************************/
|
****************************************************************/
|
||||||
addrmap_desc:
|
description:
|
||||||
rtl: |-
|
rtl: |-
|
||||||
|
|
||||||
/*******************************************************************
|
/*******************************************************************
|
||||||
|
@ -200,7 +200,7 @@ field_comment:
|
|||||||
// external : {external}
|
// external : {external}
|
||||||
// storage type : {storage_type}
|
// storage type : {storage_type}
|
||||||
//-----------------------------------------------
|
//-----------------------------------------------
|
||||||
field_desc:
|
description:
|
||||||
rtl: |-
|
rtl: |-
|
||||||
|
|
||||||
/********************DESCRIPTION*****************
|
/********************DESCRIPTION*****************
|
||||||
|
@ -8,7 +8,7 @@ regfile_comment:
|
|||||||
* DEPTHS (per dimension): {depth}
|
* DEPTHS (per dimension): {depth}
|
||||||
*******************************************************************
|
*******************************************************************
|
||||||
*******************************************************************/
|
*******************************************************************/
|
||||||
regfile_desc:
|
description:
|
||||||
rtl: |-
|
rtl: |-
|
||||||
|
|
||||||
/**REGFILE DESCRIPTION**********************************************
|
/**REGFILE DESCRIPTION**********************************************
|
||||||
|
@ -59,7 +59,7 @@ reg_comment: |-
|
|||||||
/* DEPTHS (per dimension): {depth}
|
/* DEPTHS (per dimension): {depth}
|
||||||
/*******************************************************************
|
/*******************************************************************
|
||||||
/*******************************************************************/
|
/*******************************************************************/
|
||||||
reg_desc:
|
description:
|
||||||
rtl: |-
|
rtl: |-
|
||||||
|
|
||||||
/**REGISTER DESCRIPTION*********************************************
|
/**REGISTER DESCRIPTION*********************************************
|
||||||
|
Loading…
Reference in New Issue
Block a user