Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
a4519e7a0This file is pinned to the selected release. Download the original to open it in your design tool.
using System.Diagnostics;
namespace Hast.VhdlBuilder.Representation.Declaration;
[DebuggerDisplay("{ToVhdl(VhdlGenerationOptions.Debug)}")]
public class Variable : TypedDataObject
{
public bool Shared { get; set; }
public Variable() => DataObjectKind = DataObjectKind.Variable;
public override string ToVhdl(IVhdlGenerationOptions vhdlGenerationOptions) =>
(Shared ? "shared " : string.Empty) + base.ToVhdl(vhdlGenerationOptions);
}