Skip to content

Commit

Permalink
clangformat
Browse files Browse the repository at this point in the history
  • Loading branch information
mmicko committed Nov 29, 2024
1 parent 858ff54 commit 96b073c
Show file tree
Hide file tree
Showing 11 changed files with 1,831 additions and 1,569 deletions.
313 changes: 194 additions & 119 deletions himbaechel/uarch/ng-ultra/bitstream.cc

Large diffs are not rendered by default.

378 changes: 190 additions & 188 deletions himbaechel/uarch/ng-ultra/csv.cc

Large diffs are not rendered by default.

27 changes: 17 additions & 10 deletions himbaechel/uarch/ng-ultra/extra_data.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,15 @@ NPNR_PACKED_STRUCT(struct NGUltraPipExtraDataPOD {

NPNR_PACKED_STRUCT(struct NGUltraBelExtraDataPOD { int32_t flags; });

struct GckConfig {
explicit GckConfig(BelId belid) { bel = belid; si1 = IdString(); si2 = IdString(); used = false; }
struct GckConfig
{
explicit GckConfig(BelId belid)
{
bel = belid;
si1 = IdString();
si2 = IdString();
used = false;
}
BelId bel;
IdString si1;
IdString si2;
Expand All @@ -50,16 +57,16 @@ struct GckConfig {

enum TILETypeZ
{
BEL_LUT_Z = 0,
BEL_LUT_Z = 0,
BEL_LUT_MAX_Z = 31,
BEL_CY_Z = 32,
BEL_XLUT_Z = BEL_CY_Z + 4,
BEL_RF_Z = BEL_XLUT_Z + 8,
BEL_XRF_Z = BEL_RF_Z + 2,
BEL_FIFO_Z = BEL_XRF_Z + 1,
BEL_CY_Z = 32,
BEL_XLUT_Z = BEL_CY_Z + 4,
BEL_RF_Z = BEL_XLUT_Z + 8,
BEL_XRF_Z = BEL_RF_Z + 2,
BEL_FIFO_Z = BEL_XRF_Z + 1,
BEL_XFIFO_Z = BEL_FIFO_Z + 2,
BEL_CDC_Z = BEL_XFIFO_Z + 1,
BEL_XCDC_Z = BEL_CDC_Z + 2
BEL_CDC_Z = BEL_XFIFO_Z + 1,
BEL_XCDC_Z = BEL_CDC_Z + 2
};

enum ClusterPlacement
Expand Down
Loading

0 comments on commit 96b073c

Please sign in to comment.