Skip to content
GitLab
    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
    Projects Groups Snippets
  • Sign up now
  • Login
  • Sign in / Register
  • LRM Issues LRM Issues
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 270
    • Issues 270
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • IEEE-P1076IEEE-P1076
  • LRM IssuesLRM Issues
  • Issues
  • #10
Closed
Open
Issue created Aug 13, 2020 by umarcor@umarcorOwner

Direct Programming Interface (DPI) | Foreign Function Interface (FFI)

This issue is a placeholder for the discussion that is going on in different rooms, about defining a DPI/FFI interface for VHDL, to be included in the next revision of the standard.

  • Existing proposal in Twiki: DpiProposal
  • Thread in the reflector: grouper.ieee.org/groups/1076/email/msg01286
  • Work in progress (headers, tests): gh:VHDL/Compliance-Tests: cosim
  • "New" in-progress proposal (HTML, PDF or EPUB): umarcor.github.io/ghdl-cosim/vhdl202x
    • If site offline (not found), see PDF file attached to this comment.

From gh:ghdl/ghdl-cosim: vhpidirect:

  • VFFI helpers:
    • vffi_user.h
    • vffi_user.vhd
      • vffi_user-body.vhd
  • VFFI demo:
    • valuesFromVhdlToC: valuesFromVhdlToC.c and [valuesFromVhdlToC.vhd] (https://github.com/ghdl/ghdl-cosim/blob/master/vhpidirect/vffi_user/demo/valuesFromVhdlToC.vhd)
    • accessesFromVhdlToC: valuesFromVhdlToC.c and valuesFromVhdlToC.vhd
    • See execution example: https://github.com/ghdl/ghdl-cosim/runs/1462297961?check_suite_focus=true#step:6:1087

/cc @tgingold

vhdl202x-lcs-dpi.pdf

Edited May 09, 2021 by umarcor
Assignee
Assign to
Time tracking