- added pin fcs_gen_en to append fcs
Committed on the Free edition of March Hare Software CVSNT Server. Upgrade to CVS Suite for more features and support: http://march-hare.com/cvsnt/ git-svn-id: http://moon:8086/svn/vhdl/trunk@891 cc03376c-175c-47c8-b038-4cd826a8556b
This commit is contained in:
@@ -22,6 +22,7 @@ ENTITY pkt_gen IS
|
|||||||
rst : in STD_LOGIC;
|
rst : in STD_LOGIC;
|
||||||
en : in STD_LOGIC;
|
en : in STD_LOGIC;
|
||||||
gigabit_en : in STD_LOGIC;
|
gigabit_en : in STD_LOGIC;
|
||||||
|
fcs_gen_en : in STD_LOGIC;
|
||||||
mii_tx_clk : in STD_LOGIC;
|
mii_tx_clk : in STD_LOGIC;
|
||||||
mii_tx_en : out STD_LOGIC;
|
mii_tx_en : out STD_LOGIC;
|
||||||
mii_tx_er : out STD_LOGIC;
|
mii_tx_er : out STD_LOGIC;
|
||||||
@@ -71,13 +72,14 @@ host_state_next:
|
|||||||
end process;
|
end process;
|
||||||
|
|
||||||
host_state:
|
host_state:
|
||||||
process(host_s, tx_ctrl_out, pkt_nbytes, fill_rdy, en, gigabit_en)
|
process(host_s, tx_ctrl_out, pkt_nbytes, fill_rdy, en, gigabit_en, fcs_gen_en)
|
||||||
begin
|
begin
|
||||||
|
|
||||||
tx_ctrl_in.pkt_alloc_en <= '0';
|
tx_ctrl_in.pkt_alloc_en <= '0';
|
||||||
tx_ctrl_in.pkt_commit_en <= '0';
|
tx_ctrl_in.pkt_commit_en <= '0';
|
||||||
tx_ctrl_in.reset <= '0';
|
tx_ctrl_in.reset <= '0';
|
||||||
tx_ctrl_in.Gbps_en <= gigabit_en;
|
tx_ctrl_in.Gbps_en <= gigabit_en;
|
||||||
|
tx_ctrl_in.fcs_gen_en <= fcs_gen_en;
|
||||||
tx_ctrl_in.tx_size <= pkt_nbytes;
|
tx_ctrl_in.tx_size <= pkt_nbytes;
|
||||||
fill_set <= '0';
|
fill_set <= '0';
|
||||||
fill_en <= '0';
|
fill_en <= '0';
|
||||||
|
|||||||
Reference in New Issue
Block a user