tag 标签: 文件读写

相关资源
  • 所需E币: 4
    时间: 2019-12-25 09:48
    大小: 140KB
    上传者: 2iot
    verilog文件读写教程ReadingandwritingfilesfromVerilogmodelsIntroductionThisdescribeshowyoucanreadandwritefilesinaVerilogmodelusingasetofuserfunctions,basedontheCstdiopackage.WiththesefunctionsyoucanperformfileinputandoutputdirectlyinVerilogmodelswithouthavingtolearnCorthePLI.ThiscodeworkswithVCS,MTI,Verilog-XL,andNC-Verilog(see$freadforonerestriction).NotethatSynopsys'VCS6.1,NC-Verilog3.3,andMTI'sModelSim5.5offernativesupportfortheIEEE-13642001standard.Verilog-XLdoesnotsupportthesetasksexceptthroughthisPLIapplication.•Copyright•Overview•DifferencesbetweenfileioandIEEE-1364Verilog-2001standard•FileInputFunctions•RestrictionsandCaveats•Readingpatternfiles•Compa……