Example #1
0
 public void SetType(IFIRType type)
 {
     if (type is GroundType ground && ground.IsTypeFullyKnown())
     {
         Type = ground;
     }
 }
Example #2
0
 public ScalarIO(FIRRTLNode node, string name, IFIRType type) : base(node, name)
 {
     if (type is GroundType ground && ground.IsTypeFullyKnown())
     {
         this.Type = ground;
     }
 }
Example #3
0
        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);
        }
Example #4
0
 public Output(FIRRTLNode node, string name, IFIRType type) : base(node, name, type)
 {
 }
Example #5
0
 public Input(FIRRTLNode node, IFIRType type) : this(node, null, type)
 {
 }
Example #6
0
 public FIRRTLPrimOP(IFIRType type, FirrtlNode defNode) : base(defNode)
 {
     this.Result = new Output(this, null, type);
 }
Example #7
0
 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);
 }