diff --git a/PowerEditor/Test/FunctionList/VHDL/unitTest b/PowerEditor/Test/FunctionList/VHDL/unitTest new file mode 100644 index 000000000..db48481fc --- /dev/null +++ b/PowerEditor/Test/FunctionList/VHDL/unitTest @@ -0,0 +1,35 @@ +entity ent1 is +end entity ent1; + +architecture rtl of ent1 is + component compo1 is + PORT ( Reset_s : out std_logic); + end component compo1; + + component reset_controller is -- comment + PORT -- comment + ( Reset_s : out std_logic); + end component reset_controller; -- comment + +begin + + compo1_inst : compo1 + PORT MAP ( Reset_s =>open); + + rst_controller_inst : component reset_controller + PORT MAP ( Reset_s => open); -- comment + + + +proc1: process (reset_reset_n, clk_clk) + begin + end process; + + block1: block is + begin + end block; + +comp_per_entity : entity work.doing_so port map ( Reset_s => open + ); + +end architecture rtl; -- of ent1 diff --git a/PowerEditor/Test/FunctionList/VHDL/unitTest.expected.result b/PowerEditor/Test/FunctionList/VHDL/unitTest.expected.result new file mode 100644 index 000000000..4281ad49a --- /dev/null +++ b/PowerEditor/Test/FunctionList/VHDL/unitTest.expected.result @@ -0,0 +1 @@ +{"leaves":["entity ent1 is","architecture rtl of ent1 is","\tcomponent compo1 is"," component reset_controller is ","proc1: process (reset_reset_n, clk_clk)"," block1: block is","comp_per_entity : entity work.doing_so port map ( Reset_s "],"root":"unitTest"} diff --git a/PowerEditor/Test/FunctionList/unitTestLauncher.ps1 b/PowerEditor/Test/FunctionList/unitTestLauncher.ps1 index 7298f0095..2d8ff79b6 100644 --- a/PowerEditor/Test/FunctionList/unitTestLauncher.ps1 +++ b/PowerEditor/Test/FunctionList/unitTestLauncher.ps1 @@ -15,6 +15,7 @@ ..\..\bin\notepad++.exe -export=functionList -lpowershell .\powershell\unitTest | Out-Null ..\..\bin\notepad++.exe -export=functionList -lpython .\python\unitTest | Out-Null ..\..\bin\notepad++.exe -export=functionList -lruby .\ruby\unitTest | Out-Null +..\..\bin\notepad++.exe -export=functionList -lvhdl .\vhdl\unitTest | Out-Null ..\..\bin\notepad++.exe -export=functionList -lxml .\xml\unitTest | Out-Null diff --git a/PowerEditor/src/functionList.xml b/PowerEditor/src/functionList.xml index b4aab2ec0..ea4e16676 100644 --- a/PowerEditor/src/functionList.xml +++ b/PowerEditor/src/functionList.xml @@ -85,6 +85,7 @@ + + + + + + + + + +