keywords: GTH, NCSIM, NC, cadence, parameter, localparam
When simulating the outputs from the Virtex-6 FPGA GTH Transceiver Wizard in NCSIM, it is possible to see failures similar to:
ncvlog: *E,NGITEM (../../example_design/v6gth_wrapper_gth_init.v,142|14): Not a valid generate item: 'parameter_declaration' [12.1.3(IEEE 2001)].
To work around these errors, "parameter" declarations need to be changed to "localparam". As an example:
parameter [3:0] TXBUFRESET = 4'b0000;
needs to be changed to
localparam [3:0] TXBUFRESET = 4'b0000;