Skip to content

Commit

Permalink
add LUT6_2 support
Browse files Browse the repository at this point in the history
  • Loading branch information
lehaifeng000 authored and hansfbaier committed Jun 20, 2024
1 parent 0a12afd commit dea2f28
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions xilinx/fasm.cc
Original file line number Diff line number Diff line change
Expand Up @@ -379,6 +379,8 @@ struct FasmBackend
return {ctx->id("I0"), ctx->id("I1"), ctx->id("I2"), ctx->id("I3"), ctx->id("I4")};
else if (type == ctx->id("LUT6"))
return {ctx->id("I0"), ctx->id("I1"), ctx->id("I2"), ctx->id("I3"), ctx->id("I4"), ctx->id("I5")};
else if (type == ctx->id("LUT6_2"))
return {ctx->id("I0"), ctx->id("I1"), ctx->id("I2"), ctx->id("I3"), ctx->id("I4"), ctx->id("I5")};
else if (type == ctx->id("RAMD64E"))
return {ctx->id("RADR0"), ctx->id("RADR1"), ctx->id("RADR2"),
ctx->id("RADR3"), ctx->id("RADR4"), ctx->id("RADR5")};
Expand Down

0 comments on commit dea2f28

Please sign in to comment.