Skip to content

Commit

Permalink
Add top module for VHDL with multiple entities (#1670)
Browse files Browse the repository at this point in the history
add top module for VHDL design
  • Loading branch information
awaisabbas006 authored Aug 9, 2024
1 parent 87f502c commit 12f14d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Compiler/CompilerOpenFPGA.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1465,7 +1465,7 @@ std::string CompilerOpenFPGA::GhdlDesignParsingCommmands() {
"plugin -i ghdl\nghdl -frelaxed-rules --no-formal -fsynopsys -fexplicit "
"--PREFIX=" +
prefixPackagePath.string() + " " + searchPath + lang + " " + fileList +
" -e " + designLibraries + "\n";
" -e " + ProjManager()->DesignTopModule() + " " + designLibraries + "\n";
fileList += verilogcmd;

return fileList;
Expand Down

0 comments on commit 12f14d8

Please sign in to comment.