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

View File

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

View File

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

View File

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

View File

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