https://github.com/apsknight/pipeliner
A Program to detect and resolve data-dependency in an assembly program.
https://github.com/apsknight/pipeliner
assembly-language dependency-parser pipeline-processor
Last synced: 3 months ago
JSON representation
A Program to detect and resolve data-dependency in an assembly program.
- Host: GitHub
- URL: https://github.com/apsknight/pipeliner
- Owner: apsknight
- License: gpl-3.0
- Created: 2018-11-11T18:25:09.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-11-11T19:55:57.000Z (about 7 years ago)
- Last Synced: 2025-06-07T07:02:37.763Z (7 months ago)
- Topics: assembly-language, dependency-parser, pipeline-processor
- Language: C++
- Size: 74.2 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Pipeliner
>*[COA (CS3L002) Assignment](problem_statement.pdf) : A Program to detect and resolve data-dependency in an assembly program by explicitly inserting `NOP` instructions.*
[](https://travis-ci.org/apsknight/pipeliner)
[](https://asciinema.org/a/xg6MERA5Kkn2VNHUbq23UTI07)
## Getting Started
Following instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
### Prerequisites
The Program requires `g++` compiler with support for `C++11` for compilation.
### Installing
Clone Repository on your machine and `cd` into it
```
git clone https://github.com/apsknight/pipeliner.git && cd pipeliner
```
Build executable from [Makefile](./Makefile).
```
make
```
The `make` instruction with create an executable file with name `pipeliner` in the current directory.
## Usage
The executable program takes an input file as an command line arument. This input file contains the Assembly Program which need to be checked. An example Assembly Program: [program.asm](program.asm)
### Detect dependency and memory delays
```
./pipeliner program.asm
```
### Detect dependency and memory delays
Running above command with `-r` or `--resolve` flag will resolve depedency from program `program.asm` and create a file `output.txt` with new program.
```
./pipeliner -r program.asm
```
## Author
[Aman Pratap Singh](https://github.com/apsknight)
## License
[GNU GPV v3.0](LICENSE)