harbor run -t openthoughts/tasktrove-exp-rpt-pr-pr-1421harbor download openthoughts/tasktrove-exp-rpt-pr-pr-1421This task asks you to introduce a tiny, self-contained Linux workspace that can generate a top-level VHDL file named fp_unit.vhd. The scaffold should use GHDL if it is available in the environment; if GHDL is not present, it should fall back to a placeholder top-level VHDL file. The solution must live entirely under /app/ and be usable in a self-contained way.
What to change/add (high level)
fp_unit.vhd using a lightweight template or transformation that leverages GHDL to synthesize a minimal top-level unit.fp_unit.vhd with a minimal, valid VHDL top-level entity/architecture that can be used for testing or as a scaffold./app/vhdl_synthesis/fp_unit.vhd (or a clearly documented path under /app/).Pre-commit file contents (starting state) Use the following as the starting point to reflect the pre-change state. Include this exactly as a code block in your task description:
# Placeholder — original code before the change
pass
Files to modify or create (in /app/)
Create a new directory for the scaffold, e.g.:
Within /app/vhdl_synthesis/, create the following files (and ensure they are executable where applicable):
ghdl --version or similar).
fp_unit.vhd using a lightweight template or transformation.fp_unit.vhd with a simple entity/architecture that can be used as a placeholder.fp_unit.vhd in /app/vhdl_synthesis/.Expected behavior/outcome
fp_unit.vhd should reflect a top-level VHDL unit suitable for basic synthesis workflow (generated via GHDL or from a template that leverages GHDL capabilities).fp_unit.vhd should still be a valid, minimal VHDL top-level module that can be used as a placeholder for tests or further development.Notes and constraints
Acceptance criteria (to verify after implementation)
This task ensures a tiny, self-contained VHDL synthesis scaffold that gracefully handles the presence or absence of GHDL and provides a clear, repeatable workflow from /app/.