Skip to content

Commit 4d2affa

Browse files
committed
initialize the dec muxes to -1 to avoid any random values if not specified
1 parent 443c2c8 commit 4d2affa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libs/libarchfpga/src/physical_types.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1606,8 +1606,8 @@ struct t_segment_inf {
16061606
int length;
16071607
short arch_wire_switch;
16081608
short arch_opin_switch;
1609-
short arch_wire_switch_dec;
1610-
short arch_opin_switch_dec;
1609+
short arch_wire_switch_dec = -1;
1610+
short arch_opin_switch_dec = -1;
16111611
short arch_opin_between_dice_switch = -1;
16121612
float frac_cb;
16131613
float frac_sb;

0 commit comments

Comments
 (0)