add or2 microbenchmark for testing external arch bitstream
This commit is contained in:
parent
4174fbf77d
commit
cec6bf0b6f
|
@ -0,0 +1,3 @@
|
||||||
|
a 0.5 0.5
|
||||||
|
b 0.5 0.5
|
||||||
|
c 0.25 0.75
|
|
@ -0,0 +1,8 @@
|
||||||
|
.model or2
|
||||||
|
.inputs a b
|
||||||
|
.outputs c
|
||||||
|
|
||||||
|
.names a b c
|
||||||
|
00 0
|
||||||
|
|
||||||
|
.end
|
|
@ -0,0 +1,18 @@
|
||||||
|
/////////////////////////////////////////
|
||||||
|
// Functionality: 2-input OR
|
||||||
|
// Author: Xifan Tang
|
||||||
|
////////////////////////////////////////
|
||||||
|
`timescale 1ns / 1ps
|
||||||
|
|
||||||
|
module or2(
|
||||||
|
a,
|
||||||
|
b,
|
||||||
|
c);
|
||||||
|
|
||||||
|
input wire a;
|
||||||
|
input wire b;
|
||||||
|
output wire c;
|
||||||
|
|
||||||
|
assign c = a | b;
|
||||||
|
|
||||||
|
endmodule
|
|
@ -25,7 +25,7 @@ openfpga_external_arch_bitstream_file=${PATH:OPENFPGA_PATH}/openfpga_flow/arch_b
|
||||||
arch0=${PATH:OPENFPGA_PATH}/openfpga_flow/vpr_arch/k4_N4_tileable_40nm.xml
|
arch0=${PATH:OPENFPGA_PATH}/openfpga_flow/vpr_arch/k4_N4_tileable_40nm.xml
|
||||||
|
|
||||||
[BENCHMARKS]
|
[BENCHMARKS]
|
||||||
bench0=${PATH:OPENFPGA_PATH}/openfpga_flow/benchmarks/micro_benchmark/and2/and2.v
|
bench0=${PATH:OPENFPGA_PATH}/openfpga_flow/benchmarks/micro_benchmark/or2/or2.v
|
||||||
|
|
||||||
[SYNTHESIS_PARAM]
|
[SYNTHESIS_PARAM]
|
||||||
bench0_top = and2
|
bench0_top = and2
|
||||||
|
|
Loading…
Reference in New Issue