Wednesday, 7 September 2016

How To Write a IEEE Paper in LaTeX? Part-3

Step-7: Insert text

\section{name of the section} - To create new section.
\subsection{name of the subsection} - To create subsection.
\subsubsection{name of the subsubsection} - To create subsubsection.

Step-8: Insert Images

\begin{figure}[!h]   %[!h] to place in exact location. To place figure in top use [!t] nd [!b] for bottom.
\centering                  
\includegraphics[width=2in,height=2in]{figure} %Figure should be in the same folder, where .txt file is stored. You can also use [scale= 1] instead if width and height.
\caption{Figure caption}
\label{fig_name} %Label to the figure. It is optional

\end{figure}

Step-9 Insert Tables

\begin{table}[!h]
\centering
\caption{Students name and age}
\label{table}
\centering

\begin{tabular}{|c|c|c|}  %%  Number of Columns
\hline                              %%  Horizontal Line
S.no & name & age \\    %% "&" Separates Columns
\hline
\hline
1  &  Krishna & 22 \\
\hline
2 & Madhu & 33 \\
\hline
3 & Deepak & 25 \\
\hline
\end{tabular}


\end{table}

Now if you RUN this, you can see
if you don't want the gap between heading and rest of the table. Simply remove one \hline
You can see 
If you want Bold text in headings. use {\bf text} as shown below
{\bf S.no} & {\bf Name} &{\bf Age } \\

With this you will complete your paper.
Multi row, multi column figures and tables will be discussed in next part.



Monday, 5 September 2016

How To Write a IEEE Paper in LaTeX? Part-2

Step-4:
After installing MiKTeX 2.9, open IEEE zip file
Choose bare-conf.tex  for conference or bare-jrnl.tex for journal.

  • Create one folder anywhere on your PC
  • Open bare-conf.tex 
  • Click on "File", Click on "Save as"and save in the folder you created.
  • Open that .txt file
  • To change Syntax of the code ==> Click on "Format", choose "Syntax Coloring" in that Choose "LaTex". 
  • To change Font of the code ==>  Click on "Format", choose "Font", I prefer to choose "Callibri" and size 12".

Step-5
  1. Click on "RUN" symbol .
  2. You will see this 
3. Click on "Change".



4. Choose "Packages shall be installed from the internet" and click on "Next".

5. Choose any country in that list, I prefer China HTTP or FTP. Then click on Finish and wait 1 min to install those packages.
6. You will see Demo paper by now.



Step-6: Install Packages
These packages are necessary to use images, equations, symbols and tables etc.
Below are some packages shown, we have to write before begin document as shown.
Syntax is "\usepackage{name}"


\usepackage{graphicx} - To use images
\usepackage{amsmath} - To use Math equations
\usepackage{amssymb} - To use Symbols
\usepackage{bbding} - To use Bullets
\usepackage{multirow} - To use multirows in Tables
\usepackage{balance} - To balance paper
and many more..

Repeat Step-5 to install these packages from internet.

Tuesday, 26 July 2016

How To Write a IEEE Paper in LaTeX? Part-1

STEP-1:
After completing your existing and proposed work. Start writing in A4 papers in the order shown below
1) Proposed work.
2) Literature/ Existing work.
3) Introduction and finally
4) Abstract and Conclusion.

STEP-2:
Start writing it in Microsoft Word document. It is not necessary but it will be helpful to convert into LaTeX. If you are able to write directly in LaTeX you can skip this step. My suggestion is to write.

STEP-3:
Downloads: 
1) Microsoft Office Visio    %% To Draw Figures, Flowcharts etc

After drawing figures, remember lines should be "thick" and choose font as "Bold".

To save images from Visio, follow these steps
  a) Ctrr+A and Ctrl+g    %%selects all and cuts the images exactly. 
  b) Click on "Save as"
  c) A new window will open, scroll down "save as type" and choose "Portable network graphics (PNG)".
      Give any name and click on "save".
  d) A new window will open, in that choose Resolution as "Printer" and Size as "Screen".

2) Math Type                       %% For Equations

After writing equations in Math Type, we just need to copy and paste in LaTex. For that the Math Type should be genuine version.

After downloading Math Type Trial version, we can make it into genuine by following these steps
  a) Open Math Type and Click on Help ==> Choose Unlock/Register Math Type
  b) A new window will open, in that
        write First name: tam
                 Last name: CORE
                Organisation: type any
                Serial number: MTWE691-011044-5222g
                Email: type any
c) Click Apply/Ok

To paste equations into LaTeX,
Click on Preferences  ==> Cut and Copy Preferences
                                   ==> Choose MathML or Tex in that LaTeX 2.09 and later
                                   ==> Click OK

3) MiKTeX 2.9
 http://miktex.org/2.9/setup Download Basic Version  %% LaTeX

4) IEEE Templates for Conference/Journal  https://www.ieee.org/conferences_events/conferences/publishing/templates.html
Under accessing the templates choose LaTeX.
We will get a zip folder which contains IEEE Templates.


Saturday, 30 April 2016

Weight measurement of a 12 bit binary codeword using Verilog


The weight of a codeword implicates the number nonzero elements in a binary block.Weight measurement structure shown in above figure, counts number of 1's in a 12-bit binary codeword.
Verilog code for weight measurement of a 12 bit binary codeword is given below


//verilog code for weight measurement of a 12 bit binary input

//Full Adder
module fad(a,b,c,s,cout);
input a,b,c;
output s,cout;
assign s=a^b^c;
assign cout=(a&b)|(b&c)|(c&a);
endmodule

//Two-bit Adder
module twoad1(a,b,s,c);
input [1:0]a,b;
output [1:0]s,c;
assign s[0]=a[0]^b[0];
assign c[0]=a[0]&b[0];
assign s[1]=c[0]^a[1]^b[1];
assign c[1]=(a[1]&b[1])|(b[1]&c[0])|(c[0]&a[1]);
endmodule

//Three-bit Adder
module threead1(a,b,s,c);
input [2:0]a,b;
output [2:0]s,c;
assign s[0]=a[0]^b[0];
assign c[0]=a[0]&b[0];
assign s[1]=c[0]^a[1]^b[1];
assign c[1]=(a[1]&b[1])|(b[1]&c[0])|(c[0]&a[1]);
assign s[2]=c[1]^a[2]^b[2];
assign c[2]=(a[2]&b[2])|(b[2]&c[1])|(c[1]&a[2]);
endmodule

//Weight Measurement
module wt1(s,x);
input [11:0]s;
output [3:0]x;
wire s0,s1,s2,s3,c0,c1,c2,c3;
wire [1:0]d,e,f,g,s4,s5,c4,c5;
wire [2:0]h,i,s6,c6;

fad a1(s[11],s[10],s[9],s3,c3);
fad a2(s[8],s[7],s[6],s2,c2);
fad a3(s[5],s[4],s[3],s1,c1);
fad a4(s[2],s[1],s[0],s0,c0);

assign d={c3,s3};
assign e={c2,s2};
assign f={c1,s1};
assign g={c0,s0};

twoad1 a5(d,e,s4[1:0],c4[1:0]);
twoad1 a6(f,g,s5[1:0],c5[1:0]);

assign h={c4[1],s4[1:0]};
assign i={c5[1],s5[1:0]};

threead1 a7(h,i,s6[2:0],c6[2:0]);

assign x={c6[2],s6};
endmodule

//Test bench
module wt1_tb();
reg [11:0]s;
wire [3:0]x;
wt1 dut(s,x);
initial begin
s=12'b1000_0000_0001;
#50 $stop;
end
endmodule

//This code counts the number of 1's in a 12 bit binary codeword.
For example input message is s = 1010_0010_0001;
then output will be x=0100 (4).

Tuesday, 8 September 2015

Increase your Internet speed

Did you know Microsoft reserves 20% of your available Bandwidth for itelf.

By unreserving this you can speed your internet connecion by 20%.

Follow this steps:

1) Click Start and then Run and type "gpedit.msc"
    without quotes

2) Go to Local computer policy>Computer configuration

3) Then Administrative templates> Qos packet scheduler

4) Find Limit reservable bandwidth and double click on it.

5) It will show as not configured but click on Explain tab. Click on Enable and set Reservable Bandwidth to 0.

6) Click on Apply.

That's it.

Source: Hacking secrets

Monday, 27 April 2015

Land Acquisition Bill-2015

The following are some of the major points in Land Acquisition Bill 2015:

The bill amends the Right to Fair Compensation and Transparency in Land Acquisition, Rehabilitation and Resettlement(LARR) Act,2013. Which was passed by UPA Govt.


The LARR Act outlines the process to be followed when a land is acquired for public purpose, Key changes made by the bill are:

1)Exemptionof five categories of land use from certain provisions:

     The bill creates five special  categories of land use: 1)defence, 2)rural Infrastructure, 3)affordable housing, 4)industrial corridors, and 5)infrastructure projects including Public Private Partnership(PPP) projects where Govt owns land.

2)The LARR Act,2013 requires that the consent of 80% of land owners is obtained for private projects and 70% of land owners be obtained for PPP projects.This bill exempts the five categories from this provisions.

In addition to this, the bill permits to exempt projects through a notification from the following provisions:
 

  •  Social Impact Assessment : The LARR Act,2013 says that it should be conducted to know         the affected families and calculate the social impact.
  • Certain restrictions such as irrigated multi cropped land cannot be acquired beyond some limit specified by Govt.

3)Return of unutilised land: The LARR Act,2013 says that the land should be returned to the orginal owners if it is unutilised for five years. This bill states that return of unutilised land will be:five years or more depends upon the agreement before setting up the project.

4)Time period calculation: This bill exempts the time period, any period during which proceedings of acquisitions in court such as stay orders,taking permission from a tribunal.

5)This bill removes the restrictions for private hospitals and private educational institutions which cannot acquire land by previous LARR Act,2013.

6)The bill states that if an offence is committed by a Govt official,he cannot be prosecuted without prior sanction from Govt.

7)The compensation would get four times the original value in rural areas.

8)One Govt job for a person in the family who has given land.

** 9)First Govt land next barren land then only land will be taken from farmers.




source: prsindia.org.in