This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; -*- mode: emacs-lisp -*- | |
;; This file is loaded by Spacemacs at startup. | |
;; It must be stored in your home directory. | |
(defun dotspacemacs/layers () | |
"Layer configuration: | |
This function should only modify configuration layer settings." | |
(setq-default | |
;; Base distribution to use. This is a layer contained in the directory | |
;; `+distribution'. For now available distributions are `spacemacs-base' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ovde ispratiti uputstvo za instalaciju SystemC-a: | |
https://howto.tech.blog/2016/11/27/installing-systemc-2-3-1/ | |
Izbaciti environment varijable u prostor zavisno od lokacije instalacije SystemC-a: | |
export LD_LIBRARY_PATH="/usr/local/systemc-2.3.1/lib-linux64" | |
export SYSTEMC="/usr/local/systemc-2.3.1/" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 1. Add these into your .bashrc | |
alias colormake='~/colormake.sh' | |
alias make='colormake' | |
alias gcc='COLORMAKE_COMMAND=gcc colormake' | |
alias clang='COLORMAKE_COMMAND=clang colormake' | |
# 2. source ~/.bashrc | |
# https://github.com/renatosilva/colormake/blob/master/colormake.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1# Install ghdl tool using this command: | |
sudo dpkg --install ghdl_0.33-1jessie1_amd64.deb | |
First you need to find it and download it from here (there are other versions as well): | |
https://sourceforge.net/projects/ghdl-updates/files/Builds/ghdl-0.33/debian/ | |
Ubuntu 16.04 Fix: https://github.com/ghdl/ghdl/issues/166#issuecomment-482078983 | |
---------------- | |
Had to manually download and Install dependencies: | |
sudo dpkg -i gnat-4.8-base_4.8.2-8ubuntu3_amd64.deb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# call this like: | |
# ./sim.sh psds_v2 2_1 top_level_tb 1000ns wave.gtkw | |
# params: | |
# 1 - lesson dir | |
# 2 - problem folder, e.g 2_2 | |
# 3 - model to test | |
# 4 - time interval to simulate | |
# 5 - gtkw setup file |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# How to use this: | |
# | |
# Step 1. You need to export Keras model to .h5 file | |
# which includes network architecture: | |
# https://github.com/amir-abdi/keras_to_tensorflow | |
# You can do this by including (**) line below your model definition | |
# for example, in my case: | |
# inception_v3 = keras.applications.inception_v3.InceptionV3( | |
# include_top=True, |