Skip to content

Instantly share code, notes, and snippets.

View taichi-ishitani's full-sized avatar
:octocat:

Taichi Ishitani taichi-ishitani

:octocat:
View GitHub Profile
@taichi-ishitani
taichi-ishitani / run.sh
Last active May 16, 2024 20:45
DSim crash
#! /bin/bash
dvhcom sub.vhd
dvlcom top.sv
dsim -genimage image -top work.top
@taichi-ishitani
taichi-ishitani / qiita_bus_if.sv
Last active December 1, 2021 03:28
Advent Calendar 2021
interface qiita_bus_if
import qiita_bus_pkg::*;
#(
parameter qiita_bus_config BUS_CONFIG = '0
);
logic scmd_accept;
qiita_bus_command mcmd;
logic [BUS_CONFIG.id_width-1:0] mid;
logic [BUS_CONFIG.address_width-1:0] maddr;
logic [BUS_CONFIG.data_width-1:0] mdata;
@bowsersenior
bowsersenior / stooge_loader.rb
Created May 18, 2011 23:18
A demo of YAML anchors, references and nested values
require 'rubygems'
require 'yaml'
# A demonstration of YAML anchors, references and handling of nested values
# For more info, see:
# http://atechie.net/2009/07/merging-hashes-in-yaml-conf-files/
stooges = YAML::load( File.read('stooges.yml') )
# => {
# "default" => {