Skip to main content

Posts

Showing posts from June, 2008

Installing ns-3.37 and ns-3.35 in Ubuntu | Ubuntu 22.04 | NS3

Multiple Versions of ns3 in Ubuntu 22.04 In this post, we are going to install two versions of ns3 namely ns-3.35 and ns-3.37  My OS is : Ubuntu 22.04 LTS (Long Term Support) ns-3.35 uses waf and (./waf --run scratch/first)  ns-3.37 uses cmake  (./ns3 run scratch/first.cc) So we will install both the packages  Go through the video for complete instructions To start with  $ sudo apt update  $ sudo apt install build-essential autoconf automake libxmu-dev g++ python3 python3-dev pkg-config sqlite3 cmake python3-setuptools git qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools gir1.2-goocanvas-2.0 python3-gi python3-gi-cairo python3-pygraphviz gir1.2-gtk-3.0 ipython3 openmpi-bin openmpi-common openmpi-doc libopenmpi-dev autoconf cvs bzr unrar gsl-bin libgsl-dev libgslcblas0 wireshark tcpdump sqlite sqlite3 libsqlite3-dev  libxml2 libxml2-dev libc6-dev libc6-dev-i386 libclang-dev llvm-dev automake python3-pip libxml2 libxml2-dev libboost-all-dev  I have downloaded both the versions of ns3 fr

Processors in Embedded Systems

Processors in Embedded Systems A Processor in an Embedded Systems contains two essential parts * Control Unit - Which fetches the instruction from the system memory * Execution unit Arithmetic and Logic Unit is also the part of Execution Unit It performs Data Transfer and data conversion operations Types of processors General Purpose Processors (GPP) Microprocessor Microcontroller Digital Signal Processors (DSPs) Media Processors useful for sound and image processing applications Application Specific System Processors The processors which are relevant to a particular application like Digital TV HDTV decoders Set Top Boxes DVD Player Important considerations while selecting a processor Instruction Set Maximum bits in an operand like (8 or 16 or 32 bit) Clock frequency in MHz and processing speed in MIPS (Millions of Instructions per second) ability to solve the complex algorithms used in meeting the deadline for thei

Introduction to Embedded Systems

Definition : The Combination of Software and Hardware in which the software controls the entire hardware for a dedicated application. Components of an Embedded Systems * Power Supply and Reset circuit * Timer * Watch Dog Timer or WDT * Processor * Memory RAM Which stores the data (data Memory) ROM Which stores the Program (Program Memory) * Interrupt controllers * IO Ports * UART for Serial communication * Parallel ports Classification of Embedded Systems Small Scale Embedded Systems * Uses 8 or 16 bit microcontrollers * Software and harware complexity is very less * uses C as a programming language * The codes are cross compiled and stored in the system memory. * They sometimes may be battery operated. Example processors : Intel 8051, Microchip PIC16f8X, Motorola 68HC05,08 Medium Scale Embedded Systems * Uses 16 or 32 bit controllers or sometime uses DSPs(Digital Signal Processors) or RISC (Reduced Instruction Set Processors) * They have great complexity. * They use a Real Time Operat