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
// from https://github.com/mmitti/miAudioEvaluator | |
// MIT License | |
// Copyright (c)mmitti | |
#include "FFT.h" | |
#include <cmath> | |
#define _USE_MATH_DEFINES | |
#include <math.h> | |
#include <stdexcept> | |
#include <type_traits> |
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
# | |
# This file is the dnndk recipe. | |
# | |
SUMMARY = "DNNDK Libraries" | |
SECTION = "libs" | |
LICENSE = "MIT" | |
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" | |
SRC_URI = "file://bin/dexplorer \ |
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
################################################################ | |
# This is a generated script based on design: design_1 | |
# | |
# Though there are limitations about the generated script, | |
# the main purpose of this utility is to make learning | |
# IP Integrator Tcl commands easier. | |
################################################################ | |
namespace eval _tcl { |
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
`timescale 1ns / 1ps | |
////////////////////////////////////////////////////////////////////////////////// | |
// Company: | |
// Engineer: | |
// | |
// Create Date: 2019/01/29 22:33:37 | |
// Design Name: | |
// Module Name: MatMult | |
// Project Name: | |
// Target Devices: |
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
import ssl | |
import OpenSSL | |
import requests | |
from tqdm import tqdm | |
import threading | |
import concurrent.futures | |
import time | |
result_list = [] | |
lock = threading.Lock() |
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
// XOR Shift | |
// from Wikipedia https://ja.wikipedia.org/wiki/Xorshift | |
module rand( | |
input CLK, | |
input RST, | |
output reg [31:0] X | |
); | |
// XOR Shift | |
wire [31:0] y_1 = X ^ ({X, 13'd0}); | |
wire [31:0] y_2 = y_1 ^ y_1[31:17]; |
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
import re | |
from pyparsing import Word, ParseException, Literal, CaselessLiteral \ | |
, Combine, Optional, nums, Or, Forward, ZeroOrMore, StringEnd, oneOf, Group, ParseResults | |
import math | |
class CaluculatorException(Exception): | |
def __init__(self, str): | |
Exception.__init__(self, str) | |
class CaluculationSyntaxError(CaluculatorException): | |
def __init__(self, str): |