CORE-73 - Added dp_dir output. All output are now buffered

This commit is contained in:
gianmarcogirau 2019-12-17 09:16:43 +00:00
commit 813cc0e205
2 changed files with 10 additions and 10 deletions

View file

@ -207,6 +207,7 @@ add_interface_port conduit_end pof_iso_en pof_iso_en Output 1
add_interface_port conduit_end fire_pulse fire_pulse Output 1
add_interface_port conduit_end abs_pos_out abs_pos_out Output 32
add_interface_port conduit_end print_start print_start Output 1
add_interface_port conduit_end dp_dir_out dp_dir_out Output 1
add_interface_port conduit_end mon_pt mon_pt Output 4

View file

@ -6,7 +6,7 @@
-- Author : Gianmarco Girau
-- Company : Global Inkjet Systems
-- Created : 2017-09-06
-- Last update: 2019-12-16
-- Last update: 2019-12-17
-- SVN ID : Git
-- Standard : VHDL'08
-------------------------------------------------------------------------------
@ -44,6 +44,7 @@ entity fire_pulse_manager_5 is
pof_iso_en : out std_logic;
fire_pulse : out std_logic_vector(ch_num - 1 downto 0);
start_of_image : out std_logic_vector(ch_num - 1 downto 0);
dp_dir_out : out std_logic_vector(ch_num - 1 downto 0);
abs_pos_out : out std_logic_vector(31 downto 0);
print_start : out std_logic;
mon_pt : out std_logic_vector(3 downto 0); -- Monitoring Points
@ -265,23 +266,25 @@ begin
-- Output multiplexer
fire_pulse_i <= ch_pulse_out when src_sel(0) = '1' else (others => pof_rx_regen);
fire_pulse <= fire_pulse_i;
-- The start-of-image for zero-gap is available only when fire-request are
-- generated locally, through the pulse-generator
start_of_image_i <= ch_start_of_image when src_sel(0) = '1' else (others => '0');
start_of_image <= start_of_image_i;
pd_pulse <= pd_pulse_pof when src_sel(1) = '0' else pd_pulse_ie;
abs_pos <= abs_pos_pof when src_sel(1) = '0' else abs_pos_ie(31 downto 0);
inc_pos <= inc_pos_pof when src_sel(1) = '0' else inc_pos_ie;
dec_pos <= dec_pos_pof when src_sel(1) = '0' else dec_pos_ie;
pBUF_ABS_POS : process(clk)
pBUF_OUT : process(clk)
begin
if(clk = '1' and clk'event) then
abs_pos_out <= abs_pos;
abs_pos_out <= abs_pos;
dp_dir_out <= dp_dir;
fire_pulse <= fire_pulse_i;
start_of_image <= start_of_image_i;
print_start <= print_start_i;
end if;
end process pBUF_ABS_POS;
end process pBUF_OUT;
pINIT_GEN : process(clk)
begin
@ -417,8 +420,6 @@ begin
uart_rx => pof_rx,
uart_tx => pof_tx);
print_start <= print_start_i;
print_start_i <= '0';
elsif POF_PROT_VER = 1 generate
@ -449,8 +450,6 @@ begin
parity_err_cnt => parity_err_cnt,
skip_pos_cnt => skip_pos_cnt);
print_start <= print_start_i;
-- UART signal regeneration
iUART_REGEN : entity work.pof_uart_regen_1
generic map(