vsg.vhdlFile¶
This is one of two classes you will use when incorporating vsg into another python program.
-
class
vsg.vhdlFile.
vhdlFile
(filecontent, sFilename=None, eError=None)¶ Holds contents of a VHDL file. When a vhdlFile object is created, the contents of the file must be passed to it. A line object is created for each line read in. Then the line object attributes are updated.
Parameters:
filecontent: (list)Returns:
fileobject