1 | process(ps_reset_cir_b, reset_cir_cmd_rqst, reset_cir_cmd_out,
|
2 | ps_init_cir_b, init_cir_cmd_rqst, init_cir_cmd_out, init_cir_arg_out,
|
3 | ps_rx_row_b, rx_row_cmd_rqst, rx_row_cmd_out,
|
4 | ps_tx_max_b, tx_max_cmd_rqst, tx_max_cmd_out, tx_max_tready,
|
5 | ps_tx_cir_b, tx_cir_cmd_rqst, tx_cir_cmd_out, tx_cir_arg_out, tx_cir_tready,
|
6 | ps_wr_bram_b, wr_bram_cmd_rqst, wr_bram_cmd_out, wr_bram_arg_out,
|
7 | ps_rd_bram_b, rd_bram_cmd_rqst, rd_bram_cmd_out, rd_bram_arg_out, rd_bram_tready,
|
8 | ps_wr_reg_b, wr_reg_cmd_rqst, wr_reg_cmd_out, wr_reg_arg_out,
|
9 | ps_rd_reg_b, rd_reg_cmd_rqst, rd_reg_cmd_out, rd_reg_arg_out, rd_reg_tready
|
10 | )
|
11 | begin
|
12 | if (ps_reset_cir_b = '1') then
|
13 | s_axis_cir_tready <= '0';
|
14 | cmd_rqst <= reset_cir_cmd_rqst;
|
15 | cmd_out <= reset_cir_cmd_out;
|
16 | arg_out <= (others=>'0');
|
17 | elsif (ps_init_cir_b = '1') then
|
18 | s_axis_cir_tready <= '0';
|
19 | cmd_rqst <= init_cir_cmd_rqst;
|
20 | cmd_out <= init_cir_cmd_out;
|
21 | arg_out <= init_cir_arg_out;
|
22 | elsif (ps_rx_row_b = '1') then
|
23 | s_axis_cir_tready <= '0';
|
24 | cmd_rqst <= rx_row_cmd_rqst;
|
25 | cmd_out <= rx_row_cmd_out;
|
26 | arg_out <= (others=>'0');
|
27 | elsif (ps_tx_max_b = '1') then
|
28 | s_axis_cir_tready <= tx_max_tready;
|
29 | cmd_rqst <= tx_max_cmd_rqst;
|
30 | cmd_out <= tx_max_cmd_out;
|
31 | arg_out <= (others=>'0');
|
32 | elsif (ps_tx_cir_b = '1') then
|
33 | s_axis_cir_tready <= tx_cir_tready;
|
34 | cmd_rqst <= tx_cir_cmd_rqst;
|
35 | cmd_out <= tx_cir_cmd_out;
|
36 | arg_out <= tx_cir_arg_out;
|
37 | elsif (ps_wr_bram_b = '1') then
|
38 | s_axis_cir_tready <= '0';
|
39 | cmd_rqst <= wr_bram_cmd_rqst;
|
40 | cmd_out <= wr_bram_cmd_out;
|
41 | arg_out <= wr_bram_arg_out;
|
42 | elsif (ps_rd_bram_b = '1') then
|
43 | s_axis_cir_tready <= rd_bram_tready;
|
44 | cmd_rqst <= rd_bram_cmd_rqst;
|
45 | cmd_out <= rd_bram_cmd_out;
|
46 | arg_out <= rd_bram_arg_out;
|
47 | elsif (ps_wr_reg_b = '1') then
|
48 | s_axis_cir_tready <= '0';
|
49 | cmd_rqst <= wr_reg_cmd_rqst;
|
50 | cmd_out <= wr_reg_cmd_out;
|
51 | arg_out <= wr_reg_arg_out;
|
52 | elsif (ps_rd_reg_b = '1') then
|
53 | s_axis_cir_tready <= rd_reg_tready;
|
54 | cmd_rqst <= rd_reg_cmd_rqst;
|
55 | cmd_out <= rd_reg_cmd_out;
|
56 | arg_out <= rd_reg_arg_out;
|
57 | else
|
58 | s_axis_cir_tready <= '0';
|
59 | cmd_rqst <= (others=>'0');
|
60 | cmd_out <= (others=>'0');
|
61 | arg_out <= (others=>'0');
|
62 | end if;
|
63 | end process;
|