Creating Node Connections

There are many ways to define node connections in Rapid HDL. Partly this is due to the way RapidHDL evolved. This topic provides some examples of the variety. As time permits, I would like to update this topic with better organization.

Node to Node Connection

                oXnor.InputNodes[0] = InputNodesA[iBit];

Node to Node Vector

            oAddressMux.InputNodes[0].Join(I_PC);

Net to Net

                        oReg.EnableNodes[0].Net.Connect(ndEnable.Net);

NodeVector to NodeVector

            oExternalSignalInterface.ReadAddressIn.Connection = ReadAddressIn;

            oRAM.I_ADDRESS.Join(oALU.O_A);

                    nvOut.ConnectNodeVector((NodeVector)Inputs[0]);

Connect to a constant

    RamOut.Join(0);

Connect to a null sink

                Utility.SinkExtraBits(this,RamStatus);

Gate Inferrence

            OutputFIFORead.Join((!oBusInput.Stall) & (!nvInputEmpty));

            SysBusy.Connection = Operators.NOT(this, stmControl.StateCurrent("IDLE"));

Subset of NodeVector

            nvOutputFull = InputStatusReg.Subset(this,1,1);

                oState.StateCurrentNodes.ConnectSubset(amCurrentState.OutputNodes, oState.Code, oState.Code);

Operators.cs





Last edited Sep 11, 2009 at 5:19 AM by allen248, version 1

Comments

No comments yet.