Beispiel #1
0
        /// <summary>
        /// Constructs a new instance
        /// </summary>
        /// <param name="totalWidth">bit-width of operand</param>
        /// <param name="operation">selected operation</param>
        /// <param name="pipelineDepth">desired pipeline depth (i.e. computation latency)</param>
        public FloatNegAbs(int totalWidth, EOperation operation, int pipelineDepth)
        {
            TotalWidth    = totalWidth;
            Operation     = operation;
            PipelineDepth = pipelineDepth;

            _pipeIn = new SLVSignal(totalWidth);

            if (pipelineDepth > 0)
            {
                _pipeOut = new SLVSignal(totalWidth);
            }

            TASite = new TransactionSite(this);
        }
Beispiel #2
0
        /// <summary>
        /// Constructs a new instance
        /// </summary>
        /// <param name="totalWidth">bit-width of operand</param>
        /// <param name="operation">selected operation</param>
        /// <param name="pipelineDepth">desired pipeline depth (i.e. computation latency)</param>
        public FloatNegAbs(int totalWidth, EOperation operation, int pipelineDepth)
        {
            TotalWidth = totalWidth;
            Operation = operation;
            PipelineDepth = pipelineDepth;

            _pipeIn = new SLVSignal(totalWidth);

            if (pipelineDepth > 0)
            {
                _pipeOut = new SLVSignal(totalWidth);
            }

            TASite = new TransactionSite(this);
        }