Resolved - Set Config JTAG_PORT to DISABLE, error in Synthesis


#1

The Error has been resolved - needed to edit the template_a1.lpf file and comment out //LOCATE COMP “pin9_jtgnb” SITE “26” ;

Is there any decent documentation to better go through the basics? OMG surely this would kill interest in many amateurs attempting to use lattice FPGAs
Lattice Synthesis Engine results

WARNING - I/O Port pin9_jtgnb 's net has no driver and is unused.

ERROR - The state of the assigned pin [26] conflicts with the config mode and cannot be assigned to the port [pin9_jtgnb]

How is the pin9_jtgnb in the verilog file handled. Also is there something else that needs to be setup in the lattice environment.

in the verilog file
// JTAG_PORT in spreadsheet view has been disabled
// now the jtag pins can be used as i/o
// connect pin9_jtgnb to pulldown
inout pin9_jtgnb, // JTAGENB


#2

I’m not entirely sure what you want to do, but I guess at least some of it is using the JTAG pins as I/O. I’ve never actually programmed my A1 to do this, but I did work out .v and .lpf files that did, at least, build!
I think the only essential change in the .v file is to remove “inout pin9_jtgnb,” from the module definition since your code can’t fiddle with it. (Pull it high to program the chip, low to use the chip.).
Here’s my .lpf:
BLOCK RESETPATHS ;
BLOCK ASYNCPATHS ;
SYSCONFIG JTAG_PORT=DISABLE ;
SYSCONFIG MUX_CONFIGURATION_PORTS=ENABLE ;
LOCATE COMP “pin1” SITE “13” ;
LOCATE COMP “pin2” SITE “14” ;
LOCATE COMP “pin3_sn” SITE “16” ;
LOCATE COMP “pin4_mosi” SITE “17” ;
LOCATE COMP “pin5” SITE “20” ;
LOCATE COMP “pin6” SITE “21” ;
LOCATE COMP “pin7_done” SITE “23” ;
LOCATE COMP “pin8_pgmn” SITE “25” ;
LOCATE COMP “pin10_sda” SITE “27” ;
LOCATE COMP “pin11_scl” SITE “28” ;
LOCATE COMP “pin12_tdo” SITE “1” ;
LOCATE COMP “pin13_tdi” SITE “32” ;
LOCATE COMP “pin14_tck” SITE “30” ;
LOCATE COMP “pin15_tms” SITE “29” ;
LOCATE COMP “pin16” SITE “4” ;
LOCATE COMP “pin17” SITE “5” ;
LOCATE COMP “pin18_cs” SITE “8” ;
LOCATE COMP “pin19_sclk” SITE “9” ;
LOCATE COMP “pin20_miso” SITE “10” ;
LOCATE COMP “pin21” SITE “11” ;
LOCATE COMP “pin22” SITE “12” ;