************************************
*				   *
*	README FOR Simulink2BIP    *
*				   *
************************************

1)To parse a Simulink model, run the following command from your console (you 
should be in the same directory with the .jar file)

java -jar Simulink2BIP.jar model.mdl model.bip

where model.mdl is the Simulink model to be parsed and 
model.bip is the generated BIP file of the model. 

2) Compile the library simulinkLib.bip using the following commands:

bipc --genC-execute -f simulinkLib.bip

g++ -c simulinkLib.bip.C

NOTE: You need to compile the library only once

3) Compile the generated .bip file of the model typing: (you should already 
have a distribution of Synchronous BIP installed)

bipc --genC-execute -I /LibraryDirectory -f model.bip

where LibraryDirectory is the location of the simulinkLib.bip

4) Compile the generated .C file using:

g++ -c enable.bip.C

5) Create the executable using:

g++ -o executable model.bip.o /LibraryDirectory/simulinkLib.bip.o
