新手入门 
 
	- 积分
 - 18
 
        - 金钱
 - 18 
 
       - 注册时间
 - 2019-6-9
 
      - 在线时间
 - 2 小时
 
 
 
 | 
 
 
 楼主 |
发表于 2022-6-6 15:40:32
|
显示全部楼层
 
 
 
 
非常感谢,另外再请教一下,GTP硬件引脚需要我们在XDC文件分配吗?我看原子哥例程里面在顶层模块有光口输入输出定义,但是没有找到引脚分配,是因为硬核不需要分配IP默认引脚吗?那为啥还要在模块里面定义输入输出端口呢? 
 
 
 
module gtwizard_0_exdes # 
( 
    parameter EXAMPLE_CONFIG_INDEPENDENT_LANES     =   1,//configuration for frame gen and check 
    parameter EXAMPLE_LANE_WITH_START_CHAR         =   0,         // specifies lane with unique start frame char 
    parameter EXAMPLE_WORDS_IN_BRAM                =   512,       // specifies amount of data in BRAM 
    parameter EXAMPLE_SIM_GTRESET_SPEEDUP          =   "FALSE",    // simulation setting for GT SecureIP model 
    parameter EXAMPLE_USE_CHIPSCOPE                =   0,         // Set to 1 to use Chipscope to drive resets 
    parameter STABLE_CLOCK_PERIOD                  = 10 
 
) 
( 
    input wire  Q0_CLK1_GTREFCLK_PAD_N_IN, 
    input wire  Q0_CLK1_GTREFCLK_PAD_P_IN, 
    input wire  DRP_CLK_IN, 
    input  wire         RXN_IN, 
    input  wire         RXP_IN, 
    output wire         TXN_OUT, 
    output wire         TXP_OUT, 
    output wire [1:0]   tx_disable 
); |   
 
 
 
 |