Hans,
Here is the record of my compiling FIFO.vhd:
can't open "transcript": permission denied
# Reading pref.tcl
# Loading project FIFO
vcom -work work -2008 -explicit -stats=none FIFO.vhd
# Model Technology ModelSim - Intel FPGA Edition vcom 2021.1 Compiler 2021.02 Feb 3 2021
# -- Loading package STANDARD
# -- Loading package TEXTIO
# -- Loading package std_logic_1164
# -- Loading package NUMERIC_STD
# -- Compiling entity FIFO
# -- Compiling architecture A of FIFO
# ** Error: FIFO.vhd(87): Ambiguous type in infix expression; ieee.NUMERIC_STD.UNRESOLVED_UNSIGNED or ieee.NUMERIC_STD.UNRESOLVED_SIGNED.
# ** Note: FIFO.vhd(120): VHDL Compiler exiting
# C:/intelFPGA_pro/21.1/modelsim_ase/win32aloem/vcom failed.
The error is about a case statement:
case A & B is -- test this statement
...
end case;
In 2008, A & B can be two different signals; In 2002,
case C is -- C = A & B
...
end case;
In the Starter Edition, when ModelSim is being opened, one can only choose the "Jump Start" button to either create a project or open an existing project. No other choice to select.
I selected the "Create a project" button. After the input is finished I enter the following command line:
vcom -work work -2008 -explicit -stats=none FIFO.vhd
Is there anything I missed?
Weng