OpenFPGA/openfpga_flow/benchmarks/micro_benchmark/and2/and2.eblif

20 lines
398 B
Plaintext

# This is an artificial microbenchmark
# which is designed to validate the support
# on using bitstream information from the .param
# attribute of hard macro of LUTs
#
.model and2
.inputs a b
.outputs c
.subckt adder_lut in[1]=a in[0]=b lut4_out[0]=c
.param LUT 1010101010101010
.end
.model adder_lut4
.inputs in[3] in[2] in[1] in[0]
.outputs lut2_out[1] lut2_out[0] lut4_out[0]
.blackbox
.end