Bitwidth Analysis Tool Code
Status: Beta
Brought to you by:
derrickgw
File | Date | Author | Commit |
---|---|---|---|
.settings | 2011-06-02 | derrickgw | [r1] First Import |
examples | 2011-06-02 | derrickgw | [r1] First Import |
jars | 2011-06-02 | derrickgw | [r1] First Import |
src | 2011-07-06 | derrickgw | [r2] Added support for Gaussian input for simulation |
.classpath | 2011-07-06 | derrickgw | [r2] Added support for Gaussian input for simulation |
.project | 2011-06-02 | derrickgw | [r1] First Import |
BitwidthLibrary.xml | 2011-06-02 | derrickgw | [r1] First Import |
README | 2011-06-02 | derrickgw | [r1] First Import |
UserLibrary.xml | 2011-06-02 | derrickgw | [r1] First Import |
license.html | 2011-06-02 | derrickgw | [r1] First Import |
log.html | 2011-06-02 | derrickgw | [r1] First Import |
makeJar.sh | 2011-06-02 | derrickgw | [r1] First Import |
manifest.mf | 2011-06-02 | derrickgw | [r1] First Import |
ptolemy_license.txt | 2011-06-02 | derrickgw | [r1] First Import |
runCustomPtolemy.sh | 2011-06-02 | derrickgw | [r1] First Import |
runModel.sh | 2011-06-02 | derrickgw | [r1] First Import |
runSimulinkParser.sh | 2011-06-02 | derrickgw | [r1] First Import |
Bitwidth Analysis Tool (BAT) The Bitwidth Analysis Tool is an extension to Berkely's Ptolemy project. As such it has several dependencies, the first being Ptolemy. Ptolemy is available for download at: http://ptolemy.berkeley.edu/ptolemyII/ptII8.0/index.htm To run the program, you run Ptolemy with the BAT jarfile in the classpath. You then need to add the UserLibrary xml file so that you can see the new classes. The project also uses the apache commons libraries, and requires those to run. They are in the jar file, but can be downloaded here http://commons.apache.org/logging/ and http://logging.apache.org/log4j/1.2/ The simulink parser depends on severl jar files from ccms. They are ccsm-coomons, ccsm-simulink and cup-runtime, available here: http://conqat.in.tum.de/index.php/Simulink_Library. If you do not wish to use the parser, you will not need these three jar files. Here is an example commandline to run the bitwidth analysis tool: java -cp bat.jar:jars/ptolemy.jar:jars/log4j-1.2.15.jar:jars/commons-logging-1.1.1.jar ptolemy.vergil.VergilApplication test_circuit.xml To run the parser, you can run: java -cp bin:ptolemy.jar:ccsm-commons.jar:ccsm-simulink.jar:cup-runtime.jar:log4j-1.2.15.jar:commons-logging-1.1.1.jar \ edu.byu.ece.bitwidth.ptolemy.parser.simulink.SimulinkParser simulink_test.mdl Not all simulink blocks are supported.