public void SetType(IFIRType type) { if (type is GroundType ground && ground.IsTypeFullyKnown()) { Type = ground; } }
public ScalarIO(FIRRTLNode node, string name, IFIRType type) : base(node, name) { if (type is GroundType ground && ground.IsTypeFullyKnown()) { this.Type = ground; } }
public MonoArgMonoResPrimOp(string opName, Output aIn, IFIRType outType, FirrtlNode defNode) : base(outType, defNode) { this.OpName = opName; this.A = new Input(this, aIn.Type); aIn.ConnectToInput(A); }
public Output(FIRRTLNode node, string name, IFIRType type) : base(node, name, type) { }
public Input(FIRRTLNode node, IFIRType type) : this(node, null, type) { }
public FIRRTLPrimOP(IFIRType type, FirrtlNode defNode) : base(defNode) { this.Result = new Output(this, null, type); }
public ConstBitRange(string name, Output arg1, IFIRType outType, FirrtlNode defNode) : base(outType, defNode) { this.OpName = name; this.In = new Input(this, arg1.Type); arg1.ConnectToInput(In); }