Skip to content

Instantly share code, notes, and snippets.

View iDoka's full-sized avatar
:octocat:
I'm working hard and soft.

Dmitry Murzinov iDoka

:octocat:
I'm working hard and soft.
View GitHub Profile
@iDoka
iDoka / vhd2vl.md
Created January 14, 2020 14:49
How to build vhd2vl on modern system (RHEL/CentOS 7)
  1. I need to convert a bunch of VHDL files to Verilog.
  2. Found tool http://doolittle.icarus.com/~larry/vhd2vl/
  3. wget http://doolittle.icarus.com/~larry/vhd2vl/vhd2vl-2.5.tar.gz
  4. tar xzf vhd2vl-2.5.tar.gz
  5. cd vhd2vl-2.5/src
  6. try make
  7. If bison & flex are uninstalled, you should run sudo yum install -y flex bison
  8. try make again
  9. If you get /usr/bin/ld: cannot find -lfl it case to hard way: fl mean reffer to library libfl.so but you canot search any mentions of this library:
  • yum search libfl doesnt work

Keybase proof

I hereby claim:

  • I am idoka on github.
  • I am idoka (https://keybase.io/idoka) on keybase.
  • I have a public key ASA4SA574SQcSQ64rZPo0j3Zi7ibog6hAueD2K-Ubdm8Bwo

To claim this, I am signing this object:

@iDoka
iDoka / GitHub Flavored Asciidoc (GFA).adoc
Created October 10, 2019 10:19 — forked from dcode/GitHub Flavored Asciidoc (GFA).adoc
Demo of some useful tips for using Asciidoc on GitHub

GitHub Flavored Asciidoc (GFA)

@iDoka
iDoka / .gitignore
Last active December 6, 2023 19:22
Vivado .gitignore
#########################################################################################
## Project : Collect of various scripts for working with EDA-tools (ASIC/FPGA/etc) ##
## Link : https://github.com/iDoka/eda-scripts ##
## Description: .gitignore ##
## Usage : just rename or add contain to .gitignore ##
## License : MIT ##
#########################################################################################
## log files
*.log
@iDoka
iDoka / scl.md
Created January 25, 2019 10:33
Lmutil error handling

You will receive the following error:

/lib64/ld-lsb-x86-64.so.3: bad ELF interpreter: No such file or directory

sudo yum -y install redhat-lsb

sudo yum reinstall --downloadonly --downloaddir=. redhat-lsb

@iDoka
iDoka / FPGA-urJTAG.md
Last active January 11, 2019 15:30
How to program FPGA by UrJTAG (on board AES-KU040)
cable ft2232 vid=0403 pid=6014
bsdl path /soft/Xilinx/Vivado/2018.1/data/parts/xilinx/kintexu/public/bsdl
detect
svf syn/out/keccakd.svf progress stop
@iDoka
iDoka / Universal-Radio-Hacker-onto-CentOS7.md
Last active October 1, 2018 12:48
Universal Radio Hacker install on CentOS 7

How to install amazing tool Universal Radio Hacker onto amazing distro CentOS 7

Intro

Dependency list:

  • python3
  • cython
  • numpy
@iDoka
iDoka / SegmentationFault.md
Last active October 1, 2018 11:51
Segmentation fault (core dumped): how to diagnose and fixing?

Here the good methodologies to find and fix segmentation fault errors

  1. Compile you program using the -g -O0 gcc-switch, or add options to string CFLAGS and/or CXXFLAGS in Makefile.
  2. Then use gdb (if need - pass command argument using --args option): gdb --args ./proxmark3 /dev/ttyACM0
  3. Use some gdb magic:
(gdb) run
<segfault happens here>
(gdb) backtrace
@iDoka
iDoka / install-pip3-on-centos7.md
Last active September 26, 2021 10:27 — forked from diegopacheco/pip3-centos-amazon-linux.md
How to install pip3 on CentOS 7 Linux?

Install pip3 on CentOS 7

CentOS 7 still have Python 2.7 as the default tool. EPEL repository comes up with Python 3. Here’s the way to setup Python 3 and pip3 on CentOS environment.

Type on terminal:

sudo yum install -y python34-setuptools
sudo easy_install-3.4 pip
@iDoka
iDoka / nba-vs-ba.v
Created September 3, 2018 16:46
always @* block with a single non-blocking assignment - good or bad? try it by yoursefl!
`timescale 1ns/1ps
module tb();
reg a;
nonblocking nba(.a(a));
blocking ba(.a(a));
initial begin
a = 1'b0;