BYU Home page BRIGHAM YOUNG UNIVERSITY
Department Title
Navigation Menu


Demo - Using Java EDIF


Make sure that you have followed the instructions about downloading the two jars and adding them to your class path before proceeding.

RHinO Power Demo with new TreeBrowser:

  • Download these jars for the demo: jar 1, jar 2, jar 3.
  • Go to the directory where you downloaded the jars and type:
    For bash (cygwin): java -classpath "JHDLTreePort.jar;rhinoTreePort.jar;jfreechart-0.9.3-custom.jar" PowerDemo
    For linux: java -classpath "JHDLTreePort.jar:rhinoTreePort.jar:jfreechart-0.9.3-custom.jar" PowerDemo
  • Note: The circuit will display in cvt, and then the power tool will appear. Wait for the 1000 cycles to go by (it may take half a minute), and then the power plot will appear.

Loading an EDIF Design Directly into CVT (Circuit Visualization Tool):

  • Download this edif file for the demo
  • Go to the directory where you downloaded signalGen.edf and type:
    java byucc.edif.jhdl.BuildWrapper -t Virtex -f signalGen.edf
  • Note: The circuit will display in cvt

Merging Multiple EDIF Files:

  • Download this top file, this sub file, and this sub file for the demo
  • Go to the directory where you downloaded the three files and type:
    java byucc.edif.jhdl.BuildWrapper -t Virtex2 -f osiris_chip.edf -L . -wedif merged.edf
  • Note: The merged file will save to merged.edf, and the circuit will display in cvt

EDIF, JHDL and RHinO integration:

  • Note: For this demo you will need the rhino.jar and the jfreechart-0.9.3-custom.jar from USC ISI-East, and load them into your CLASSPATH (see the instructions on the Downloads page for help on adding these to your CLASSPATH)
  • Download this edif file for the demo
  • Go to the directory where you downloaded the file and type:
    java byucc.edif.jhdl.BuildWrapper -t Virtex -f signalGen.edf
  • Go to the command line interpreter and type:
    loadModule isi.jhdl.rhino.power.RhinoPower
  • Do the folowing: Select a cell, then on the menu bar click Power => Monitor Selected Cell
  • Go to the command line interpreter within JHDL and type:
    put clk [0 1]
    cycle 1000
  • Note: The circuit's power consumption should be summarized as color-coded cells in the RHinO Power Estimator window

Other Uses:

  • To view the usage message for BuildWrapper type:
    java byucc.edif.jhdl.BuildWrapper --usage
  • To view the list of command line options that BuildWrapper supports type:
    java byucc.edif.jhdl.BuildWrapper --help
  • Feel free experimenting with the different command line options available
  • Enjoy!


This work has been sponsored by the NASA AIST program under subcontract to USC-ISI East.
Related Links