Skip to content

Instantly share code, notes, and snippets.

View aliemo's full-sized avatar
🎯
Focusing

Ali Mohammadpour aliemo

🎯
Focusing
View GitHub Profile
@aliemo
aliemo / README.md
Created December 16, 2023 20:46
FPGA or Micro Peripherals HOST Problems and Solutions

FPGA or Micro Serial Port Problems and Solutions

Serial Port Problems in Linux

Problem: ch34x converter like usb-to-uart or jtag or serial

command sudo dmesg showed this and tryied to load Screen Driver Keyboard ch34x 1-1.4:1.0: ch34x converter detected;

usb 1-1.4: ch34x converter now attached to ttyUSB0;    
input: BRLTTY 6.4 Linux Screen Driver Keyboard as /devices/virtual/input/input71; 
@aliemo
aliemo / README.md
Last active January 10, 2023 23:09
Create Launcher for Xilinx ISE on Linux (Ubuntu verified)

Xilinx ISE Launcher

  1. Create a file with name **XilinxISE.desktop**in ~/.local/share/applications/

  2. Due to the path on ISE installation fill it via bellow: (for example: /tools/Xilinx/14.7/)

#!/usr/bin/env xdg-open
[Desktop Entry]
Version=1.0
Type=Application
@aliemo
aliemo / sources.list
Created August 11, 2022 21:07
### Ubuntu Sources List
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://archive.ubuntu.com/ubuntu jammy main restricted
# deb-src http://br.archive.ubuntu.com/ubuntu/ jammy main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu jammy-updates main restricted
# deb-src http://br.archive.ubuntu.com/ubuntu/ jammy-updates main restricted
@aliemo
aliemo / install-modelsim.md
Last active October 27, 2022 10:32
Install Intel Modelsim on a 64-bit Ubuntu

Install Modelsim on a 64-bit (x) Ubuntu

wget http://download.altera.com/akdlm/software/acdsinst/13.1/162/ib_installers/ModelSimSetup-19.4.0.162.run
chmod +x ModelSimSetup-13.1.0.162.run

Install some dependencies

sudo dpkg --add-architecture i386
sudo apt update
@aliemo
aliemo / xilinx.ise.install.manual.md
Last active April 29, 2024 21:52
Xilinx ISE-14.7 Installation Manual on New Linux (Ubuntu, Fedora, ...

Xilinx ISE Installation Manual

How to install Xilinx ISE 14.7 on New Linux Distro (Ubuntu 22.04 LTS Example)

Xilinx ISE on UBUNTU 2022.4

Preinstallation Requarements

Install Essential Libraries (curses5 stdc++5 motif-dev fonts-75dpi fonts-100dpi)

sudo apt install \
 libncurses5 \
@aliemo
aliemo / deeplearning-env.yml
Created October 21, 2020 12:14
Conda Env For Deep Learning based on python 3,7
name: deepenv
channels:
- defaults
dependencies:
- _anaconda_depends=2020.02=py37_0
- _libgcc_mutex=0.1=main
- _pytorch_select=0.2=gpu_0
- _tflow_select=2.1.0=gpu
- absl-py=0.9.0=py37_0
- alabaster=0.7.12=py37_0
@aliemo
aliemo / prereq-ptlnx-buntu18.sh
Created October 21, 2020 11:47
Xilinx Petalinux Requirement Packages in Buntu 18 (PTLNX2019.x)
sudo apt install \
dos2unix \
iproute2 \
gawk make \
net-tools \
libncurses5-dev \
tftpd zlib1g:i386 \
libssl-dev \
flex bison \
libselinux1 \
@aliemo
aliemo / Makefile
Created October 21, 2020 10:33
Generic Makefile for SystemC Projects
SYSTEMC_VERSION:=2.3.3
GTKWAVE:= which gtkwave
TARGET := reference
CXX := g++
LD := $(CXX)
C_FLAGS := -I/usr/local/systemc-${SYSTEMC_VERSION}/include -O0 -g3 -Wall -c
LD_OPTIONS = -L/usr/local/systemc-2.3.3/lib-linux64 -o $(TARGET)
LIBS := -lsystemc
C_SOURCES = $(shell ls *.cc)
C_OBJS := $(patsubst %.cc, %.o, $(C_SOURCES))
@aliemo
aliemo / Packages-User-Global.sublime-settings
Created October 9, 2020 08:41
SublimeText3 User Configs (Material-Theme Based Configs)
{
// Disable automatic loading of last session
// https://forum.sublimetext.com/t/disable-automatic-loading-of-last-session/4132
"hot_exit": false,
"remember_open_files": false,
// Simple and Lovely Theme and Configs
"color_scheme": "Packages/Material Theme/schemes/Material-Theme-Darker.tmTheme",
"font_size": 14,
@aliemo
aliemo / Vivado.gitignore
Last active August 7, 2020 15:18
Xilinx Vivado Design Suite Original Gitignore File
#########################################################################################################
## This is an example .gitignore file for Vivado, please treat it as an example as
## it might not be complete. In addition, XAPP 1165 should be followed.
#########################################################################################################
## Includes project specefic ingores
#########################################################################################################
#########
#Exclude all
#########
*