Posts

OPENPICIDE (simulator for picoblaze) : beginners tutorial

WORKING WITH OPENPICIDE (Continuation of the tutorial which describes the setup of the software in ubuntu) How to open a new project 1. Project -> new project 2. In the window that pops up version -> fil as per requirements processor -> XIlinx picoblaze family Processor (tab) -> Picoblaze 3 (Note : Memory bank size = 1024 instruction. Rest is the default) compiler (tab) -> Entity name : prog_rom (Name of required output vhd/v file) VHDL template file : /location_of_kcpsm3/Assembler/rom_form.vhd Verilog template file : /location_of_kcpsm3/Assembler/rom_form.v sources -> if you have the assembly program ready put it here applicaiton -> editor options set as per user requirement NOTE IMPORTANT while writing the program 1. Certain syntaxes are different INPUT - IN OUTPUT - OUT RETURN - RET need to write a script to automate conversion. 2. "constants" syntax is different - yet to find out the new syntax (kindly let me kn...

Transition Fault Testing using pattern shifting - The sequential Pseudocode

Program - Transition fault testing using pattern shifting Serial version of the program is described here in detail This is the program i had written for testing delay transition faults. I am trying to parallelize this program. DELAY TESTING OBJECTIVE slow to raise and slow to fall patterns are to be tested. to test a slow to rise fault- apply a sa1 pattern (for a modified netlist) followed by a sa0 pattern (for unmodified netlist) to test a slow to fall fault - apply a sa0 pattern (for a modified netlist) followed by a sa1 pattern (for unmodified netlist)                      pattern 1   pattern 2  Slow to rise    sa1         sa0        Slow to fall    sa0         sa1    pattern 1 - patterns for modified netlist pattern 2 - patterns for unmodified netlist Testing for faults A. fault pattern ge...

Running a system level simulation of OpenSPARCT1 with ModelSIM

Running a system level simulation of OpenSPARCT1 with ModelSIM Simulation of the opensparc is very important if you are going to understand its inner details. System level Simulation steps are given in the Design and verification guide chapter 6.7. The flow is to compile the libraries requried for simulation in ModelSIM and let the simulation scripts provided by the sparc people take care of simulating the system. Two sets of libraries are to be compiled. One for the ISE and the other for the EDK in the same order. The system requirements are Requirements ModelSIM SE/PE v6.5 is required to simulate XPS - 10.1.03 is required- If you have xilinx 10.1 to update it to 10.1.03 1. open xps 2. help -> about 3. If version is 10.1 4. help -> xilinx update 5. if version is 10.1.03 then you are allset RAM > 1.5 GB Compiling the libraries for modelsim in ISE source xilinx env variables source modelsim env variables 1. open a new project in ISE 2. Choose the device and...

KCPSM Assembler and simulator for picoblaze

Hi :) (: I was implementing a code in kcpsm assembly language for the picoblaze mc. Every time i had to test it, I had to dump it on the FPGA and look for the desired output. I dint have the time to search for a kcpsm simulator then so had to manage with the poor debugging capabilities and long dumping latencies for completing the assignment. More over KCPSM assembler that comes with the package, runs only in a windows environment. so i had to use DOSEMU everytime to just compile the program. All this sucked big time. So i went in search of a simulator/assembler for linux and then there was OPENPICIDE Open Pic IDE is open and supports linux windows mac and is downright amazing. Here i have included the steps to install and run openpicide in an UBUNTU system. Simulation of Picoblaze assembly code There are two tools to simulate picoblaze assembly language 1. openPICIDE 2. picoasm OpenPICIDE Integrated assembler development environment (IDE). Provides the following component...

Parallelizing Transition fault testing algorithm

Hi, I am working towards parallelization of one of my own sequential program. The sequential program is used to generate test patterns for Delay testing. (Testing of the rise and fall delays in a circuit). It takes up a lot of time to run and is a massively parallel program. So parallelization is a good idea to achieve speed up. I gathered a few points on parallelization of the program from the book "Parallel programming for Multicore and cluster systems" by Thomas Rauber Gudula Runger, I present them here. Aim: To parallelize the transition fault testing program so that it runs on more than one processor Steps involved in parallelization 1. Decomposition of the computations : GOAL : of task decomposition is keeping all the processors busy at all times. a. Computations of the sequential algorithm are decomposed into tasks and dependencies between the tasks are determined.Tasks are the smallest units of parallelism. b. Task may involve accesses to shared address s...
My dad is an amazing poet. I am posting here a few of his Poems. Enjoy :) A sense silently pervades. of solace ? the sense permeates. of fulfillment ? the deep crevices of my heart is filled with a serene sensation. solitude ? achievement ? i wonder... words ebb as slight pink baubles from the silent silvery lake of my mind, to burst forth on the canvas of the terminal, to converse with you of something tangible to me. a reaching is ma...

Truth and Lie

Truth and Lie decisions decisions choices that defines our lives that defines our goals and our means choices that define you. what is good and what is bad nobody really knows what is right and what is wrong both the definitions are lost in the entangled webs of self righteousness and practicality. none of them exist. pretty pictures in the minds of individuals, a hallucination for the begging soul to make believe. there are choices then there is the truth and there is the lie. choose wisely between the truth and the lie choose wisely who you are.