Giter VIP home page Giter VIP logo

f4pga-bitstream-viewer's Introduction

Bitstream Viewer

The purpose of this tool is to visualize the bits and their corresponding tags in a given bitstream.

This tool has two primary functions:

  1. Tile View: A grid of tiles will be generated to display the features in a bitstream. Each tile that is inhabited by features will be highlighted. By clicking on a highlighted tile, a pop-up will appear with the features within that tile and their corresponding bits. This is accomplished with Vue.js, a JavaScript framework.
  2. Frame View (Optional function): A grid of frames will be generated to display features in a bitstream. Each frame that contains bits associated with a feature used by the bitstream will be highlighted. By clicking on a highlighted frame, the page will be redirected to a grid of all the bits for that specific frame.

Building

make BITSTREAM=/path/to/bitstream.bit PART=part_name PRJXRAY=/path/to/prjxray

This will generate an html page for the "Tile View" located in the dist directory.

Limitations

Currently the viewer is able to process 7-series bitstreams only.

f4pga-bitstream-viewer's People

Contributors

benglines avatar kgugala avatar mithro avatar tmichalak avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

f4pga-bitstream-viewer's Issues

Fix duplicated bits output

Features with multiple bits are printed with duplicated first bit instead of correct one (next in feature bit list).

Bugged output:
image

Correct output:
image

Makefile is not be making passed

while I run Makefile at last step(command: make BITSTREAM=./lut.bit PART=xc7a35tcsg324-1 PRJXRAY=/workspace/home/bld/prjxray )

bash -c '
. venv/bin/activate ;
. nenv/bin/activate ;
NODE_ENV=development NODE_OPTIONS="--max_old_space_size=8192" vue build App.vue ;
'
Running npm run build App.vue
npm ERR! Missing script: "build"
npm ERR!
npm ERR! To see a list of scripts, run:
npm ERR! npm run
...

Has anyone else met the same question? pls ask for your help @mithro @tmichalak

Predefined Part Name in Makefile

Lines 40 and 41 of the make file:

PART = xc7a35tcsg324-1
#PART = xc7a50tfgg484-1

Perhaps it would be better to modify the Makefile in order to include the part name in the make command, just like the BITSTREAM and PRJXRAY paths. i.e.:

make BITSTREAM=/path/to/bitstream.bit PRJXRAY=/path/to/prjxray PART=xc7a35tcsg324-1

error Missing script: "build"

0 verbose cli [
0 verbose cli '/root/Desktop/project/f4pga-bitstream-viewer/nenv/bin/node',
0 verbose cli '/root/Desktop/project/f4pga-bitstream-viewer/nenv/bin/npm',
0 verbose cli 'run',
0 verbose cli 'build',
0 verbose cli 'App.vue'
0 verbose cli ]
1 info using [email protected]
2 info using [email protected]
3 timing npm:load:whichnode Completed in 0ms
4 timing config:load:defaults Completed in 1ms
5 timing config:load:file:/root/Desktop/project/f4pga-bitstream-viewer/nenv/lib/node_modules/npm/npmrc Completed in 0ms
6 timing config:load:builtin Completed in 1ms
7 timing config:load:cli Completed in 1ms
8 timing config:load:env Completed in 0ms
9 timing config:load:file:/root/Desktop/project/f4pga-bitstream-viewer/.npmrc Completed in 0ms
10 timing config:load:project Completed in 9ms
11 timing config:load:file:/root/.npmrc Completed in 0ms
12 timing config:load:user Completed in 0ms
13 timing config:load:file:/root/Desktop/project/f4pga-bitstream-viewer/nenv/etc/npmrc Completed in 0ms
14 timing config:load:global Completed in 0ms
15 timing config:load:validate Completed in 0ms
16 timing config:load:credentials Completed in 1ms
17 timing config:load:setEnvs Completed in 1ms
18 timing config:load Completed in 16ms
19 timing npm:load:configload Completed in 16ms
20 timing npm:load:setTitle Completed in 0ms
21 timing config:load:flatten Completed in 2ms
22 timing npm:load:display Completed in 3ms
23 verbose logfile /root/.npm/_logs/2022-02-28T07_48_22_153Z-debug-0.log
24 timing npm:load:logFile Completed in 4ms
25 timing npm:load:timers Completed in 0ms
26 timing npm:load:configScope Completed in 0ms
27 timing npm:load Completed in 23ms
28 silly logfile start cleaning logs, removing 2 files
29 timing command:run Completed in 6ms
30 verbose stack Error: Missing script: "build"
30 verbose stack
30 verbose stack To see a list of scripts, run:
30 verbose stack npm run
30 verbose stack at RunScript.run (/root/Desktop/project/f4pga-bitstream-viewer/nenv/lib/node_modules/npm/lib/commands/run-script.js:95:13)
30 verbose stack at async module.exports (/root/Desktop/project/f4pga-bitstream-viewer/nenv/lib/node_modules/npm/lib/cli.js:66:5)
31 verbose cwd /root/Desktop/project/f4pga-bitstream-viewer
32 verbose Linux 5.4.0-100-generic
33 verbose argv "/root/Desktop/project/f4pga-bitstream-viewer/nenv/bin/node" "/root/Desktop/project/f4pga-bitstream-viewer/nenv/bin/npm" "run" "build" "App.vue"
34 verbose node v17.6.0
35 verbose npm v8.5.1
36 error Missing script: "build"
36 error
36 error To see a list of scripts, run:
36 error npm run
37 verbose exit 1
38 timing npm Completed in 140ms
39 verbose code 1
40 error A complete log of this run can be found in:
40 error /root/.npm/_logs/2022-02-28T07_48_22_153Z-debug-0.log

Add license header to top of all code files

See https://opensource.google/docs/releasing/licenses/

We can either use;

Copyright (C) 2020  The SymbiFlow Authors.

Use of this source code is governed by a ISC-style
license that can be found in the LICENSE file or at
https://opensource.org/licenses/ISC

Or put the full license at the top;

Copyright (C) 2020  The SymbiFlow Authors.

Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.