summaryrefslogtreecommitdiff
path: root/116/CH5/EX5.2/exa5_2.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /116/CH5/EX5.2/exa5_2.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '116/CH5/EX5.2/exa5_2.sce')
-rwxr-xr-x116/CH5/EX5.2/exa5_2.sce36
1 files changed, 36 insertions, 0 deletions
diff --git a/116/CH5/EX5.2/exa5_2.sce b/116/CH5/EX5.2/exa5_2.sce
new file mode 100755
index 000000000..065ab7a3b
--- /dev/null
+++ b/116/CH5/EX5.2/exa5_2.sce
@@ -0,0 +1,36 @@
+//Caption:Program to determine the implementaton complexity of the TS switch
+
+//Example 5.2
+
+//Page 253
+
+//Refer to figure 5.19 on page 252
+
+N=80//Number of links
+
+Nc=24//Number of control words
+
+Nb1=7//Number of bits per control word
+
+Nb2=5//Number of bits per control word
+
+disp('The number of crosspoints in the space stage is')
+
+Nx=N^2
+
+disp('The total number of memory bits for the space stage control store is')
+
+Nbx=N*Nc*Nb1
+
+disp('The total number of memory bits for the time stage is')
+
+Nbt=(N*Nc*8)+(N*Nc*Nb2)
+
+disp('Thus the implementation complexity is ')
+
+Cmplx=Nx+[(Nbx+Nbt)/100]
+
+//Result
+
+//Complexity is 6784 equivalent crosspoint.
+ \ No newline at end of file