Block Name: FC_N_Node
Code File Location: VisualSim.actor.arch.Buses.FibreChannel.FC_N_Port
Table of Content
Description Flow Diagram Datastructure Fields Block Dependency Parameters Ports
Description
FC_N_Node interfaces to the device on one side and the Fibre Chanel switch on the other side. This block handles end-to-end acknowledgement for Class 1 and 2. In addition, it handles the ack between the Ingress Port of the switch and this N_Port. Make sure to connect an DeviceInterface block on the device side to handle all the routing requirements.
Current version of Fibre Channel Library requires each N_Port ID should be given as 1,2,3....16. N_Port with ID 1 should be connected to Master Device/Slave Device with name "Device_1", N_Port with ID 2 should be connected to Master Device with name "Device_2" and so on.
Flow Diagram

Data Structure Fields
N_Port requires few mandatory fields included in the A_Source, A_Destination, A_Command, A_Message (initialized with Class1, Class2 or Class3), A_Response are the required fields. These fields must be added to the incoming datastructure, typically using a Processing block or Decision block. Example: input.A_Source = "Device_1" input.A_Destination = "Device_9" input.A_Command = "Read" /*"Write"*/ input.A_Message = "Class1" /*"Class2" or "Class3" */ input.A_Response = "false" input.A_Bytes = 15000 /* Bytes */
Block Dependency
FC_N_Node Block requires FC_Config, FC_Link, FC_Switch and DeviceInterface (optional) blocks instantiated in the model.
Parameter
Name
|
Type
|
Description
|
ID
|
Integer
|
Unique Identifier for the Node Port
|
Enable_Debug
|
Boolean
|
Enable or Disable Debug Messages
|
Architecture_Name
|
String Ex: “Architecture_1”
|
This is the name of the Architecture_Setup block that this Block is associated. The Architecture_Setup block maintains the routing table and statistics collection
|
Ports
Name
|
Type
|
Description
|
Device_In
|
General
|
Receives transaction from Device (Source/Destination)
|
Device_Out
|
General
|
Sends Transactions to Device (Source/Destination)
|
to_switch
|
General
|
Sends transaction to Fibre Channel Switch
|
frm_switch
|
General
|
Receives transactions from Switch
|
|