Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > VHDL > Unsupported feature error:access type is not supported

Reply
Thread Tools

Unsupported feature error:access type is not supported

 
 
NEETU GARG
Guest
Posts: n/a
 
      04-09-2004
hello;
i m trying to run this vhdl code for reading .cmd file...while i m
trying to compile the code on the altera's max plusII software(student
software),it is showing error
File d:\maxw\code\93vhdllib\std\textio.vhd:Unsupported feature
error:access type is not supported
in d drive, i m not installing that software, i have this software
installed in c drive.....
can somebody can help me in this matter....please reply soon.....
-- -------------------------------------
-- Reads std_logic values from a file
-- -------------------------------------

library ieee;
use ieee.std_logic_1164.all;
use ieee.std_logic_arith.all;
use std.textio.all;
use work.txt_util.all;


entity FILE_READ is
generic (
stim_file: string := "sim.cmd"
);
port(
CLK : in std_logic;
RST : in std_logic;
Y : out std_logic_vector(4 downto 0);
EOG : out std_logic
);
end FILE_READ;


-- I/O Dictionary
--
-- Inputs:
--
-- CLK: new cell needed
-- RST: reset signal, wait with reading till reset seq
complete
--
-- Outputs:
--
-- Y: Output vector
-- EOG: End Of Generation, all lines have been read from
the file
--


architecture read_from_file of FILE_READ is


file stimulus: TEXT open read_mode is stim_file;


begin



-- read data and control information from a file

receive_data: process

variable l: line;
variable s: string(y'range);

begin

EOG <= '0';

-- wait for Reset to complete
wait until RST='1';
wait until RST='0';


while not endfile(stimulus) loop

-- read digital data from input file
readline(stimulus, l);
read(l, s);
-- Y <= to_std_logic_vector(s);

wait until CLK = '1';

end loop;

-- print("I@FILE_READ: reached end of "& stim_file);
EOG <= '1';

wait;

end process receive_data;



end read_from_file;
 
Reply With Quote
 
 
 
 
Simon Peacock
Guest
Posts: n/a
 
      04-10-2004
The Altera Simulator doesn't support file IO. Its quite basic in that I
don't believe you can give it a stimulus file either. All you can give it
is a waveform, all you can get is a waveform.

You might want to consider downloading the free Xilinx Simulator. It
doesn't know about LPM's but if you stick to VHDL code you get all the
features of a real VHDL simulator. And a simulation without timings on any
FPGA is the same.

Simon


"NEETU GARG" <> wrote in message
news: om...
> hello;
> i m trying to run this vhdl code for reading .cmd file...while i m
> trying to compile the code on the altera's max plusII software(student
> software),it is showing error
> File d:\maxw\code\93vhdllib\std\textio.vhd:Unsupported feature
> error:access type is not supported
> in d drive, i m not installing that software, i have this software
> installed in c drive.....
> can somebody can help me in this matter....please reply soon.....
> -- -------------------------------------
> -- Reads std_logic values from a file
> -- -------------------------------------
>
> library ieee;
> use ieee.std_logic_1164.all;
> use ieee.std_logic_arith.all;
> use std.textio.all;
> use work.txt_util.all;
>
>
> entity FILE_READ is
> generic (
> stim_file: string := "sim.cmd"
> );
> port(
> CLK : in std_logic;
> RST : in std_logic;
> Y : out std_logic_vector(4 downto 0);
> EOG : out std_logic
> );
> end FILE_READ;
>
>
> -- I/O Dictionary
> --
> -- Inputs:
> --
> -- CLK: new cell needed
> -- RST: reset signal, wait with reading till reset seq
> complete
> --
> -- Outputs:
> --
> -- Y: Output vector
> -- EOG: End Of Generation, all lines have been read from
> the file
> --
>
>
> architecture read_from_file of FILE_READ is
>
>
> file stimulus: TEXT open read_mode is stim_file;
>
>
> begin
>
>
>
> -- read data and control information from a file
>
> receive_data: process
>
> variable l: line;
> variable s: string(y'range);
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Window Integrated Authentication - Supported/Unsupported browsers Lee ASP .Net 1 12-02-2008 08:00 PM
Windows Integrated Authentication - Supported/Unsupported browsers Lee ASP .Net 0 11-28-2008 05:27 PM
a unsupported feature error problem for help ariesxyg@yahoo.com.cn VHDL 2 03-30-2006 06:43 PM
Mac Move feature not supported (6509 with dual sup 1 and IOS 12.1) Dustin Cisco 15 10-20-2005 08:12 PM
Unsupported Feature Error: non-locally-static attributes names are not supported jesse_j VHDL 2 12-12-2004 08:53 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57