bandanjot
Newbie level 1
The first few lines of my code are:
library IEEE;
use IEEE.STD_LOGIC_1164.all;
use IEEE.STD_LOGIC_arith.all;
use STD.TEXTIO.all;
use work.all;
constant MEM_SIZE: integer:= 4095; -- memory size
The error I am getting on my compilation:
gsm.vhd(6): near "constant": expecting: ARCHITECTURE CONFIGURATION ENTITY LIBRARY PACKAGE USE
I have checked numerous times , and I guess problem is with the line in which I define my constants. Can there by a problem in defining my libraries?? Are these libraries (eg. IEEE ,STD,work) available ?.
library IEEE;
use IEEE.STD_LOGIC_1164.all;
use IEEE.STD_LOGIC_arith.all;
use STD.TEXTIO.all;
use work.all;
constant MEM_SIZE: integer:= 4095; -- memory size
The error I am getting on my compilation:
gsm.vhd(6): near "constant": expecting: ARCHITECTURE CONFIGURATION ENTITY LIBRARY PACKAGE USE
I have checked numerous times , and I guess problem is with the line in which I define my constants. Can there by a problem in defining my libraries?? Are these libraries (eg. IEEE ,STD,work) available ?.