1package xiangshan.backend.issue 2 3import freechips.rocketchip.diplomacy.LazyModule 4import top.{ArgParser, BaseConfig, Generator} 5import xiangshan.{XSCoreParameters, XSCoreParamsKey} 6 7object IssueQueueMain extends App { 8 val (config, firrtlOpts, firtoolOpts) = ArgParser.parse(args) 9 10 val backendParams = config(XSCoreParamsKey).backendParams 11 12 val iqParams: IssueBlockParams = backendParams.intSchdParams.get.issueBlockParams.head 13 val iq: IssueQueue = LazyModule(new IssueQueue(iqParams)(config)) 14 15 Generator.execute( 16 firrtlOpts, 17 iq.module, 18 firtoolOpts 19 ) 20} 21