Math2mat
Public Member Functions

m2m.backend.vhdl.CompileScriptCreator Class Reference

Create script for QuestaSim. More...

Collaboration diagram for m2m.backend.vhdl.CompileScriptCreator:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 CompileScriptCreator (Function top)
boolean createCompileScript (M2MProject project, String projectPath, String outFile)

Detailed Description

Create script for QuestaSim.

Creates the script for QuestaSim to compile VHDL and System Verilog files. It also loads the testbench and launches it.

Author:
Sebastien Masle
sebastien.masle@heig-vd.ch

Definition at line 31 of file CompileScriptCreator.java.


Constructor & Destructor Documentation

m2m.backend.vhdl.CompileScriptCreator.CompileScriptCreator ( Function  top)

Definition at line 36 of file CompileScriptCreator.java.


Member Function Documentation

boolean m2m.backend.vhdl.CompileScriptCreator.createCompileScript ( M2MProject  project,
String  projectPath,
String  outFile 
)

Constructor. Creates the file and writes a string in it.

Parameters:
projectPathPath to the project directory.
outFileThe VDHL output file (produced from the m2m function).
Returns:
True if succeed. False otherwise.

Definition at line 47 of file CompileScriptCreator.java.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations