Skip to content

Instantly share code, notes, and snippets.

An FPGA Apprentice

Carlos Delfino carlosdelfino

An FPGA Apprentice
View GitHub Profile
carlosdelfino /
Last active Jan 27, 2021
Um simples conversor de imagens para um txt de hexadecimal
from PIL import Image
import sys
import os
n = len(sys.argv)
if (n < 2) or (n > 3):
print("Use: python imagefile.ext memfile.hex .\n")
carlosdelfino / cloudSettings
Last active Jul 26, 2020
Configurações para Espaço de Trabalho no VSCode para o projeto IOVCC
View cloudSettings
carlosdelfino / CORDIC_Demo.asm
Last active Jul 22, 2020
Estudos de otimização trigonometria em C e ASM em especial Cortex-M e AVR
View CORDIC_Demo.asm
;CORDIC Degrees to SIN COS (As Used On Youtube
;20x2 OLED display
;Craig Webster (IXIBA)
;Melboune Australia
;Updated 18/2/2014
;Found this usefull?
;Bitcoin: 1LqDCrj8QAUjACnjRNEw8vq3T9p2R5k5RW
carlosdelfino / Goertzel.c
Created Jul 22, 2020
Estudos sobre Goertzel
View Goertzel.c
/* Goertzel Algorithm
#define PI 3.141592653589793
#include <stdio.h>
#include <math.h>
#define FLOATING float
carlosdelfino /
Created Jul 18, 2020 — forked from jbush001/
Things that Quartus flags as an error that Verilator does not

(Tested with Quartus 16 and Verilator 3.912)

  • Assign a value to an enumerated type without specifying width:

    typedef enum logic[3:0] {
       FOO = 0,
       BAR = 1
    } my_enum_t;
carlosdelfino /
Last active Jul 19, 2020
Estudando como criar uma CPU multicore com RISC-V, mas começando bem do zero.
-- Copyright (C) 1991-2013 Altera Corporation
-- Your use of Altera Corporation's design tools, logic functions
-- and other software and tools, and its AMPP partner logic
-- functions, and any output files from any of the foregoing
-- (including device programming or simulation files), and any
-- associated documentation or information are expressly subject
-- to the terms and conditions of the Altera Program License
-- Subscription Agreement, Altera MegaCore Function License
-- Agreement, or other applicable license agreement, including,
-- without limitation, that your use is for the sole purpose of
carlosdelfino /
Created Jul 15, 2020 — forked from Bluexin/
Setting up qtcreator with msys2 on windub
View lzd_lib.cpp
#include <stdlib.h>
#include <stdint.h>
#include <stdbool.h>
#include <string.h>
#include "parameters.h"
#include "lzd_lib.h"
static uint_fast8_t dicType = DIC_NUM;
static DicEntryT **dic;
View Average_Filter.h
* *
* Arquivo: Average_Filter.h *
* Descrição: Arquivo header de Average_Filter.C *
carlosdelfino /
Created Apr 12, 2020
Formas de manter GH-Pages com Git-SubTree
## Abaixo os comandos para manter o Github Pages atualizado considerando que está usando o GitBook
git checkout master && git pull # procure manter o branch master sempre atualizado
git subtree split --prefix _books -b gh-pages # create a local gh-pages branch containing the splitted output folder
git push -f origin gh-pages:gh-pages # force the push of the gh-pages branch to the remote gh-pages branch at origin