Unverified Commit 8a377827 authored by Cayetano Santos's avatar Cayetano Santos
Browse files

License and documenting

parent edc945f5
This diff is collapsed.
......@@ -85,14 +85,14 @@ architecture Behavioral of Handle_cati_data_out is
signal change_frame : std_logic := '0';
-- @@@ Signals:1 ends here
-- @@@ [[file:Handle_cati_data_out.org::*Signals][Signals:2]]
-- ** Signals
-- @@@ [[file:Handle_cati_data_out.org::*Event%20counter%20signals][Event\ counter\ signals:1]]
-- *** Event counter signals
type EventCounterType is array(0 to 15) of unsigned(10 downto 0);
signal EventCounters : EventCounterType := (others => "000" & X"00");
alias ChannelNb : unsigned(3 downto 0) is unsigned(Fifo_data_in1_f1(29 downto 26));
-- @@@ Signals:2 ends here
-- @@@ Event\ counter\ signals:1 ends here
-- @@@ [[file:Handle_cati_data_out.org::*begin][begin:1]]
-- ** begin
......@@ -273,8 +273,8 @@ begin
end process;
-- @@@ Gray\ decode\ frame\ 1:1 ends here
-- @@@ [[file:Handle_cati_data_out.org::*Gray%20decode%20frame%201][Gray\ decode\ frame\ 1:2]]
-- ** Gray decode frame 1
-- @@@ [[file:Handle_cati_data_out.org::*Event%20counter%20management][Event\ counter\ management:1]]
-- *** Event counter management
process (clk_data_80)
......@@ -289,7 +289,7 @@ begin
end if;
end if;
end process;
-- @@@ Gray\ decode\ frame\ 1:2 ends here
-- @@@ Event\ counter\ management:1 ends here
-- @@@ [[file:Handle_cati_data_out.org::*Gray%20decode%20frame%202][Gray\ decode\ frame\ 2:1]]
-- ** Gray decode frame 2
......@@ -381,6 +381,11 @@ begin
elsif (clk_data_80'event and clk_data_80 = '1') then
case dataout_uniFramefifo_state is
-- @@@ Merge\ data\ process:1 ends here
-- @@@ [[file:Handle_cati_data_out.org::*Standby%20state][Standby\ state:1]]
-- *** Standby state
when standby =>
......@@ -393,6 +398,11 @@ begin
Fifo_rden_frames <= '0';
dataout_uniFramefifo_state <= standby;
end if;
-- @@@ Standby\ state:1 ends here
-- @@@ [[file:Handle_cati_data_out.org::*Write%20state][Write\ state:1]]
-- *** Write state
when write_tempo =>
......@@ -404,7 +414,7 @@ begin
end case;
end if;
end process;
-- @@@ Merge\ data\ process:1 ends here
-- @@@ Write\ state:1 ends here
-- @@@ [[file:Handle_cati_data_out.org::*Big%20FIFO][Big\ FIFO:1]]
-- ** Big FIFO
......
......@@ -213,6 +213,11 @@ begin
process(Clk_80, rst)
begin
-- @@@ Merge\ data:1 ends here
-- @@@ [[file:catiroc_data_capture.org::*Reset%20state][Reset\ state:1]]
-- ** Reset state
if rst = '1' then
......@@ -228,6 +233,11 @@ begin
elsif (Clk_80'event and Clk_80 = '1') then
case dataout_fifo_state is
-- @@@ Reset\ state:1 ends here
-- @@@ [[file:catiroc_data_capture.org::*Standby][Standby:1]]
-- ** Standby
when standby =>
......@@ -250,6 +260,11 @@ begin
fifo_output2_rd <= '0';
dataout_fifo_state <= standby;
end if;
-- @@@ Standby:1 ends here
-- @@@ [[file:catiroc_data_capture.org::*Physical%20event%20words][Physical\ event\ words:1]]
-- ** Physical event words
when write_tempo =>
......@@ -267,6 +282,11 @@ begin
else
dataout_fifo_state <= standby;
end if;
-- @@@ Physical\ event\ words:1 ends here
-- @@@ [[file:catiroc_data_capture.org::*Special%20word][Special\ word:1]]
-- ** Special word
when write_tempo2 =>
......@@ -297,7 +317,7 @@ begin
end if;
end process;
-- @@@ Merge\ data:1 ends here
-- @@@ Special\ word:1 ends here
-- @@@ [[file:catiroc_data_capture.org::*Big%20FIFO][Big\ FIFO:1]]
-- * Big FIFO
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment