diff --git a/examples/example_1.act b/examples/example_1.act new file mode 100644 index 000000000..19fd43010 --- /dev/null +++ b/examples/example_1.act @@ -0,0 +1,4 @@ +I0 0.478200 0.190600 +clk 0.493600 0.194000 +Q0 0.521800 0.190600 +n7 0.521800 0.099455 diff --git a/examples/example_1.blif b/examples/example_1.blif index b696e7312..eaf9b1fdb 100644 --- a/examples/example_1.blif +++ b/examples/example_1.blif @@ -1,13 +1,10 @@ -# Baudouin Chauviere University of Utah 30 September 2018 -# Benchmark doing an inverter - +# Benchmark "inverter.bench" written by ABC on Wed Nov 14 13:52:06 2018 .model inverter.bench .inputs I0 clk .outputs Q0 -.latch n0 Q0 re clk 0 +.latch n7 Q0 re clk 0 -.names I0 n0 +.names I0 n7 0 1 - -.end \ No newline at end of file +.end diff --git a/examples/example_1.sh b/examples/example_1.sh index 5e6256400..0a3d284e5 100755 --- a/examples/example_1.sh +++ b/examples/example_1.sh @@ -3,7 +3,7 @@ # Pack, place, and route a heterogeneous FPGA # Packing uses the AAPack algorithm -../vpr7_x2p/vpr/vpr ./example_1.xml ./example_1.blif --full_stats --nodisp --route_chan_width 30 --fpga_spice --fpga_spice_rename_illegal_port --fpga_spice_dir ./spice_test --fpga_spice_print_top_testbench --fpga_spice_print_grid_testbench --fpga_spice_print_cb_testbench --fpga_spice_print_sb_testbench --fpga_spice_print_lut_testbench --fpga_spice_print_hardlogic_testbench --fpga_spice_print_pb_mux_testbench --fpga_spice_print_cb_mux_testbench --fpga_spice_print_sb_mux_testbench --fpga_verilog --fpga_verilog_dir ./verilog_test +../vpr7_x2p/vpr/vpr ./example_1.xml ./example_1.blif --full_stats --nodisp --route_chan_width 30 --fpga_spice --fpga_spice_rename_illegal_port --fpga_spice_dir ./spice_test_example_1 --fpga_spice_print_top_testbench --fpga_spice_print_grid_testbench --fpga_spice_print_cb_testbench --fpga_spice_print_sb_testbench --fpga_spice_print_lut_testbench --fpga_spice_print_hardlogic_testbench --fpga_spice_print_pb_mux_testbench --fpga_spice_print_cb_mux_testbench --fpga_spice_print_sb_mux_testbench --fpga_verilog --fpga_verilog_dir ./verilog_test_example_1 diff --git a/examples/example_1.xml b/examples/example_1.xml index 0bf993ffc..79c3c940f 100644 --- a/examples/example_1.xml +++ b/examples/example_1.xml @@ -25,7 +25,8 @@ - + + @@ -63,13 +64,23 @@ - - + + - - + + + + + + + + + + + + @@ -77,86 +88,106 @@ - - + + - - + + - - + + + + + + + + + + + + - - + + - + - + + + + + + + + + + + - + - - - + + + - - + + - - - - + + + + - - + + - - - + + + - - + + - - - + + + - - - - - + + + + + - - - + + + - + - - + + @@ -164,8 +195,8 @@ - - + + @@ -176,25 +207,25 @@ - + - + - + 1 1 1 1 1 1 1 1 1 - + 1 1 1 1 1 - + 1 1 1 @@ -208,7 +239,7 @@ - + @@ -223,7 +254,7 @@ - + @@ -233,7 +264,7 @@ - + @@ -289,7 +320,7 @@ - + @@ -302,7 +333,7 @@ - + @@ -317,7 +348,7 @@ --> - + @@ -332,7 +363,7 @@ - + @@ -369,4 +400,4 @@ - \ No newline at end of file + diff --git a/examples/example_2.act b/examples/example_2.act new file mode 100644 index 000000000..e59326b48 --- /dev/null +++ b/examples/example_2.act @@ -0,0 +1,4 @@ +I0 0.501800 0.202600 +clk 0.488800 0.199600 +Q0 0.498200 0.202600 +n7 0.498200 0.100935 diff --git a/examples/example_2.blif b/examples/example_2.blif index aeb37025b..de9f0eeb8 100644 --- a/examples/example_2.blif +++ b/examples/example_2.blif @@ -1,13 +1,10 @@ -# Baudouin Chauviere University of Utah 30 September 2018 -# Benchmark doing an inverter - +# Benchmark "example_2.bench" written by ABC on Wed Nov 14 11:42:18 2018 .model example_2.bench .inputs I0 clk .outputs Q0 -.latch n0 Q0 re clk 0 +.latch n7 Q0 re clk 0 -.names I0 n0 +.names I0 n7 0 1 - -.end \ No newline at end of file +.end diff --git a/examples/example_2.sh b/examples/example_2.sh index 403736f7d..74041f62e 100755 --- a/examples/example_2.sh +++ b/examples/example_2.sh @@ -3,7 +3,6 @@ # Pack, place, and route a heterogeneous FPGA # Packing uses the AAPack algorithm -../vpr7_x2p/vpr/vpr ./example_2.xml ./example_2.blif --full_stats --nodisp --route_chan_width 30 --fpga_spice --fpga_spice_rename_illegal_port --fpga_spice_dir ./spice_test --fpga_spice_print_top_testbench --fpga_spice_print_grid_testbench --fpga_spice_print_cb_testbench --fpga_spice_print_sb_testbench --fpga_spice_print_lut_testbench --fpga_spice_print_hardlogic_testbench --fpga_spice_print_pb_mux_testbench --fpga_spice_print_cb_mux_testbench --fpga_spice_print_sb_mux_testbench --fpga_verilog --fpga_verilog_dir ./verilog_test - +../vpr7_x2p/vpr/vpr ./example_2.xml ./example_2.blif --full_stats --nodisp --route_chan_width 100 --fpga_spice --fpga_spice_rename_illegal_port --fpga_spice_dir ./spice_test_example_2 --fpga_spice_print_top_testbench --fpga_spice_print_grid_testbench --fpga_spice_print_cb_testbench --fpga_spice_print_sb_testbench --fpga_spice_print_lut_testbench --fpga_spice_print_hardlogic_testbench --fpga_spice_print_pb_mux_testbench --fpga_spice_print_cb_mux_testbench --fpga_spice_print_sb_mux_testbench --fpga_verilog --fpga_verilog_dir ./verilog_test_example_2 diff --git a/examples/example_2.xml b/examples/example_2.xml index c5b479a56..846f9dc4c 100644 --- a/examples/example_2.xml +++ b/examples/example_2.xml @@ -24,8 +24,8 @@ - - + + @@ -42,7 +42,6 @@ - @@ -64,13 +63,23 @@ - - + + - - + + + + + + + + + + + + @@ -78,86 +87,106 @@ - - + + - - + + - - + + + + + + + + + + + + + + + + + + + + + + - - + + - + - + - + - - - + + + - - + + - - - - + + + + - - + + - - - + + + - - + + - - - + + + - - - - - + + + + + - - - + + + - + - - + + @@ -165,8 +194,8 @@ - - + + @@ -177,25 +206,25 @@ - + - + - + 1 1 1 1 1 1 1 1 1 - + 1 1 1 1 1 - + 1 1 1 @@ -209,7 +238,7 @@ - + @@ -224,7 +253,7 @@ - + @@ -234,7 +263,7 @@ - + @@ -270,13 +299,13 @@ - - + + - + @@ -289,7 +318,7 @@ - + @@ -304,7 +333,7 @@ - + @@ -319,7 +348,7 @@ - + @@ -334,13 +363,13 @@ - - - + + + - - - + + + @@ -365,4 +394,4 @@ - \ No newline at end of file +