I am using the transferring data example provided by Opal Kelly but when I put the Verilog code into Xilinx, I receive the following errors. I am not sure how to fix them. Please help.
// Circuit wires
wire fifowrite;
wire fiforead;
wire [15:0] datain;
wire [15:0] dataout;
wire reset;
wire [15:0] wireout;
//Circuit behavior
assign reset = wireout[0];
// Xilinx Core IP Generated FIFO
FIFO_16bit fifo(
.din(datain),
.dout(dataout),
.wr_en(fifowrite),
.rd_en(fiforead),
.clk(ti_clk),
.rst(reset)
);
// FrontPanel module instantiations
okWireIn wire10(
.ok1(ok1),
.ep_addr(8’h10),
.ep_dataout(wireout)
);
okPipeIn pipe80(
ok1(ok1),
.ok2(ok2x[0*17 +: 17]),
.ep_addr(8’h80),
.ep_write(fifowrite),
.ep_dataout(datain)
);
okPipeOut pipeA0(
.ok1(ok1),
.ok2(ok2x[1*17 +: 17]),
.ep_addr(8’hA0),
.ep_read(fiforead),
.ep_datain(dataout)
);
ERROR:HDLCompiler:718 - “F:/transferringdata/transferringdata.v” Line 34: Port connections cannot be mixed ordered and named
ERROR:HDLCompiler:45 - “F:/transferringdata/transferringdata.v” Line 35: ok1 is not a function
ERROR:HDLCompiler:24 - “F:/transferringdata/transferringdata.v” Line 35: ok1 expects 0 arguments
ERROR:HDLCompiler:69 - “F:/transferringdata/transferringdata.v” Line 36: is not declared.
ERROR:HDLCompiler:69 - “F:/transferringdata/transferringdata.v” Line 44: is not declared.
ERROR:HDLCompiler:598 - “F:/transferringdata/transferringdata.v” Line 3: Module ignored due to previous errors.
Thank you.