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
" Vim indent file | |
" Language: SystemVerilog | |
" Maintainer: kocha <kocha.lsifrontend@gmail.com> | |
" Last Change: 05-Feb-2017 by Bilal Wasim | |
" 2022 April: b:undo_indent added by Doug Kearns | |
" 03-Aug-2022 Improved indent | |
" Only load this indent file when no other was loaded. | |
if exists("b:did_indent") | |
finish |
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
module tb; | |
reg signed [4:0] s_a, s_b; | |
reg [4:0] us_a, us_b; | |
reg signed [9:0] s_mul; | |
reg [9:0] us_mul; | |
initial begin | |
s_a = -1; s_b = 10; | |
us_a = 'b11111; us_b = 'd10; |
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
$date | |
Thu Jul 4 21:47:09 2013 | |
$end | |
$version | |
SystemC AMS 1.0 --- 1.0BETA1 --- Jun 8 2012 06:40:50 | |
$end | |
$timescale |
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
--- a/configure | |
+++ configure | |
@@ -5637,37 +5637,38 @@ EOF | |
/* So define it here empty. Namespaces are extensible, so this is harmless. */ | |
namespace std {} | |
using namespace std; | |
-#include <string> | |
-#include <stdio.h> | |
-#include <strstream.h> | |
+#include <cstring> |
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
" Install:This file ~/.vim/after/syntax/verilog.vim | |
set foldmethod=expr | |
set foldexpr=MyFoldExpr(v:lnum) | |
function! MyFoldExpr(line) | |
let str = getline(a:line) | |
if str =~ '^\s*task\s' || str =~ '^\s*function\s' | |
return '>1' | |
elseif str =~ '^\s*endtask' || str =~ '^\s*endfunction' | |
return '<1' | |
else |
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
--- org/sim/Makefile 2012-03-02 22:31:34.046233486 +0900 | |
+++ modify/sim/Makefile 2012-03-12 23:41:46.189894233 +0900 | |
@@ -1,12 +1,14 @@ | |
AOP_HOME = ../ | |
CODE_KIND ?= "vifs" | |
+INCULDE_DIR = /home/kocha/tools/modelsim/11.1sp1/modelsim_ase/include | |
-all: work compile_aop compile_smp compile_vip compile_dut compile_integration create_stub sim | |
+all: work compile_aop compile_smp compile_vip compile_dut compile_integration compile_dpi create_stub sim | |
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
RTL=tb.v | |
run: work compile sim | |
work: | |
> vlib work | |
compile: | |
> vlog ${RTL} |
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
SYSTEMC_HOME = ### input SystemC install path ### | |
TARGET_ARCH = linux | |
SYSTEMC_INC_DIR = $(SYSTEMC_HOME)/include | |
SYSTEMC_LIB_DIR = $(SYSTEMC_HOME)/lib-$(TARGET_ARCH) | |
# LIBTOOL Setting | |
SHELL = /bin/bash | |
LIBTOOL_DIR = #### input libtool install path ### | |
LIBTOOL = $(SHELL) $(LIBTOOL_DIR)/libtool |