Skip to content

Commit

Permalink
Updated instructions to run tool.
Browse files Browse the repository at this point in the history
  • Loading branch information
ANDREW NICHOLS CRAWFORD TAYLOR committed Mar 31, 2021
1 parent d2cc2d6 commit 73f75ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Demo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
For this demo we show the capabilities of the LSOracle tool on a benchmark from the OpenPiton Design Benchmark (OPDB) suite. Optimization of this file requires only 3 commands: read_aig, partitioning, and optimization.

```{r, engine='bash', count_lines}
./lstools #run the tool
build/core/lsoracle #run the tool
read_aig chip_bridge.aig #read in the OpenPiton benchmark as an AIG network
partitioning 415 #perform k-way hypergraph partitioning, any number of partitions can be used but 415 were used in the demo since this partition number creates partitions with about 300 nodes in all partitions
optimization -b -o chip_bridge_out.v #perform mixed synthesis optimization and write out the optimized Verilog file
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ LSOracle is available as a docker image on [Dockerhub](https://hub.docker.com/u/
[![a video tutorial for LSOracle](http://img.youtube.com/vi/W8SO2rTiLUY/0.jpg)](http://www.youtube.com/watch?v=W8SO2rTiLUY "LSOracle Tutorial")

```{r, engine='bash', count_lines}
./lstools # run the tool
build/core/lsoracle # run the tool
read my_file.blif # read a file in either blif or AIG format (determined by file extension)
oracle # partitions network and optimizes each partition with either AIG or MIG optimization recipes
write_verilog my_output.v # outputs the optimized network in Verilog format
Expand Down

0 comments on commit 73f75ef

Please sign in to comment.