Standardizes formatting and adds output signal
Adjusts entity and architecture formatting for consistency, aligning spacing and indentation across declarations and constants. Adds `O_MUX_Select` output signal to indicate routing decision, improving functionality and clarity of the module.
This commit is contained in:
@@ -39,6 +39,9 @@ entity PipelineSwitch is
|
|||||||
O_Ready : out std_logic := '0';
|
O_Ready : out std_logic := '0';
|
||||||
--@ @end
|
--@ @end
|
||||||
|
|
||||||
|
--@ If `1`, route to `Selected` output; if `0`, route to `Default` output.
|
||||||
|
O_MUX_Select : out std_logic := '0';
|
||||||
|
|
||||||
--@ @virtualbus AXI-Flags-Out @dir Out Output interface for unmatched routing
|
--@ @virtualbus AXI-Flags-Out @dir Out Output interface for unmatched routing
|
||||||
--@ Activated when the comparison **fails**.
|
--@ Activated when the comparison **fails**.
|
||||||
--@ AXI-like valid; (**Synchronous**, **Active high**)
|
--@ AXI-like valid; (**Synchronous**, **Active high**)
|
||||||
@@ -189,4 +192,6 @@ begin
|
|||||||
end if;
|
end if;
|
||||||
end process;
|
end process;
|
||||||
|
|
||||||
|
O_MUX_Select <= C_ShouldRouteToSelected;
|
||||||
|
|
||||||
end architecture;
|
end architecture;
|
||||||
|
Reference in New Issue
Block a user