fpga-interchange-schema icon indicating copy to clipboard operation
fpga-interchange-schema copied to clipboard

Bus indices should (arguably) be signed not unsigned

Open gatecat opened this issue 4 years ago • 1 comments

Based on some recent comments in YosysHQ/yosys#2567 it is apparent that negative bus indices are legal Verilog (and occasionally used for the fractional part of fixed point values) and therefore should be representable in the interchange format too. This would mean using a signed integer type for these.

gatecat avatar Feb 24 '21 11:02 gatecat

Sure, this make sense.

litghost avatar Feb 24 '21 16:02 litghost