Fix bug that prevented descriptions from being generated inserted

This commit is contained in:
Dennis Potter 2021-11-06 10:57:46 -07:00
parent 85598af11e
commit 5d3fd14144
Signed by: Dennis
GPG Key ID: 186A8AD440942BAF
5 changed files with 5 additions and 5 deletions

View File

@ -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},
)

View File

@ -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: |-
/*******************************************************************

View File

@ -200,7 +200,7 @@ field_comment:
// external : {external}
// storage type : {storage_type}
//-----------------------------------------------
field_desc:
description:
rtl: |-
/********************DESCRIPTION*****************

View File

@ -8,7 +8,7 @@ regfile_comment:
* DEPTHS (per dimension): {depth}
*******************************************************************
*******************************************************************/
regfile_desc:
description:
rtl: |-
/**REGFILE DESCRIPTION**********************************************

View File

@ -59,7 +59,7 @@ reg_comment: |-
/* DEPTHS (per dimension): {depth}
/*******************************************************************
/*******************************************************************/
reg_desc:
description:
rtl: |-
/**REGISTER DESCRIPTION*********************************************