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
#! /bin/bash | |
dvhcom sub.vhd | |
dvlcom top.sv | |
dsim -genimage image -top work.top |
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
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; |
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
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" => { |