cli · topslist top modules
dewfpga tops
What does its help text say?
dewfpga tops the modules that could be the top, one per line: <module><tab><file> (reads only)
From dewfpga --help, as bin/dewfpga prints it.
What does the README say?
Use a flat folder of .sv/.v modules (an .xdc only for ports without a board name), or run inside a Vivado project: its .xpr selects the enabled design, constraint and simulation files. Commands from a nested .srcs folder use the project root; outputs go there too. dewfpga tops lists top candidates without writing files. The project's selected top wins unless you name one: dewfpga bit <top>. In a flat folder, hierarchy and a unique matching .xdc select the top; ambiguous candidates require a choice. A filename alone does not select it. A testbench has no ports and instantiates the design; $finish/$stop in a design module is an error. A file that holds only a package, an interface or typedefs is read too, each after the files that declare a name it uses: a package before its users, a typedef file before the interface that uses the type (one that another file includes is read through the include, not twice). Example: dewfpga new blink.
dewfpga tops list top candidates without writing files
From the README.
What does the guide say?
- In a flat folder, hierarchy and a unique matching
.xdcselect the top. If several modules qualify, name one:dewfpga bit lab4(module or source filename). A module's own filename alone does not select it.dewfpga topslists candidates without changing files.
dewfpga tops list top candidates without writing files
From section 2, How do you install it in one line?.
Open the Command Palette and use dewfpga: choose the top module. The chooser reads dewfpga tops, remembers the selection per project, and offers it again on the next build. The tasks use absolute file locations so compiler diagnostics can appear in Problems when the project lives under Vivado's .srcs tree. dewfpga new also includes project tasks; the Makefile-only download retains its make tasks.
From section 6, How do you set up VS Code?.
Which patch notes name it?
previous: dewfpga flash
next: dewfpga new
Every command: dewfpga install · dewfpga check · dewfpga run · dewfpga sim · dewfpga bit · dewfpga flash · dewfpga clean · dewfpga tops · dewfpga new · dewfpga uninstall · dewfpga vscode · dewfpga … --json · dewfpga mcp