Skip to content

LDWG meeting minutes, July 1, 2019

Nate Foster edited this page Jul 1, 2019 · 2 revisions

Attendees

  • Mario Baldi
  • Gordon Brebner (Xilinx)
  • Mihai Budiu (VMware)
  • Chris Dodd (Barefoot)
  • Andy Fingerhut (Cisco)
  • Nate Foster (Cornell)
  • Jed Liu (Barefoot)
  • Chris Sommers (Keysight)

Status

  • NPL
    • Broadcom's NPL was released!
    • Should we reinitialize a harmonization effort?
    • Chris suggested perhaps we could invite someone from NPLang.org to present to us as a first step.

Structure Initializers

Signed Slices

Recirculate in V1Model

Structure Overlays

  • Reference:

  • Status:

    • This feature has been in design for a while
    • We might look at NPL's overlays for inspiration
    • Our proposal is different because it generates a new structure (motivation: can import structure from library and declare overlay)
    • Questions:
      • What happens if bits are referenced twice?
      • If bits are referenced twice, can an overlay be used as an l-value?
  • Action Items:

    • Mihai to simplify PR to forbid non-injective mappings, then others will review

Logical Operations

  • Reference:
  • Status:
  • assert and assume have been merged into p4c!
  • However, they are not in the spec
  • Current behavior in Bmv2 is that the process aborts if assertion fails
  • We could imagine putting these constructs into the P4 ecosystem at three levels:
    • Part of architectures
    • Part of libraries
    • Part of language
  • Action Item: Add description to PSA and V1Model documentation for now.

Conditionals in Actions

  • Reference:
  • Action Item: Andy to double check that the spec is accurate

Abstract Methods

  • Reference:
  • Action Item: Mihai to have a pass and we'll revisit.

Open Discussion

  • Andy: When does language allow multiple objects to have the same name (e.g., controls, actions, etc.)?
  • Han: Overloading would be nice. Implementation is rather restricted right now -- e.g., need to disambiguate using named parameters.

Next Meeting

  • August 5th
Clone this wiki locally