OpenCores

Subversion Repositories ha1588

[/] [ha1588/] [trunk/] [rtl/] [top/] [ha1588.v] - Diff between revs 41 and 43

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 41 Rev 43
Line 54... Line 54...
wire [47:0] rtc_time_reg_sec_val;
wire [47:0] rtc_time_reg_sec_val;
wire [79:0] rtc_time_ptp_val = {rtc_time_ptp_sec[47:0], rtc_time_ptp_ns[31:0]};
wire [79:0] rtc_time_ptp_val = {rtc_time_ptp_sec[47:0], rtc_time_ptp_ns[31:0]};
 
 
wire rx_q_rst, rx_q_clk;
wire rx_q_rst, rx_q_clk;
wire rx_q_rd_en;
wire rx_q_rd_en;
 
wire [  7:0] rx_q_ptp_msgid_mask;
wire [  7:0] rx_q_stat;
wire [  7:0] rx_q_stat;
wire [127:0] rx_q_data;
wire [127:0] rx_q_data;
wire tx_q_rst, tx_q_clk;
wire tx_q_rst, tx_q_clk;
wire tx_q_rd_en;
wire tx_q_rd_en;
 
wire [  7:0] tx_q_ptp_msgid_mask;
wire [  7:0] tx_q_stat;
wire [  7:0] tx_q_stat;
wire [127:0] tx_q_data;
wire [127:0] tx_q_data;
 
 
rgs u_rgs
rgs u_rgs
(
(
Line 86... Line 88...
  .time_reg_ns_in(rtc_time_reg_ns_val),
  .time_reg_ns_in(rtc_time_reg_ns_val),
  .time_reg_sec_in(rtc_time_reg_sec_val),
  .time_reg_sec_in(rtc_time_reg_sec_val),
  .rx_q_rst_out(rx_q_rst),
  .rx_q_rst_out(rx_q_rst),
  .rx_q_rd_clk_out(rx_q_clk),
  .rx_q_rd_clk_out(rx_q_clk),
  .rx_q_rd_en_out(rx_q_rd_en),
  .rx_q_rd_en_out(rx_q_rd_en),
 
  .rx_q_ptp_msgid_mask_out(rx_q_ptp_msgid_mask),
  .rx_q_stat_in(rx_q_stat),
  .rx_q_stat_in(rx_q_stat),
  .rx_q_data_in(rx_q_data),
  .rx_q_data_in(rx_q_data),
  .tx_q_rst_out(tx_q_rst),
  .tx_q_rst_out(tx_q_rst),
  .tx_q_rd_clk_out(tx_q_clk),
  .tx_q_rd_clk_out(tx_q_clk),
  .tx_q_rd_en_out(tx_q_rd_en),
  .tx_q_rd_en_out(tx_q_rd_en),
 
  .tx_q_ptp_msgid_mask_out(tx_q_ptp_msgid_mask),
  .tx_q_stat_in(tx_q_stat),
  .tx_q_stat_in(tx_q_stat),
  .tx_q_data_in(tx_q_data)
  .tx_q_data_in(tx_q_data)
);
);
 
 
rtc u_rtc
rtc u_rtc
Line 120... Line 124...
(
(
  .rst(rst),
  .rst(rst),
  .gmii_clk(rx_gmii_clk),
  .gmii_clk(rx_gmii_clk),
  .gmii_ctrl(rx_gmii_ctrl),
  .gmii_ctrl(rx_gmii_ctrl),
  .gmii_data(rx_gmii_data),
  .gmii_data(rx_gmii_data),
 
  .ptp_msgid_mask(rx_q_ptp_msgid_mask),
  .rtc_timer_clk(rtc_clk),
  .rtc_timer_clk(rtc_clk),
  .rtc_timer_in(rtc_time_ptp_val),
  .rtc_timer_in(rtc_time_ptp_val),
  .q_rst(rx_q_rst),
  .q_rst(rx_q_rst),
  .q_rd_clk(rx_q_clk),
  .q_rd_clk(rx_q_clk),
  .q_rd_en(rx_q_rd_en),
  .q_rd_en(rx_q_rd_en),
Line 135... Line 140...
(
(
  .rst(rst),
  .rst(rst),
  .gmii_clk(tx_gmii_clk),
  .gmii_clk(tx_gmii_clk),
  .gmii_ctrl(tx_gmii_ctrl),
  .gmii_ctrl(tx_gmii_ctrl),
  .gmii_data(tx_gmii_data),
  .gmii_data(tx_gmii_data),
 
  .ptp_msgid_mask(tx_q_ptp_msgid_mask),
  .rtc_timer_clk(rtc_clk),
  .rtc_timer_clk(rtc_clk),
  .rtc_timer_in(rtc_time_ptp_val),
  .rtc_timer_in(rtc_time_ptp_val),
  .q_rst(tx_q_rst),
  .q_rst(tx_q_rst),
  .q_rd_clk(tx_q_clk),
  .q_rd_clk(tx_q_clk),
  .q_rd_en(tx_q_rd_en),
  .q_rd_en(tx_q_rd_en),

powered by: WebSVN 2.1.0

© copyright 1999-2014 OpenCores.org, equivalent to ORSoC AB, all rights reserved. OpenCores®, registered trademark.