protected types

I know this is not a '93 feature so it's probably on your list as you integrate newer VHDL features consider this a vote for supporting protected types. As it currently exists these are flagged as errors. I'm using them in some testbenches and functional models.

type cmd_fifo_type is protected
  procedure add(cmd : integer; time : integer; state : std_logic; parm : integer);
  impure function empty  return Boolean;
  impure function last   return cmd_element;
  impure function remove return cmd_element;
end protected cmd_fifo_type;

This is flagged with the error "No viable alternative at input 'protected'"

We'll get to VHDL 2008 later.

We'll get to VHDL 2008 later. Thanks for your vote for priority.

protected / impure / ..

I think protected was introduced in VHDL in 2002 version, nevertheless what's the status of support for 2002 / 2008?

Hi Luc, We have basic support

Hi Luc,
We have basic support for protected types in our internal code base. Expect this to be released in the coming month.
-- Philippe

protected

Hi Philippe,

That's good news!
As of now I need to go out of the Sigasi environment to use a very interesting library (RandomPkg and CoveragePkg) for testbenches support from SynthWorks.
Pls have a look at http://www.synthworks.com/downloads/index.htm to look at the details. It has some demo programs too, so it'll be easy to test if it's working correctly.

Post new comment

The content of this field is kept private and will not be shown publicly.
By submitting this form, you accept the Mollom privacy policy.