Supported languages and limitations
riSim Studio user manual
Language
- riSim analyzes and simulates a subset of VHDL-2008, with its own simulator. No separate simulator is needed.
- The libraries
stdandieeeare built in;ieeealso has the Synopsys packages, such asstd_logic_arith. - riSim reports a construct that it doesn’t support as an error, such as “not yet supported: …”, and doesn’t run the testbench that uses it.
Among others, these aren’t supported yet:
- guarded blocks, guarded signals and guarded assignments, disconnection specifications and null transactions;
- linkage ports;
- components with generic types, subprograms, or packages;
- foreign subprograms.
- Verilog and SystemVerilog aren’t supported yet, and neither are designs that mix them with VHDL.
Files and security
Simulating a design runs it, with your user’s rights: with VHDL’s file declarations and FILE_OPEN, for example through TEXTIO, a design can read and write every file that your user account can, not only those within its project.
riSim ignores the 'FOREIGN attribute: a foreign subprogram or architecture runs its VHDL body, if it has one, and no native code.
Do not simulate source files you don’t trust.