Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
using System.Diagnostics;
namespace Hast.VhdlBuilder.Representation.Expression;
/// <summary>
/// An array element access expression, i.e. array(index).
/// </summary>
[DebuggerDisplay("{ToVhdl(Hast.VhdlBuilder.Representation.VhdlGenerationOptions.Debug)}")]
public class ArrayElementAccess : ArrayAccessBase
{
public IVhdlElement IndexExpression { get; set; }
public override string ToVhdl(IVhdlGenerationOptions vhdlGenerationOptions) =>
ArrayReference.ToReference().ToVhdl(vhdlGenerationOptions) + "(" + IndexExpression.ToVhdl(vhdlGenerationOptions) + ")";
}
7f9864208This file is pinned to the selected release. Download the original to open it in your design tool.