p4lang / p4c-bm

Generates the JSON configuration for the behavioral-model (bmv2), as well as the C/C++ PD code
Apache License 2.0
24 stars 29 forks source link

Improve field list calculation support #72

Closed antoninbas closed 8 years ago

antoninbas commented 8 years ago

More general support for fixed-size constants in field lists used as input to calculations in P4. The bitwidth no longer needs to be a multiple of 8. Added appropriate warnings and errors for violated assumptions.

codecov-io commented 8 years ago

Current coverage is 96.70% (diff: 100%)

Merging #72 into master will increase coverage by 0.01%

@@             master        #72   diff @@
==========================================
  Files            10         10          
  Lines          1537       1546     +9   
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
+ Hits           1486       1495     +9   
  Misses           51         51          
  Partials          0          0          

Powered by Codecov. Last update ea4aa82...32af7ba