Run maxplus2
maxplus2_runExecute MAX+PLUS II compile, simulate, timing, or convert jobs with a hard timeout; report changed artifacts and parsed summaries. Use async for long runs to avoid client timeouts.
Instructions
Execute maxplus2.exe (compile / simulate / timing / convert) with a hard timeout, then report which artifacts changed and the parsed report summary. Beware: this starts a 2002-era Win32 process that can block on modal dialogs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Working directory for the child process. Defaults to the project directory, which is where MAX+PLUS II expects to run. | |
| root | No | MAX+PLUS II installation root, for example C:\maxplus2. Defaults to MAXPLUS2_ROOT, then a scan of common paths. | |
| async | No | Run in the background and return a jobId immediately instead of blocking. Use for any compile or simulation that may outrun the client timeout: a client timeout does NOT stop the child process, so a blocking call that is abandoned keeps running with nobody holding the result. Poll with job_status. | |
| taReg | No | Run the Timing Analyzer in Registered Performance mode (-ta_reg). | |
| outHex | No | HEX output (-hex). REJECTED by this build; compiling already writes <project>.hex. | |
| outJ11 | No | HEX output (-hex). REJECTED by this build; compiling already writes <project>.hex. | |
| outJam | No | JAM STAPL output (-jam). REJECTED by this build. | |
| outJb1 | No | JBC 1.0 output (-jb1). REJECTED by this build. | |
| outJbc | No | JBC 2.0 output (-jbc). REJECTED by this build. | |
| outPof | No | POF output (-pof). REJECTED by this build, but compiling writes <project>.pof anyway. | |
| outRbf | No | RBF output (-rbf). REJECTED by this build. | |
| outSbf | No | SBF output (-sbf). REJECTED by this build. | |
| outSvf | No | SVF output (-svf). REJECTED by this build, so this installation cannot derive a JTAG programming file. | |
| outTtf | No | TTF output file (-ttf). REJECTED by this build; compiling writes <project>.ttf. | |
| simCmd | No | Simulator command file (-cmd). REJECTED by this build. | |
| simHst | No | Simulator command file (-cmd). REJECTED by this build. | |
| simScf | No | Stimulus file. A .vec is converted by the Simulator; END_TIME must be 0.0ns for that to span the run. | |
| simTbl | No | Where to write the simulator result table. Plain text, and what verification reads back. | |
| simVec | No | Stimulus file. A .vec is converted by the Simulator; END_TIME must be 0.0ns for that to span the run. | |
| compile | No | Run the Compiler (-c). This also writes the .pof, .rpt and .pin artifacts. | |
| convert | No | Convert object files (-convert). | |
| project | Yes | Project name (for example "top") or an absolute path to its .acf file. A bare name is resolved against workspace, and is rejected as ambiguous if several projects share it. | |
| rebuild | No | Back up/move matching top and numbered hierarchy CNF before compile to force source extraction (default true); false requests native incremental reuse. | |
| taDelay | No | Run the Timing Analyzer in Delay Matrix mode (-ta_delay). | |
| taSetup | No | Run the Timing Analyzer in Setup/Hold Matrix mode (-ta_setup). | |
| simulate | No | Run the Simulator (-s). Requires stimulus: pass simScf, or leave a .scf or a matching .vec next to the project. | |
| timeoutMs | No | Hard timeout, default 900000 (15 min). | |
| workspace | No | Directory that a relative project name is resolved against. Defaults to MAXPLUS2_WORKSPACE, then the server working directory. | |
| ignoreErrors | No | Continue past errors (-i). Use when you want every diagnostic from one run rather than stopping at the first failure. | |
| timingAnalyzerOutput | No | File for Timing Analyzer output. Each analysis mode is emitted with its own -tao, so multiple modes cannot overwrite one file. |