Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
20688 Discussions

EPM7064STC44-10 I/O standard 3.3-V LVTTL is not supported

PWalk14
Beginner
1,819 Views

Quartus 2 13.0sp1 (64bit)

Device EPM7064STC44-10
Timing Models Final
Total macrocells 32/64 (50%)
Total pins 26/36 (72% )

'Error (119028): I/O standard 3.3-V LVTTL is not supported for selected device family'

I intended to use this device in a 5V circuit so 3.3V is irrelevant.
I cannot find anywhere to remove this constraint and allow the build to succeed.
(The same source file builds OK for a EPM3064 device or EPM7128)

Any ideas?

0 Kudos
9 Replies
sstrell
Honored Contributor III
1,811 Views

Are you saying that you didn't set this I/O standard assignment?  Set pin locations and I/O standards in Assignments menu -> Pin Planner in Quartus.

0 Kudos
PWalk14
Beginner
1,786 Views

Thanks for the reply.

No I did not set the I/O (as far as I know)

I tried the 'Pin Planner' approach but 'Show IO Banks' and 'Show VRef Groups' on the <RightClick> menu is greyed out and the Node list at the bottom does not show any voltage setting (as other devices have done).

I have just found that if I select a pin and <RightClick>'Pin Properties' I get  a window where the I/O Standard is '3.3-V LVTTL(default)' but it can be changed to 'TTL'. (Only if the pin is assigned to a node)

Altenatively I can select a node and do a similar thing but still individually.

Presumably if I change this for all pins I should be able to compile.

It would help if there is a way to change the default for all pins before I assign nodes to pins.

0 Kudos
PWalk14
Beginner
1,778 Views

Unfortunately changing all the nodes to TTL did not get rid of the error. Possibly there were some (unused) pins still with the 3.3V setting (default). I did see that most  pins on the top (Block) level now had TTL label (similar to pin number) attached but could not see how to add or remove that label from there.

For some reason I seem to be getting fewer resources used when compiling the same source file than before. It seems my mods have somehow lost parts of the design. I shall start again from scratch and start with the EPM7128 (which worked before) before trying the EPM7064 again. It should only need 32 cells but the epm7032 is a bit too tight.

It is puzzling to me that the 7 series devices are 5V/TTL IO but that Quartus doesn't know this and applies an incorrect default in this case. Then it throws an error rather than a warning.

I'm sure there must be a simple answer but I can't see it yet.

 

0 Kudos
ak6dn
Valued Contributor III
1,774 Views

Are there directives in your project's .qsf file (where all the settings are stored) that set the I/O type on pins or set a default I/O type to LVTTL-3.3V by accident?

For reference here is my design .qsf file for an EPM7064STC44-10 that compiles just fine on 13.0sp1.

I don't do anything that changes the I/O type on any pins.

DESIGN.qsf:

# Altera recommends that you do not modify this file. This
# file is updated automatically by the Quartus II software
# and any changes you make may be lost or overwritten.

set_global_assignment -name FAMILY MAX7000S
set_global_assignment -name DEVICE "EPM7064STC44-10"

set_global_assignment -name TOP_LEVEL_ENTITY EPM7064S
set_global_assignment -name VERILOG_FILE ../src/EPM7064S.v

set_global_assignment -name SDC_FILE EPM7064S.sdc
set_global_assignment -name TIMEQUEST_REPORT_SCRIPT timing_reports.tcl

set_global_assignment -name EDA_SIMULATION_TOOL "NC-Verilog (Verilog)"
set_global_assignment -name EDA_TIME_SCALE "1 ps" -section_id eda_simulation
set_global_assignment -name EDA_OUTPUT_DATA_FORMAT VERILOG -section_id eda_simulation

set_global_assignment -name VERILOG_CONSTANT_LOOP_LIMIT 75000

set_global_assignment -name SEED 42
set_global_assignment -name FITTER_EFFORT "Standard Fit"
set_global_assignment -name PLACEMENT_EFFORT_MULTIPLIER 3.0
set_global_assignment -name OPTIMIZE_MULTI_CORNER_TIMING ON

set_global_assignment -name SMART_RECOMPILE ON
set_global_assignment -name PHYSICAL_SYNTHESIS_COMBO_LOGIC ON
set_global_assignment -name PHYSICAL_SYNTHESIS_REGISTER_RETIMING ON
set_global_assignment -name PHYSICAL_SYNTHESIS_ASYNCHRONOUS_SIGNAL_PIPELINING ON
set_global_assignment -name PHYSICAL_SYNTHESIS_REGISTER_DUPLICATION ON
set_global_assignment -name PHYSICAL_SYNTHESIS_EFFORT EXTRA
set_global_assignment -name OPTIMIZATION_TECHNIQUE SPEED

set_global_assignment -name PARTITION_COLOR 14622752 -section_id Top
set_global_assignment -name LL_ROOT_REGION ON -section_id "Root Region"
set_global_assignment -name LL_MEMBER_STATE LOCKED -section_id "Root Region"

set_global_assignment -name PARTITION_NETLIST_TYPE SOURCE -section_id Top
set_instance_assignment -name PARTITION_HIERARCHY root_partition -to | -section_id Top

set_global_assignment -name CRC_ERROR_CHECKING OFF
set_global_assignment -name ENABLE_INIT_DONE_OUTPUT OFF
set_global_assignment -name USE_CHECKSUM_AS_USERCODE ON
set_global_assignment -name EPROM_USE_CHECKSUM_AS_USERCODE ON
set_global_assignment -name POWER_PRESET_COOLING_SOLUTION "NO HEAT SINK WITH STILL AIR"
set_global_assignment -name RESERVE_ALL_UNUSED_PINS "AS OUTPUT DRIVING GROUND"

set_instance_assignment -name SLOW_SLEW_RATE -to IO[*] OFF

# placement

# top

set_location_assignment PIN_34 -to IO[26]
set_location_assignment PIN_35 -to IO[27]
###_location_assignment PIN_36 -to GND
set_location_assignment PIN_37 -to CLK
set_location_assignment PIN_38 -to OE_N
set_location_assignment PIN_39 -to CLR_N
set_location_assignment PIN_40 -to CLK2
###_location_assignment PIN_41 -to VCC
set_location_assignment PIN_42 -to IO[0]
set_location_assignment PIN_43 -to IO[1]
set_location_assignment PIN_44 -to IO[2]

# left

###_location_assignment PIN_1  -to TDI
set_location_assignment PIN_2  -to IO[3]
set_location_assignment PIN_3  -to IO[4]
###_location_assignment PIN_4  -to GND
set_location_assignment PIN_5  -to IO[5]
set_location_assignment PIN_6  -to IO[6]
###_location_assignment PIN_7  -to TMS
set_location_assignment PIN_8  -to IO[7]
###_location_assignment PIN_9  -to VCC
set_location_assignment PIN_10 -to IO[8]
set_location_assignment PIN_11 -to IO[9]

# bottom

set_location_assignment PIN_12 -to IO[10]
set_location_assignment PIN_13 -to IO[11]
set_location_assignment PIN_14 -to IO[12]
set_location_assignment PIN_15 -to IO[13]
###_location_assignment PIN_16 -to GND
###_location_assignment PIN_17 -to VCC
set_location_assignment PIN_18 -to IO[14]
set_location_assignment PIN_19 -to IO[15]
set_location_assignment PIN_20 -to IO[16]
set_location_assignment PIN_21 -to IO[17]
set_location_assignment PIN_22 -to IO[18]

# right

set_location_assignment PIN_23 -to IO[19]
###_location_assignment PIN_24 -to GND
set_location_assignment PIN_25 -to IO[20]
###_location_assignment PIN_26 -to TCK
set_location_assignment PIN_27 -to IO[21]
set_location_assignment PIN_28 -to IO[22]
###_location_assignment PIN_29 -to VCC
set_location_assignment PIN_30 -to IO[23]
set_location_assignment PIN_31 -to IO[24]
###_location_assignment PIN_32 -to TDO
set_location_assignment PIN_33 -to IO[25]

# the end

 

0 Kudos
PWalk14
Beginner
1,771 Views

Hi There.

Well, deleted everything (all project folder) and re-entered design from scratch. (Part block, part verilog)

Now it works! - Compiles without error, Node properties are TTL(default).

No idea where the previous default originated.

Thanks for your comments and replies.

0 Kudos
ak6dn
Valued Contributor III
1,767 Views

Well it is unfortunate that you deleted your existing .qsf file without posting the contents.

I suspect at some point set I/O type to LVTTL 3.3V was inadvertently added on some pins.

Would have been interesting to confirm that.

Good that you got your design working again, but that was kind of the "reformat-your-hard-disk-and-reinstall-your-os" solution.

0 Kudos
PWalk14
Beginner
1,759 Views

Sorry but got a bit desparate and resorted to the sledgehammer. The only thing I can offer is that all the pins had the '3.3-V LVTTL(default)' setting.  I now see 'set_global_assignment -name MAX7000_DEVICE_IO_STANDARD TTL' at the end of the .qsf file.

Looking through some previous projects I found that one compiled for EPM240 had 'set_global_assignment -name STRATIX_DEVICE_IO_STANDARD "3.3-V LVTTL"' which seems odd. Others compiled for EPM7128 had no entry in the .qsf for IO standard.

At no time had I specified a IO previously.

0 Kudos
ak6dn
Valued Contributor III
1,805 Views

You must have pin assignments other then type TTL somewhere. I use the same part, same software, compiles just fine.

+-----------------------------------------------------------------------------+
; Fitter Summary                                                              ;
+---------------------------+-------------------------------------------------+
; Fitter Status             ; Successful - Fri Dec 04 02:11:06 2020           ;
; Quartus II 64-Bit Version ; 13.0.1 Build 232 06/12/2013 SP 1 SJ Web Edition ;
; Revision Name             ; EPM7064S                                        ;
; Top-level Entity Name     ; EPM7064S                                        ;
; Family                    ; MAX7000S                                        ;
; Device                    ; EPM7064STC44-10                                 ;
; Timing Models             ; Final                                           ;
; Total macrocells          ; 63 / 64 ( 98 % )                                ;
; Total pins                ; 36 / 36 ( 100 % )                               ;
+---------------------------+-------------------------------------------------+

 and

+-------------------------------------------------------------------------------------------------------+
; All Package Pins                                                                                      ;
+----------+------------+----------+----------------+--------+--------------+---------+-----------------+
; Location ; Pad Number ; I/O Bank ; Pin Name/Usage ; Dir.   ; I/O Standard ; Voltage ; User Assignment ;
+----------+------------+----------+----------------+--------+--------------+---------+-----------------+
; 1        ; 6          ; --       ; TDI            ; input  ; TTL          ;         ; N               ;
; 2        ; 7          ; --       ; IO[3]          ; bidir  ; TTL          ;         ; Y               ;
; 3        ; 8          ; --       ; IO[4]          ; bidir  ; TTL          ;         ; Y               ;
; 4        ; 9          ; --       ; GND            ; gnd    ;              ;         ;                 ;
; 5        ; 10         ; --       ; IO[5]          ; bidir  ; TTL          ;         ; Y               ;
; 6        ; 11         ; --       ; IO[6]          ; bidir  ; TTL          ;         ; Y               ;
; 7        ; 12         ; --       ; TMS            ; input  ; TTL          ;         ; N               ;
; 8        ; 13         ; --       ; IO[7]          ; bidir  ; TTL          ;         ; Y               ;
; 9        ; 14         ; --       ; VCC            ; power  ;              ;         ;                 ;
; 10       ; 15         ; --       ; IO[8]          ; bidir  ; TTL          ;         ; Y               ;
; 11       ; 16         ; --       ; IO[9]          ; bidir  ; TTL          ;         ; Y               ;
; 12       ; 17         ; --       ; IO[10]         ; bidir  ; TTL          ;         ; Y               ;
; 13       ; 18         ; --       ; IO[11]         ; bidir  ; TTL          ;         ; Y               ;
; 14       ; 19         ; --       ; IO[12]         ; bidir  ; TTL          ;         ; Y               ;
; 15       ; 20         ; --       ; IO[13]         ; bidir  ; TTL          ;         ; Y               ;
; 16       ; 21         ; --       ; GND            ; gnd    ;              ;         ;                 ;
; 17       ; 22         ; --       ; VCC            ; power  ;              ;         ;                 ;
; 18       ; 23         ; --       ; IO[14]         ; bidir  ; TTL          ;         ; Y               ;
; 19       ; 24         ; --       ; IO[15]         ; bidir  ; TTL          ;         ; Y               ;
; 20       ; 25         ; --       ; IO[16]         ; bidir  ; TTL          ;         ; Y               ;
; 21       ; 26         ; --       ; IO[17]         ; bidir  ; TTL          ;         ; Y               ;
; 22       ; 27         ; --       ; IO[18]         ; bidir  ; TTL          ;         ; Y               ;
; 23       ; 28         ; --       ; IO[19]         ; bidir  ; TTL          ;         ; Y               ;
; 24       ; 29         ; --       ; GND            ; gnd    ;              ;         ;                 ;
; 25       ; 30         ; --       ; IO[20]         ; bidir  ; TTL          ;         ; Y               ;
; 26       ; 31         ; --       ; TCK            ; input  ; TTL          ;         ; N               ;
; 27       ; 32         ; --       ; IO[21]         ; bidir  ; TTL          ;         ; Y               ;
; 28       ; 33         ; --       ; IO[22]         ; bidir  ; TTL          ;         ; Y               ;
; 29       ; 34         ; --       ; VCC            ; power  ;              ;         ;                 ;
; 30       ; 35         ; --       ; IO[23]         ; bidir  ; TTL          ;         ; Y               ;
; 31       ; 36         ; --       ; IO[24]         ; bidir  ; TTL          ;         ; Y               ;
; 32       ; 37         ; --       ; TDO            ; output ; TTL          ;         ; N               ;
; 33       ; 38         ; --       ; IO[25]         ; bidir  ; TTL          ;         ; Y               ;
; 34       ; 39         ; --       ; IO[26]         ; bidir  ; TTL          ;         ; Y               ;
; 35       ; 40         ; --       ; IO[27]         ; bidir  ; TTL          ;         ; Y               ;
; 36       ; 41         ; --       ; GND            ; gnd    ;              ;         ;                 ;
; 37       ; 42         ; --       ; CLK            ; input  ; TTL          ;         ; Y               ;
; 38       ; 43         ; --       ; OE_N           ; input  ; TTL          ;         ; Y               ;
; 39       ; 0          ; --       ; CLR_N          ; input  ; TTL          ;         ; Y               ;
; 40       ; 1          ; --       ; CLK2           ; input  ; TTL          ;         ; Y               ;
; 41       ; 2          ; --       ; VCC            ; power  ;              ;         ;                 ;
; 42       ; 3          ; --       ; IO[0]          ; bidir  ; TTL          ;         ; Y               ;
; 43       ; 4          ; --       ; IO[1]          ; bidir  ; TTL          ;         ; Y               ;
; 44       ; 5          ; --       ; IO[2]          ; bidir  ; TTL          ;         ; Y               ;
+----------+------------+----------+----------------+--------+--------------+---------+-----------------+
Note: Pin directions (input, output or bidir) are based on device operating in user mode.
0 Kudos
PWalk14
Beginner
1,784 Views

Thanks for your reply.

Please see my other reply.

Unfortunately when I am using the EPM7064 the fitter was unsuccessful (due to this voltage problem).

Error (119028): I/O standard 3.3-V LVTTL is not supported for selected device family
Error: Quartus II 64-Bit Fitter was unsuccessful. 1 error, 1 warning
Error: Peak virtual memory: 4572 megabytes
Error: Processing ended: Sat Dec 05 13:31:27 2020
Error: Elapsed time: 00:00:01
Error: Total CPU time (on all processors): 00:00:01
Error (293001): Quartus II Flow was unsuccessful. 3 errors, 8 warnings

Hopefully I will be able to compile once the IO problem is resolved. What would be good is knowing a way to change the default for all the pins rather than individually.

0 Kudos
Reply